-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Settings entities unavailable (Error setting firmware specific settings) #97
Comments
What firmware version are you on? This error should only occur if your Sessy firmware is not equal to the lastest version (in this case: 1.6.8), and thus does not support all feature the integration is expecting. |
Hi Pim, Firmware 16.9 is installed
|
Does the issue occur consistently between reloads of the integration? |
it showed up after restarting HA
|
Same here with 1.7.2 and 0.7.0 complete reboot did not help. Also some extra errors like not avialabe sensors/settings. attached the HA log with some errors: |
Looks like the integration is not able to access system settings on the Sessy API. This could have a few different causes.
Can you enable debug logging on the Sessy integration and reload it? This might reveal some more information about why the request to system settings fails. I'm also interested to see whether the fieldnames mentioned in the error are present and contain values when you browse to the local api at http://sessy-xxxx.local/api/v1/system/settings |
A the local api, http://sessy-xxxx.local/api/v1/system/settings I saw an error about eco hours (forgot to copy it ). After I set an value (2) at ecomode 'aantal laaduren' on portal.sessy.nl.
After a complete reboot it was working. Northpool is still on. So it seems (in my case) the API from Sessy was broken because of a missing value from the ecomode(which i never used). |
@PimDoos I see this error too: Like @Tazzios i also entered a value for charge hours in Sessy portal for eco mode (hard to find, you first have to change your strategy from api to eco and then you can enter a value for charging hours and save it, then switch back to strategy api). The the above url to /system/settings works and a reload of home assistant integration fixed the errors. so problem solved, but hard to find….. |
@MartijnCharged can you have a look at this? Looks like the eco settings are not always properly initialized on all Sessy's. |
The initialization of the settings occurs when eco mode is selected as the active strategy, or when saving from the web page / portal. |
OK so for now the solution is to just save the settings from the portal, which fixes the state of the local settings. In the long term we'll have to await a more official API for more stable access to settings. |
After restarting HA today I received following warning:
This error originated from a custom integration.
Logger: custom_components.sessy.number
Source: custom_components/sessy/number.py:102
integration: Sessy (documentation, issues)
First occurred: 1:43:13 PM (1 occurrences)
Last logged: 1:43:13 PM
Error setting firmware specific settings: 'NoneType' object has no attribute 'get'
The text was updated successfully, but these errors were encountered: