You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not a Python developer, but obviously with the update at Venus OS there is an attribute "count" expected, which is missing at this overriding part of Reg_u64b, so I always got
File "/opt/victronenergy/dbus-modbus-client/Kostal_SmartEnergyMeter.py", line 46, in device_init
Reg_u32b(0x001A, '/Ac/Frequency', 1000, '%.1f Hz'),
File "/opt/victronenergy/dbus-modbus-client/Kostal_SmartEnergyMeter.py", line 46, in device_init
Reg_u32b(0x001A, '/Ac/Frequency', 1000, '%.1f Hz'),
File "/opt/victronenergy/dbus-modbus-client/Kostal_SmartEnergyMeter.py", line 13, in __init__
def __init__(self, base, *args, scale=1, **kwargs):
File "/opt/victronenergy/dbus-modbus-client/register.py", line 59, in __init__
super().__init__(base, self.count, name, text, write, **kwargs)
AttributeError: 'Reg_u64b' object has no attribute 'count'
There seems to be an issue with the class Reg_u64b.
as christoph pointed out in #7 commenting out the whole class seem to help:
I had similar problem when using venus os 3.13 and I solved it by commenting out these lines at Kostal_SmartEnergyMeter.py
I'm not a Python developer, but obviously with the update at Venus OS there is an attribute "count" expected, which is missing at this overriding part of Reg_u64b, so I always got
Originally posted by @gristoph in #7 (comment)
The text was updated successfully, but these errors were encountered: