Plugwise-2-py
Plugwise-2-py copied to clipboard
Idle plug reports negative power use
I have a Circle+ plug which occasionally reports negative power:
{"typ":"pwpower","ts":1625988700,"mac":"000D6F0002512345","power":0.00}
{"typ":"pwpower","ts":1625988710,"mac":"000D6F0002512345","power":0.00}
{"typ":"pwpower","ts":1625988720,"mac":"000D6F0002512345","power":-0.10}
{"typ":"pwpower","ts":1625988730,"mac":"000D6F0002512345","power":0.00}
There must be a rounding/subtraction error somewhere as this kitchen appliance is surely not generating power.
Proposal: Perhaps a floor of 0 can be set for plugs not configured as 'Production'
It seems the energy topic does not have this issue, even when reporting for the same time:
plugwise2py/state/power/000D6F0002123456 {"typ":"pwpower","ts":1626003660,"mac":"000D6F000123456","power":-0.10}
plugwise2py/state/energy/000D6F0002123456 {"typ":"pwenergy","ts":1626003660,"mac":"000D6F0002123456","power":0.0000,"energy":0.0000,"cum_energy":7468.6859,"interval":60}