A statusupdate about the two Eastron SDM120's in a bus along with Wemos board and ESPeasy.
This afternoon I found some time to configure one SDM120 with ID 2 and connect them together to the Wemos. All close together on DIN-rail with a DIN-rail 5V PSU.
And it works as expected.
No errors in the checksum and all values are there!
Next step was to build the rules to upload all values to Domoticz.
Code: Select all
On SDM120M_L2#All Do // Receives 4 arguments, 1st one is already sent to the controller, so can be ignored
Publish,domoticz/in,'{"command":"udevice","idx":2454,"nvalue":0,"svalue":"%eventvalue2%"}' // Current L2
Publish,domoticz/in,'{"command":"udevice","idx":2457,"nvalue":0,"svalue":"%eventvalue3%"}' //Power L2
// Publish,domoticz/in,'{"command":"udevice","idx":2289,"nvalue":0,"svalue":"[var#5]"}' //Total Active Power
Endon
On SDM120M_L3#All Do // Receives 4 arguments, 1st one is already sent to the controller, so can be ignored
Publish,domoticz/in,'{"command":"udevice","idx":2455,"nvalue":0,"svalue":"%eventvalue2%"}' // Current L3
Publish,domoticz/in,'{"command":"udevice","idx":2456,"nvalue":0,"svalue":"%eventvalue3%""}' //Power L3
// Publish,domoticz/in,'{"command":"udevice","idx":2285,"nvalue":0,"svalue":"%eventvalue4%"}' //Total Amps van 2 fases
Endon
Glad to see it works right away!

Thanks a lot Gijs!!