Skip to content

Reads serial data from smart meter, and post it to MQTT topic

Notifications You must be signed in to change notification settings

dvherk/esp8266_P1_MQTT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp8266_P1_MQTT

Reads serial data from smart meter, and post it to MQTT topic

Copied from https://github.com/neographikal/P1-Meter-ESP8266-MQTT

use https://github.com/knolleary/pubsubclient

adjust MQTT_MAX_PACKET_SIZE to 512 in pubsubclient.h

I changed the softserial to hardware serial Overview

Connector pinout. I used pin 2,3 and 5. On a 4 pin connector this is 1,2 and 3 offcourse ;-) Overview

This schema will get you started: Overview

I did not use the connector on the right, this is used for a oled screen. I did plan to use the LED, but it isn't implemented in code right now.

Result in MQTT lens: MQTTLens

BOM

T1 - BC547

R1, R2 - 1K ohm

R3 - 2.2K ohm

R4 - 470 ohm

About

Reads serial data from smart meter, and post it to MQTT topic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%