P1-Meter-ESP8266/README.md

24 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2021-02-04 12:41:51 +01:00
2016-02-15 13:16:40 +01:00
# P1-Meter-ESP8266
2021-02-04 12:41:51 +01:00
## Original code by [jantenhove on GitHub](https://github.com/jantenhove/P1-Meter-ESP8266), I altered the code to add a screen and make it work with my own server. The original code works with Domoticz, be sure to check it out!
2016-01-28 19:31:51 +01:00
Software for the ESP2866 that sends P1 smart meter data to Domoticz (with CRC checking and OTA firmware updates)
### Installation instrucions
2021-02-04 12:41:51 +01:00
* Make sure that your ESP8266 can be flashed from the Arduino environnment: https://github.com/esp8266/Arduino
* Install the SoftSerial library from: https://github.com/plerup/espsoftwareserial
* Place all files from this repository in a directory. Open the .ino file.
* Adjust WIFI, Domoticz and debug settings at the top of the file
* Compile and flash
2016-02-02 17:14:43 +01:00
2016-02-15 13:16:40 +01:00
### Connection of the P1 meter to the ESP8266
2021-02-04 12:41:51 +01:00
2016-02-02 17:14:43 +01:00
You need to connect the smart meter with a RJ11 connector. This is the pinout to use
2021-02-04 12:41:51 +01:00
2016-02-02 17:14:43 +01:00
![RJ11 P1 connetor](http://gejanssen.com/howto/Slimme-meter-uitlezen/RJ11-pinout.png)
Connect GND->GND on ESP, RTS->3.3V on ESP and RxD->any digital pin on ESP. In this sketch I use D5