I’ve been using the Growatt integration a while now, and it has been working great.
However, since yesterday evening something has changed and today no data has been received.
It’s all there on the dashboard hosted by Growatt, so the inverter and datalogging is working as before, it’s just that HA no longer gets any data.
I removed and re-added the integration to make sure I am using the most recent one.
The log states the following:
Error while setting up growatt_server platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/growatt_server/sensor.py", line 885, in async_setup_entry
devices, plant_id = await hass.async_add_executor_job(get_device_list, api, config)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/growatt_server/sensor.py", line 870, in get_device_list
devices = api.device_list(plant_id)
File "/usr/local/lib/python3.9/site-packages/growattServer/__init__.py", line 440, in device_list
return self.plant_info(plant_id)['deviceList']
File "/usr/local/lib/python3.9/site-packages/growattServer/__init__.py", line 453, in plant_info
data = json.loads(response.content.decode('utf-8'))
File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 7 column 1 (char 19)
Any others having this issue?