I have 2 sdm630. It did work fine last month. But now i can't get it working anymore, i stil get this error:
2023-07-07 23:28:48.093 Error: SDM630.2: Call to function 'onHeartbeat' failed, exception details:
2023-07-07 23:28:48.093 Error: SDM630.2: Traceback (most recent call last):
2023-07-07 23:28:48.093 Error: SDM630.2: File "/home/pi/domoticz/plugins/SDM630-Modbus/plugin.py", line 554, in onHeartbeat
2023-07-07 23:28:48.093 Error: SDM630.2: _plugin.onHeartbeat()
2023-07-07 23:28:48.093 Error: SDM630.2: File "/home/pi/domoticz/plugins/SDM630-Modbus/plugin.py", line 448, in onHeartbeat
2023-07-07 23:28:48.093 Error: SDM630.2: Domoticz.Log('Voltage L1: {0:.3f} V'.format(Volts_L1))
2023-07-07 23:28:48.093 Error: SDM630.2: UnboundLocalError: local variable 'Volts_L1' referenced before assignment
When the one is working the other won't and around, when the second is working the first is not.
I have 2 sdm630. It did work fine last month. But now i can't get it working anymore, i stil get this error:
2023-07-07 23:28:48.093 Error: SDM630.2: Call to function 'onHeartbeat' failed, exception details:
2023-07-07 23:28:48.093 Error: SDM630.2: Traceback (most recent call last):
2023-07-07 23:28:48.093 Error: SDM630.2: File "/home/pi/domoticz/plugins/SDM630-Modbus/plugin.py", line 554, in onHeartbeat
2023-07-07 23:28:48.093 Error: SDM630.2: _plugin.onHeartbeat()
2023-07-07 23:28:48.093 Error: SDM630.2: File "/home/pi/domoticz/plugins/SDM630-Modbus/plugin.py", line 448, in onHeartbeat
2023-07-07 23:28:48.093 Error: SDM630.2: Domoticz.Log('Voltage L1: {0:.3f} V'.format(Volts_L1))
2023-07-07 23:28:48.093 Error: SDM630.2: UnboundLocalError: local variable 'Volts_L1' referenced before assignment
When the one is working the other won't and around, when the second is working the first is not.