You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your integration. When trying to set it up I get the bellow error.
The device is GL iNET GL-MT300N-V2 running OpenWrt 19.07.8 r11364-ef56c85848.
Home Assistant 2023.1.2
Supervisor 2022.12.1
Thanks in advance for your help.
This error originated from a custom integration.
Logger: custom_components.openwrt.coordinator
Source: custom_components/openwrt/ubus.py:99
Integration: OpenWrt (documentation, issues)
First occurred: 10:37:02 (36 occurrences)
Last logged: 11:18:27
Device [Climate Control Bridge] async_update_data error: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.10/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/site-packages/simplejson/decoder.py", line 372, in decode
obj, end = self.raw_decode(s)
File "/usr/local/lib/python3.10/site-packages/simplejson/decoder.py", line 402, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/openwrt/coordinator.py", line 245, in async_update_data
self._apis = await self.load_ubus()
File "/config/custom_components/openwrt/coordinator.py", line 234, in load_ubus
return await self._ubus.api_call("*", None, None, "list")
File "/config/custom_components/openwrt/ubus.py", line 44, in api_call
await self._login()
File "/config/custom_components/openwrt/ubus.py", line 48, in _login
result = await self._api_call(
File "/config/custom_components/openwrt/ubus.py", line 99, in _api_call
json_response = response.json()
File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered:
Hi @kvj,
Thank you for your integration. When trying to set it up I get the bellow error.
The device is GL iNET GL-MT300N-V2 running OpenWrt 19.07.8 r11364-ef56c85848.
Home Assistant 2023.1.2
Supervisor 2022.12.1
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: