How to get a cheap smart meter with real-time power consumption?

Has someone tested the two esp8266 programms? The ones from @martiniman and @merlok ?

Which one is “better” or what is the difference between them? Or do they both just the same?

I will install a sdm630 power meter at my parents house. I have a stable vpn connection from my home to my parents. My parents don´t have any server hardware. So i want to send the data from the powermeter to my house and integrate this into my openhab.

Then i will make a new minimal sitemap with only their powermeter and so they can see their power consumption.

Will this work?

mine works)

Is wemos d1 mini non-pro working too (only 4mb) ? Or only pro version with 16mb?

@martiniman i saw your code but your mqtt code doesnt had username and password only ssid, password and ip . how i can to connect your code of my broker mqtt if it doesnt had username and password?

why do I return the value -9999.99 randomly ?