NIBE Uplink API component (non S-series)

I only can see some data if I set the time frame at grafana to 6h. I actually get no actualization from the nibe. The Temps of brine change but nothing happens at grafana, Hass or influx

Good Morning , it seems that the API from Nibe is only pulling data if there are any changes in the timeframe .So no Data published until a change ist upcoming.

There is no such feature in the API. We poll as fast as we can. Speed depend on number of sensors (one request to API every 5 second) where usually 15 sensors are retrieved each request.

This is always published in home assistant. So if you only get on change, that would be the influx integration that is filtering on change.

I just started with Home Assistant. When I try to add this add-on using HACS, I get this error:
20-01-05 00:40:42 ERROR (MainThread) [hassio.utils.json] Can’t read json from /data/addons/git/f166caec/repository.json: [Errno 2] No such file or directory: ‘/data/addons/git/f166caec/repository.json’
20-01-05 00:40:42 WARNING (MainThread) [hassio.store.data] Can’t read repository information from /data/addons/git/f166caec/repository.json

I tried adding it using the Git option, but how do I run the ‘git clone’ command in HA?

I’m using a Pi with hass.io: ## Home Assistant 0.103.5

This seems to be a known issue and the repository needs to upgraded?


@elupus is this your repo?

Yes, but this is not a hassio addon. You need to add it to HACS as a component. I think without the .git suffix in the URL.

My bad, so I first need to add HACS to my Home Assisant installation.
I’m going to follow this guide: https://hacs.xyz/docs/installation/manual and let you know if that makes a difference.

UPDATE: Yup, I did not know the difference between the HASS.io repositories and the HACS repositories.
I added HACS https://hacs.xyz/ and now got this working.

Hi elupus. You have done a tremendous work with the NIBE and I use the integration without problems, so I am very grateful to you and the time you have used. In the NIBE uplink app it is possible to change the fan speed to 0 %, 30 %, 65 %, 80 % and 100 %. It would be awesome to be able to do the same in the HA integration, as also the user Henrik1986 requests. When I reach a certain CO2 level at home the ventilation boosts to 100 % and turn back to 65 % when CO2 level is under another setpoint. CO2 is a good maker for air quality and when nobody is at home the CO2 will tend toward the atmospheric level of approx.300 ppm. At this level I would like to lower the fan speed to 30 % in order to save energy (or money :wink:), but the HA integration only permits 65 % and 100 %. I have tried to edit the code on my own, but with no success. Is this a challenge you may be willing to investigate?

BR
Frans

Hej Christian

Hur fick du in nibe i hassio har du något instruktion att dela med är jag tacksam.

Vänligen
Dil

Hej! Installera HACS så finns den där att ladda ner. https://hacs.xyz/docs/installation/manual
Efter den är installerad och du installerat NIBE pluginet så följer du denna:
https://github.com/elupus/hass_nibe

Hej!

Har installerat via HACS och allt ser korrekt ut. Men när jag klickar på NIBE Uplink för att skapa en ny integration så blinkar det bara till och sedan släcks rutan ner. Vad har jag missat?

image

Kolla loggen efter fel.

Tack för svar. Detta är det enda som härrör till detta i loggen.

Error handling request
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 40, in real_ip_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/ban.py”, line 73, in ban_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/auth.py”, line 136, 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 48, in wrapper
result = await method(view, request, *args, **kwargs)
File “/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py”, line 60, in post
handler, context={“source”: config_entries.SOURCE_USER}
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 73, in async_init
return await self._async_handle_step(flow, flow.init_step, data)
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 132, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File “/config/custom_components/nibe/config_flow.py”, line 64, in async_step_user
config = self.hass.data[DATA_NIBE].config
KeyError: ‘nibe’

@elupus I was looking back in this thread, I asked some time back regarding the luxury mode function, I can’t get the different options to work, I can only use 3hour setting from HA (and that will be set as 1 hour in the nibe app) all the other options don’t do anything at all. Is this a issue on my side only?

@sjabo add a empty nibe section in config.

@Christian_Hollbjar I think that is the only value nibe allow. But I will look over the code once more. You don’t get any error in log when you set the other?

Hi,

I only get three entities from my nibe F1255-12 with basic config.

What I need to add to get all sensors to hassio.

@Karvis81 any errors in log?

I got some errors on log but nothing related to nibe.

Thank you @elupus for pointing me in the right direction. After restarting HA everything is now okey.