fliphess / esp8266_p1meter

dsmr 4.2 P1 meter to mqtt using esp8266 nodemcu
GNU General Public License v3.0
69 stars 114 forks source link

Telegram is always incomplete #12

Open jellevervloessem opened 3 years ago

jellevervloessem commented 3 years ago

Hi,

I have your esp8266_p1meter (the version from your development branch) running directly powered by the meter itself but I still have some issues:

So basically, I miss the first lines.

fliphess commented 3 years ago

Hey @jellevervloessem !

Can you give it a try with the version of @daniel-jong @ https://github.com/daniel-jong/esp8266_p1meter ?

The code in the development branch is a work-in-progress version based on his changes and focussed on newer meters, but as my meter does not support DSMR version 4.x it's hard for me to work on it and it came a bit to a halt.

(I think I should archive this repository and point people with newer meters to the repo mentioned or remove the development branch and point out in the readme my sketch in master only supports meters with DSMR version 2.0 and 2.2)

I can't be of much help as I'm not much into the inner workings anymore, I've written this sketch years ago when I had the time to spend half a week on a chair next to my meter, but it faded a lot and I'm not using it myself at the moment...

You could try to connect a serial to usb device to your meter and a laptop to see what the telegram is send and how often and adjust the code accordingly to your liking or try with a faster esp8266 if that's the showstopper (Try a newer D1 instead of a nodemcuv2)