Comments (8)
I suppose this is the same issue as on my end:
Unexpected error fetching FusionSolarKiosk data: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 256, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/fusion_solar/sensor.py", line 79, in async_update_kiosk_data
data[f'{DOMAIN}-{kiosk.id}'] = await hass.async_add_executor_job(api.getRealTimeKpi, kiosk.id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/fusion_solar/fusion_solar/kiosk/kiosk_api.py", line 37, in getRealTimeKpi
jsonData[ATTR_DATA] = json.loads(html.unescape(jsonData[ATTR_DATA]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Maybe the protocol changed recently?
from homeassistant-fusionsolar.
After deleting the integration and adding it again everything worked again
from homeassistant-fusionsolar.
Works again since today
from homeassistant-fusionsolar.
This issue started to me today.
All the entities are unavailable. If I delete the app and reinstall it is working but loosing all the historical data...
from homeassistant-fusionsolar.
What happens if you just restart Home Assistant?
from homeassistant-fusionsolar.
For me, restarting did not help.
But still works as reported yesterday.
from homeassistant-fusionsolar.
Restart itself didn't help, but somehow today started to work again properly...
from homeassistant-fusionsolar.
Ok, so it works for everyone again?
I'm going to close the issue. Feel free to reopen it if it is not resolved. Although I think it is more Huawei related then to this integration
from homeassistant-fusionsolar.
Related Issues (20)
- Entity not available (Power Sensor) but displayed in Entities HOT 1
- Not showing entities that I was expecting. HOT 2
- How can you control the charge of a battery or change the PV output HOT 4
- Open API issue HOT 4
- No more data available in "Kiosk" mode HOT 2
- Locally generated solar power missing HOT 2
- No data in kiosk mode since January 1st HOT 14
- No data in OpenAPI mode since January 1st HOT 14
- Data from API HOT 15
- The Kiosk midnight glitch is back. HOT 4
- Lifetime energy is no longer updating, while current day/month/year *are* HOT 9
- Midnight glitches in Current Month and Current Year data HOT 16
- Number conversion HOT 1
- Incorrect 0 values in some api queries HOT 10
- App update made all entities unavailable HOT 2
- All sensors unavailable (Kiosk) HOT 5
- Half of entities are unavailable HOT 4
- Unexpected error fetching FusionSolarOpenAPIDeviceRealKpiType data: 'NoneType' object is not iterable HOT 15
- No more entities provided HOT 63
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-fusionsolar.