Ok looking at for example these lines in your debug logs:
- Code: Select all
Z-Wave received "Whole House - Meter Total" power load to 1171.266 W
Z-Wave Watcher Debug Raw command received (Node 40): 01 14 00 04 08 28 0E 32 02 21 74 00 11 DF 42 00 00 8C 69 02 58 97
Z-Wave Watcher Debug Raw command received (Node 40): 01 14 00 04 00 28 0E 32 02 21 74 00 11 DF 42 00 00 8C 69 02 58 9F
- Code: Select all
Z-Wave received "Whole House - Meter Total" power load to 3536.629 W
Z-Wave Watcher Debug Raw command received (Node 40): 01 14 00 04 08 28 0E 32 02 21 74 00 35 F6 F5 00 00 89 B1 01 ED 46
Z-Wave Watcher Debug Raw command received (Node 40): 01 14 00 04 00 28 0E 32 02 21 74 00 35 F6 F5 00 00 89 B1 01 ED 4E
The sequences of "74 00 11 DF 42" and "74 00 35 F6 F5 00" are where the value of the load comes in. If I have understood it correctly the "74 00" packet indicates that the numbers that follows is the power load.
"64 00" would indicate energy number. I am not 100% sure of this but when I was digging into my DSB28-logs for other reasons that was the pattern I saw.
So after "74 00" you get the actual power load number which in your case above is "11 DF 42" which is 1171266 in decimal form which corresponds to the 1171..266W reading you see in clear text.
The value "35 F6 F5" on the second log output equals to 3536629 that corresponds to the 3536.629W reading you see.
Ok, so for positive load on
clamp 1 in the example below we see the "74 00" sequence followed by "00 89 22" which translates into 35106 (i.e. 35.106W). All good so far.
- Code: Select all
Z-Wave received "Whole House - 35 - Clamp 1" power load to 35.106 W
Z-Wave Watcher Debug Raw command received (Node 40 Endpoint 1): 01 0E 00 04 08 28 08 32 02 21 74 00 00 89 22 FF
Z-Wave Watcher Debug Raw command received (Node 40): 01 12 00 04 08 28 0C 60 0D 01 00 32 02 21 74 00 00 89 22 67
Z-Wave Watcher Debug Raw command received (Node 40 Endpoint 1): 01 0E 00 04 00 28 08 32 02 21 74 00 00 89 22 FF
Z-Wave Watcher Debug Raw command received (Node 40): 01 12 00 04 00 28 0C 60 0D 01 00 32 02 21 74 00 00 89 22 6F
BUT, for NEGATIVE load on
clamp 1 in the example below we see the sequence now is "74 80" instead of "74 00" which I think indicates that the number that follows is a negative number and should therefore be treated differently. "17 F3 6C" equals to 1569644 in decimal which would indicate a negative load of -1569.644W for clamp 1. Does this sound more correct?
- Code: Select all
Z-Wave received "Whole House - 35 - Clamp 1" power load to -2145914.004 W
Z-Wave Error received "Whole House - 35 - Clamp 1" power load value out-of-bounds -2145914.004 W (ignored)
Z-Wave Watcher Debug Raw command received (Node 40 Endpoint 1): 01 0E 00 04 08 28 08 32 02 21 74 80 17 F3 6C FF
Z-Wave Watcher Debug Raw command received (Node 40): 01 12 00 04 08 28 0C 60 0D 01 00 32 02 21 74 80 17 F3 6C C4
I am wondering if Indigo does the calculation wrong since if you take the squence "80 17 F3 6C" and convert it to decimal you get 2149053292 which would be 2149053.292W. That is not exactly the same number as Indigo is showing but quite close.
Could it be that Indigo is parsing the secuence "74 00" and "74 80" erroneously and using the "00" and "80" as a value to be included in the load number while it actually is an indicator for either positive number follows or a negative number follows?
Looking at the negative values for clamp 2 we see "06 1E EF" after "7480" which then equals to -401.135W and for clamp 3 we see "17 E4 9A" which would be -1565.850W.
The total would then be (-1569.644) + (-401.135) + (-1575.850) = -3536.629W which is a little bit lower than your expected value?