daniel-jong / esp8266_p1meter

DSMR5 P1 meter to mqtt using esp8266
GNU General Public License v3.0
145 stars 54 forks source link

Thanks for the inspiration, i've made a version that ofloads the parsing to HomeAssistant #12

Closed DavyLandman closed 9 months ago

DavyLandman commented 2 years ago

Hi @daniel-jong and @fliphness,

Just wanted to thank you for the much simpler wiring setup and the hardware serial trick 👍🏼

Initially I was using HomeAssistent directly connected to the p1 port and I didn't want to mess to much with this system. So instead of publishing on MQTT (which is nice setup!) I've made a very simple serial-to-tcp server on the esp8266.

The code is here: https://github.com/DavyLandman/p1-esp8266/blob/main/src/main.cpp and roughly allows you to point the HomeAssistent to the IP and port 23 of the esp8266, and home assistent will take care of parsing the output of the P1 port.

Anyway, thanks for the cool work, just want to drop this alternative idea here.

Regards, Davy