Open harolds opened 8 months ago
Maybe after updating Domoticz this plugin does not work anymore.
Error:
2024-02-28 21:07:26.836 Error: Enphase Envoy: File "/home/pi/domoticz/plugins/EnphaseEnvoy/plugin.py", line 316, in onHeartbeat 2024-02-28 21:07:26.836 Error: Enphase Envoy: _plugin.onHeartbeat() 2024-02-28 21:07:26.836 Error: Enphase Envoy: File "/home/pi/domoticz/plugins/EnphaseEnvoy/plugin.py", line 275, in onHeartbeat 2024-02-28 21:07:26.836 Error: Enphase Envoy: self.getData() 2024-02-28 21:07:26.836 Error: Enphase Envoy: File "/home/pi/domoticz/plugins/EnphaseEnvoy/plugin.py", line 123, in getData 2024-02-28 21:07:26.836 Error: Enphase Envoy: response_data = json.loads(response.text) 2024-02-28 21:07:26.836 Error: Enphase Envoy: File "/usr/lib/python3.9/json/init.py", line 346, in loads 2024-02-28 21:07:26.836 Error: Enphase Envoy: return _default_decoder.decode(s) 2024-02-28 21:07:26.836 Error: Enphase Envoy: File "/usr/lib/python3.9/json/decoder.py", line 337, in decode 2024-02-28 21:07:26.836 Error: Enphase Envoy: obj, end = self.raw_decode(s, idx=_w(s, 0).end()) 2024-02-28 21:07:26.836 Error: Enphase Envoy: File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode 2024-02-28 21:07:26.836 Error: Enphase Envoy: raise JSONDecodeError("Expecting value", s, err.value) from None 2024-02-28 21:07:26.836 Error: Enphase Envoy: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I have not updated Domoticz and had the same issues. I guess something changed at the Enphase side. Enlighten app is working fine. Update: after switching the plugin off/on it is working again.
Maybe after updating Domoticz this plugin does not work anymore.
Error:
2024-02-28 21:07:26.836 Error: Enphase Envoy: File "/home/pi/domoticz/plugins/EnphaseEnvoy/plugin.py", line 316, in onHeartbeat 2024-02-28 21:07:26.836 Error: Enphase Envoy: _plugin.onHeartbeat() 2024-02-28 21:07:26.836 Error: Enphase Envoy: File "/home/pi/domoticz/plugins/EnphaseEnvoy/plugin.py", line 275, in onHeartbeat 2024-02-28 21:07:26.836 Error: Enphase Envoy: self.getData() 2024-02-28 21:07:26.836 Error: Enphase Envoy: File "/home/pi/domoticz/plugins/EnphaseEnvoy/plugin.py", line 123, in getData 2024-02-28 21:07:26.836 Error: Enphase Envoy: response_data = json.loads(response.text) 2024-02-28 21:07:26.836 Error: Enphase Envoy: File "/usr/lib/python3.9/json/init.py", line 346, in loads 2024-02-28 21:07:26.836 Error: Enphase Envoy: return _default_decoder.decode(s) 2024-02-28 21:07:26.836 Error: Enphase Envoy: File "/usr/lib/python3.9/json/decoder.py", line 337, in decode 2024-02-28 21:07:26.836 Error: Enphase Envoy: obj, end = self.raw_decode(s, idx=_w(s, 0).end()) 2024-02-28 21:07:26.836 Error: Enphase Envoy: File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode 2024-02-28 21:07:26.836 Error: Enphase Envoy: raise JSONDecodeError("Expecting value", s, err.value) from None 2024-02-28 21:07:26.836 Error: Enphase Envoy: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)