mruettgers / SMLReader

ESP8266 based smart meter (SML) to MQTT gateway
GNU General Public License v3.0
289 stars 67 forks source link

Lolin D1 mini pro crashes at first package #42

Closed PaddyCube closed 2 years ago

PaddyCube commented 2 years ago

Hi there, I came across this repo today and couldn't wait to build. I used a Lolin D1 Mini Pro and a NPN photo Transistor I had laying around. Hooked everything up with 1k pullup as shown here on a breadboard

Flashing and setup went smooth, I see mqtt welcome messages.

But as soon as I place it in Front of my smartmeter, LED starts flashing when first package arrives. But D1 instantly turns off, even power LED turns off. I have to detach it from power to get it back running.

Any idea what causes the crash?

PaddyCube commented 2 years ago

Oh my fault, it works absolutely flawlessly. During boot and for the first couple of seconds, the blue LED of the board continuously lights up. With the first package arrived, it flashes and turn off. I double checked it with serial console and see all data coming.

So in the end, I thought the blue LED is power indicator which isn't true.