Skip to content

sandervandegeijn/P1-Meter-ESP8266-MQTT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

P1-Meter-ESP8266

Software for the ESP8266 that sends P1 smart meter data to to MQTT on a configurable topic with json. Easy to consume with Pimatic, Telegraf or other software that supports MQTT. I use a nodemcu for this sketch.

Installation instrucions

Connection of the P1 meter to the ESP8266

You need to connect the smart meter with a RJ12 connector. This is the pinout to use RJ11 P1 connetor

Connect GND->GND on ESP, RTS->3.3V on ESP and RxD->any digital pin on ESP with a 10k ohm pull up resistor placed between the RTS/3.3v connection and the data connection. In this sketch I use D5 for the serial communication with the smartmeter.

About

Software for the ESP8266 that sends P1 smart meter data to MQTT (without CRC checking)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%