[<<][thermostat][>>][..]
Wed Jan 31 18:23:04 EST 2018

temper calibration

On 7-port with switches.  Ports are left-to-right order


62:
root@zoo:/i/tom/git/temper-python# temper-poll -p
Found 7 devices
Device #0 (bus 1 - port 9.1.4.4): 18.7°C 65.6°F
Device #1 (bus 1 - port 9.1.4.3): 17.7°C 63.8°F
Device #2 (bus 1 - port 9.1.4.2): 19.1°C 66.3°F
Device #3 (bus 1 - port 9.1.4.1): 18.8°C 65.9°F
Device #4 (bus 1 - port 9.1.3): 20.4°C 68.7°F
Device #5 (bus 1 - port 9.1.2): 18.3°C 65.0°F
Device #6 (bus 1 - port 9.1.1): 20.7°C 69.2°F

I did a couple.  Going to take that one for now:


59:
root@zoo:/i/tom/git/temper-python# temper-poll
Found 7 devices
Device #0: 17.6°C 63.6°F
Device #1: 16.7°C 62.0°F
Device #2: 17.8°C 64.1°F
Device #3: 16.8°C 62.2°F
Device #4: 19.1°C 66.3°F
Device #5: 17.2°C 62.9°F
Device #6: 19.8°C 67.6°F

56:
root@zoo:~# temper-poll
Found 6 devices
Device #0: 15.6°C 60.1°F
Device #1: 14.8°C 58.7°F
Device #2: 16.2°C 61.2°F
Device #3: 15.9°C 60.6°F
Device #4: 17.1°C 62.8°F
Device #5: 14.8°C 58.5°F

56:
root@zoo:~# temper-poll
Found 6 devices
Device #0: 15.4°C 59.8°F
Device #1: 14.4°C 58.0°F
Device #2: 16.0°C 60.8°F
Device #3: 15.6°C 60.1°F
Device #4: 17.1°C 62.7°F
Device #5: 14.5°C 58.1°F

57:
root@zoo:~# temper-poll
Found 7 devices
Device #0: 16.2°C 61.2°F
Device #1: 15.3°C 59.6°F
Device #2: 16.7°C 62.0°F
Device #3: 16.2°C 61.2°F
Device #4: 17.7°C 63.8°F
Device #5: 15.2°C 59.5°F
Device #6: 16.7°C 62.0°F

%% {RefHoneyWell, Temper1To7}
[{62, [65.6, 63.8, 66.3, 65.9, 68.7, 65.0, 69.2]},
 {59, [63.6, 62.0, 64.1, 62.2, 66.3, 62.9, 67.6]},
 {56, [60.1, 58.7, 61.2, 60.6, 62.8, 58.5]},
 {56, [59.8, 58.0, 60.8, 60.1, 62.7, 58.1]}]

C=
[{62, [65.6, 63.8, 66.3, 65.9, 68.7, 65.0]},
 {59, [63.6, 62.0, 64.1, 62.2, 66.3, 62.9]},
 {56, [60.1, 58.7, 61.2, 60.6, 62.8, 58.5]},
 {56, [59.8, 58.0, 60.8, 60.1, 62.7, 58.1]}].

(gwtest_tom@panda.i)9> [[round(10*(T-T0)) || T <- Ts] || {_T0,[T0|_]=Ts} <- C].
[[0,-18,7,3,31,-6],
 [0,-16,5,-14,27,-7],
 [0,-14,11,5,27,-16],
 [0,-18,10,3,29,-17]]

(gwtest_tom@panda.i)10> [[round(10*(T-T0)) || T <- Ts] || {T0,Ts} <- C].
[[36,18,43,39,67,30],
 [46,30,51,32,73,39],
 [41,27,52,46,68,25],
 [38,20,48,41,67,21]]

What's a good way to compute this?  The reference is very low
resolution, so average it out.



[Reply][About]
[<<][thermostat][>>][..]