i have a Kwh meter SDM120 i would like to add to Mango.
also found some code which might be helpfull for someone how needs it.
the rs485-modbus of the sdm120 is connected via rs485-usb to my Mango server.
under datasource i can add ( /dev/ttyUSB0 2400 8N1 ) and i can scan nodes and it will find 1 node.
Then i have to enter some data i cant find. i cant figure out how things are working with Hex, registers, offset etc.
should be simple protocol. but i need a hint in the right direction ( good tutorial about offsets, bits, Hex and stuff )
Readup for starters like me,
it appeared that , the settings that worked for me where taking the register address minus x_0001 : ( so for Total Kwh. 30343 minus 30001 = offset address is 342 )