I’m now getting more worrying issues with the add-on. I had some sort of ATS fault this afternoon, so I reset my Digi on the board, but didn’t change any config. This allowed the add-on to re-connect, but after a few minutes I get this error.
2021-03-07 18:57:47 - DEBUG: Updating system power...
2021-03-07 18:57:47 - DEBUG: Publishing to texecom2mqtt/1003728/power: {"battery_charging_current":9,"battery_voltage":13.49,"panel_current":297,"panel_voltage":13.7}
2021-03-07 18:58:17 - DEBUG: Updating system power...
2021-03-07 18:58:17 - DEBUG: Publishing to texecom2mqtt/1003728/power: {"battery_charging_current":9,"battery_voltage":13.49,"panel_current":306,"panel_voltage":13.7}
2021-03-07 18:58:47 - DEBUG: Updating system power...
2021-03-07 18:58:48 - DEBUG: Publishing to texecom2mqtt/1003728/power: {"battery_charging_current":9,"battery_voltage":13.49,"panel_current":315,"panel_voltage":13.7}
2021-03-07 18:59:18 - DEBUG: Updating system power...
2021-03-07 18:59:18 - DEBUG: Publishing to texecom2mqtt/1003728/power: {"battery_charging_current":9,"battery_voltage":13.49,"panel_current":333,"panel_voltage":13.7}
2021-03-07 18:59:48 - DEBUG: Updating system power...
2021-03-07 18:59:49 - DEBUG: Publishing to texecom2mqtt/1003728/power: {"battery_charging_current":9,"battery_voltage":13.49,"panel_current":324,"panel_voltage":13.7}
2021-03-07 19:00:19 - DEBUG: Updating system power...
2021-03-07 19:00:19 - DEBUG: Publishing to texecom2mqtt/1003728/power: {"battery_charging_current":9,"battery_voltage":13.49,"panel_current":297,"panel_voltage":13.7}
2021-03-07 19:00:49 - DEBUG: Updating system power...
2021-03-07 19:00:49 - ERROR: Unhandled rejection - RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 1
2021-03-07 19:00:49 - DEBUG: Ending socket connection to panel
2021-03-07 19:00:49 - DEBUG: Socket connection to panel ended
2021-03-07 19:00:49 - DEBUG: Publishing to texecom2mqtt/1003728/status: offline
2021-03-07 19:00:49 - DEBUG: Panel socket closed
Then when I try to restart the add-on I get this:
2021-03-07 18:57:47 - DEBUG: Updating system power...
2021-03-07 18:57:47 - DEBUG: Publishing to texecom2mqtt/1003728/power: {"battery_charging_current":9,"battery_voltage":13.49,"panel_current":297,"panel_voltage":13.7}
2021-03-07 18:58:17 - DEBUG: Updating system power...
2021-03-07 18:58:17 - DEBUG: Publishing to texecom2mqtt/1003728/power: {"battery_charging_current":9,"battery_voltage":13.49,"panel_current":306,"panel_voltage":13.7}
2021-03-07 18:58:47 - DEBUG: Updating system power...
2021-03-07 18:58:48 - DEBUG: Publishing to texecom2mqtt/1003728/power: {"battery_charging_current":9,"battery_voltage":13.49,"panel_current":315,"panel_voltage":13.7}
2021-03-07 18:59:18 - DEBUG: Updating system power...
2021-03-07 18:59:18 - DEBUG: Publishing to texecom2mqtt/1003728/power: {"battery_charging_current":9,"battery_voltage":13.49,"panel_current":333,"panel_voltage":13.7}
2021-03-07 18:59:48 - DEBUG: Updating system power...
2021-03-07 18:59:49 - DEBUG: Publishing to texecom2mqtt/1003728/power: {"battery_charging_current":9,"battery_voltage":13.49,"panel_current":324,"panel_voltage":13.7}
2021-03-07 19:00:19 - DEBUG: Updating system power...
2021-03-07 19:00:19 - DEBUG: Publishing to texecom2mqtt/1003728/power: {"battery_charging_current":9,"battery_voltage":13.49,"panel_current":297,"panel_voltage":13.7}
2021-03-07 19:00:49 - DEBUG: Updating system power...
2021-03-07 19:00:49 - ERROR: Unhandled rejection - RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 1
2021-03-07 19:00:49 - DEBUG: Ending socket connection to panel
2021-03-07 19:00:49 - DEBUG: Socket connection to panel ended
2021-03-07 19:00:49 - DEBUG: Publishing to texecom2mqtt/1003728/status: offline
2021-03-07 19:00:49 - DEBUG: Panel socket closed
The only way I can get it to re-connect is to reset the Digi again. Not ideal.
Any ideas anyone? It has been working mostly fine up to today.