I've built a P1 Smart Meter gateway, using an ESP8266 with ESP Easy. It seems to work well, as I can see neatly formatted telegrams when I connect in serial. Also when I connect the device in the Domoticz, it will work well for some time, sending the Power output, Voltage and Gas usage.
However, after some time (usually a few hours), Domoticz will stop receiving the data correctly. In the log I keep getting these errors:
Code: Select all
P1 Smart Meter hardware (4) thread seems to have ended unexpectedly
When I go to 'Setup', 'Hardware' and update the P1 Smart Meter settings (without changing any setting) Domoticz connects to the ESP again, and it will work for a few hours once again. I've tried using different rate limits, but this doesn't seem to help.
What could be the problem? Can I see some more information in the logs why the the P1 Smart Meter thread crashes? Does it receive malformed data or something; is it possible to see the actual data that Domoticz received from the ESP?
P.S. I'm running Domoticz version 3.8153 on my Synology NAS.