SDM630 procedure became obsolete
Not relevant anymore
Had SDM120-modbus working a couple of years ago, but hasn’t worked lately. Now I thought I’d try to get this up and running again.
Running Venus 3.0 and have now tested the files from Victron Meter Liberary, but can’t get it to work.
Can read all the values with modbus poll, so it looks like something is wrong with the python program, or I’m running an incompatible version of venus.
Getting these error messages:
*** starting dbus-modbus-client ***
Traceback (most recent call last):
File "/opt/victronenergy/dbus-modbus-client/dbus-modbus-client.py", line 24, in <module>
import Eastron_SDM120
File "/opt/victronenergy/dbus-modbus-client/Eastron_SDM120.py", line 6, in <module>
import Eastron_device as device
File "/opt/victronenergy/dbus-modbus-client/Eastron_device.py", line 54, in <module>
class CustomName(device.CustomName):
AttributeError: module 'device' has no attribute 'CustomName'
EDIT
Does not work on version 3.0. I have integrated so much extra into venusos that I hesitated to upgrade.
But after a lot of work I am now on V 3.54 and SDM120 works satisfactorily.
I use the latest firmware version and unfortunely I don’t have a SDM120 at the moment. Maybe I will order 1 this weekend on Aliexpress.
But for the SDM120 you have to add “import Eastron_SDM120” instead of “import Eastron_SDM630v2” to the file dbus-modbus-client.py
Hi Mark,
thanks for the great work you’ve put in. Do you have a link to this HE-11 TCP modbus device that you mention? I searched the entire internet for HE-11 TCP modbus, but I couldn’t find anything.