Odd MQTT values intermittently
I use MQTT to monitor my electricity and gas from Glowmarkt, ingesting it into home assistant:
value_json['elecMtr']['0702']['00']['00']|int(base=16) * value_json['elecMtr']['0702']['03']['01']|int(base=16) / value_json['elecMtr']['0702']['03']['02']|int(base=16)
(meter value times multiplier, divided by divisor - in each case converted from the payload hex)
This nomally works fine - however on occasion, maybe once or twice a day, my gas reading (which should be ~60000 and rising slowly) drops to ~14000 for one or two readings, before returning to normal.
This causes havoc with my stats - any idea what might be causing it before I try to filter it out?