2020-10-03 11:58:54.790 Error: (SolarEdge) 'onHeartbeat' failed 'KeyError'. 2020-10-03 11:58:54.790 Error: (SolarEdge) ----> Line 522 in '/home/pi/domoticz/plugins/domoticz-solaredge-modbustcp-plugin/plugin.py', function onHeartbeat 2020-10-03 11:58:54.790 Error: (SolarEdge) ----> Line 335 in '/home/pi/domoticz/plugins/domoticz-solaredge-modbustcp-plugin/plugin.py', function onHeartbeat
Looks like the inverter reports a status that is not supported by the solaredge_modbus library.
Let's see if we can catch this error and provide something in the Domoticz log that shows the unknown status value.
The plugin will first check if the key is in the lookup table.
If not, it will create a string value showing the unknown key.
This allows for further investigation.
User reported the following:
2020-10-03 11:58:54.790 Error: (SolarEdge) 'onHeartbeat' failed 'KeyError'. 2020-10-03 11:58:54.790 Error: (SolarEdge) ----> Line 522 in '/home/pi/domoticz/plugins/domoticz-solaredge-modbustcp-plugin/plugin.py', function onHeartbeat 2020-10-03 11:58:54.790 Error: (SolarEdge) ----> Line 335 in '/home/pi/domoticz/plugins/domoticz-solaredge-modbustcp-plugin/plugin.py', function onHeartbeat
Looks like the inverter reports a status that is not supported by the solaredge_modbus library.
Let's see if we can catch this error and provide something in the Domoticz log that shows the unknown status value.