If i install something to read out the power meter from my power company or i install a meter behind it with s0 outpoot, this will not be very accurate i think, because the s0-output is to less to make a very accurate power consumption meter.
I don´t want to only have one wall plug with power meter, i want to measure my whole house.
I can´t use the s0 output (optical output) of my energy meter given by the power company, because i have a photovoltaic on my roof, so i can´t measure the power consumption of my house while the sun is shining.
I only want to get real-time power consumption - so which power meter (smart meter) can i install for this?
Voltage -Volts
Current -Amps
Active power -Watts
Apparent power -VA
Reactive power -VAr
Power factor
Frequency -Hz
Import active energy -kWh
Export active energy kWh
Import reactive energy -kvarh
Export reactive energy -kvarh
Total active energy -kWh
Total reactive energy -Kvarh
You need connect 2 wires from SDM120 to TTL adapter and 4 wires to Wemos D1 mini.
TTL VCC to Wemos 3.3
TTL TXD to Wemos D6
TTL RXD to Wemos D7
TTL GND to Wemos GND
Hello martiniman,
I try to repeat the transfer of data according to your sketch.
Here’s my connection using Wemos d1 mini and adapter rs-485.
TTL VCC to Wemos 3.3
TTL TXD2 to Wemos D8 - 15
TTL RXD2 to Wemos D7 - 13
TTL RE and DE together D6 -12
TTL GND to Wemos GND
Hi. Some miss understanding, my sketch not using modbus.cfg and not using modbus binding, it post all data to mqtt topic.
But if you connect sdm120-220 directly to USB-rs485 converter - look here
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.
@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?