Node-RED – Voorbeeld – SDM120 modbus KWH meter uitlezen
Nieuw voorbeeld
![](http://domoticx.com/wp-content/uploads/2022/03/SDM120-example-domoticx-2022-01-911x1024.png)
![](http://domoticx.com/wp-content/uploads/2022/03/SDM120-example-domoticx-2022-02.png)
Op deze pagina vind je een voorbeeld hoe je een SDM120 modbus KWH meter met modbus nodes uitleest.
Bron: flows.nodered.org
This flow shows how to set up Eastron SDM120 single phase energy meter under Node-Red. For this I am using node-red-contrib-modbus for the serial modbus communication. There are a few fucntion nodes titled “Diagnostic message*” which is used for my diagnostic process. That process is not included in the flow and I will only post about it the future. So ignore them for the time being, or just implement your own logic for those sections.
I have also posted a relatively long video on setting up the energy meter, changing the modbus settings and detailed explanation how the flow works: https://youtu.be/yBtqKSWDn1Q
![](http://domoticx.com/wp-content/uploads/2018/05/node-red-sd120-kwh-modbus-flow.png)