Wiser intergration

Hi,

I am still on a massive learning curve with HA and all the bits that go with it and where I get an issue I am trying to sort everything out by going through the forums, you tube, Github etc. This one has got me stumped. I have pasted below an error that shows in my logs. if I clear the logs and restart it more than not reappears quickly, whereas if I leave it showing it shows a couple of occurrences over a few days. Has anyone got any idea how to solve the issue that’s causing this error.

Thanks

This error originated from a custom integration.

Logger: custom_components.wiser.coordinator
Source: helpers/update_coordinator.py:313
Integration: Drayton Wiser Integration for Home Assistant (documentation, issues)
First occurred: 3:52:00 PM (1 occurrences)
Last logged: 3:52:00 PM

Unexpected error fetching wiser (wiser-WiserHeat053DA6) data: Expecting ‘,’ delimiter: line 1 column 2791 (char 2790)
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py”, line 313, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py”, line 269, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/wiser/coordinator.py”, line 151, in async_update_data
raise ex
File “/config/custom_components/wiser/coordinator.py”, line 129, in async_update_data
await self.wiserhub.read_hub_data()
File “/usr/local/lib/python3.12/site-packages/aioWiserHeatAPI/wiserhub.py”, line 126, in read_hub_data
await self._build_objects()
File “/usr/local/lib/python3.12/site-packages/aioWiserHeatAPI/wiserhub.py”, line 140, in _build_objects
self._domain_data = await self._wiser_rest_controller._get_hub_data(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aioWiserHeatAPI/rest_controller.py”, line 187, in _get_hub_data
return await self._do_hub_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aioWiserHeatAPI/rest_controller.py”, line 126, in _do_hub_action
return json.loads(
^^^^^^^^^^^
File “/usr/local/lib/python3.12/json/init.py”, line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/json/decoder.py”, line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting ‘,’ delimiter: line 1 column 2791 (char 2790)

Have you tried reporting this to the 3rd party integration developer?

1 Like

There is an active thread here, the developer is very active and responsive. Fourm