-
Notifications
You must be signed in to change notification settings - Fork 51
Energy consumption (0xD007) reports bizarre results #106
Description
I'm trying to track energy consumption on my refrigerator using the gehome-appliance-data command; I'm seeing the following debug output:
2026-03-12 19:30:18,524 DEBUG MAC:'0200006E6C9D', erd_code:'0xD007', value: '00000037', decoded_value: 'b'\x00\x00\x007''
which corresponds to the following response in the appliance dict:
{'erd': '0xD007', 'value': '00000037', 'time': '2026-03-13T02:28:12.469Z'}
However, slightly earlier, I have
2026-03-12 19:27:18,750 DEBUG MAC:'0200006E6C9D', erd_code:'0xD007', value: '00000039', decoded_value: 'b'\x00\x00\x009''
which corresponds to
{'erd': '0xD007', 'value': '00000039', 'time': '2026-03-13T01:28:06.655Z'}
note that the value has increased, but the timestamp has decreased.
This is apparently meant to reflect the cumulative energy, persisting across power cycles, but this value doesn't make a whole lot of sense for a 10 month old refrigerator. Is there a way to figure out if we need to do anything to subscribe to updates there?