Read a few posts back… -> update
I did read beforehand… But I just now saw that for some reason HACS did not notify me about the Nibe update. It was actually marked as not installed even though it was. Updating for real this time.
I have exactly the same problem frans described yesterday. I have today reinstalled all files files with HACS and manually, both with the same result as before. Does anyone have an idea what to do?
What does your log say?
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/real_ip.py”, line 39, in real_ip_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/ban.py”, line 72, in ban_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/auth.py”, line 127, in auth_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/view.py”, line 123, in handle
result = await result
File “/usr/src/homeassistant/homeassistant/components/config/config_entries.py”, line 130, in post
return await super().post(request)
File “/usr/src/homeassistant/homeassistant/components/http/data_validator.py”, line 50, in wrapper
result = await method(view, request, *args, **kwargs)
File “/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py”, line 62, in post
handler, context={“source”: config_entries.SOURCE_USER}
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 109, in async_init
result = await self._async_handle_step(flow, flow.init_step, data)
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 172, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File “/config/custom_components/nibe/config_flow.py”, line 67, in async_step_user
config = self.hass.data[DATA_NIBE].config
KeyError: ‘nibe’
I have added nibe: to the config which results in nibe: null
What do you mean nibe: null? Just a simple nibe: section should be enough.
I just typed “nibe:” but the system seems to add “null”.
This is how line 1 in the config file looks:
nibe: null
That is just strange. I wonder what editor you are using. The null should not be there
Try with:
nibe:
systems:
I tried that and got the following result:
nibe:
systems: null
I’m using the built in configuration editor.
I’m a beginner using Home Assistant and don’t have full control of how things work.
There is no built in editor. Are you putting this in a card?
Thank you for making me aware of this! I have used the Lovelace editor and assumed that I updated the system configuration. When using the downloaded “File editor” Nibe Uplink now works.
Anyone having issues with this integration since upgrade to HA 0.107.6?
All my components are now “Unavailable” with the exception of Hot Water which for some reason still works.
EDIT:
Had a chance to look into things proeprly today looks like there was an update of the component.
Updated and all working fine!
@elupus is all over this as usual! Thanks
Hi, is it possible to add write access after the initial installation, or do I have to reinstall the whole thing again?
You have to re-add. But everything should end up the same. Just remove integration from GUI and add it again.
@elupus
Please, please add the ‘Mode’ funcitonality:
GET api/v1/systems/{systemId}/smarthome/mode | READSYSTEM |
---|---|
PUT api/v1/systems/{systemId}/smarthome/mode | WRITESYSTEM |
I would do a pull request myself, but I don’t know any python
Already exist. nibe.set_smarthome_mode
Wow! Is there a way to get the current mode? Can this be done via nibe.get_parameter ?
That is less supported. I don’t expose any such info at the moment. I don’t think there is any parameter for it sadly.
Could you please add a sensor for GET api/v1/systems/{systemId}/smarthome/mode READSYSTEM ?
Please?