Thanks for the quick answer. Now it works!
I think that it would be better to have it in a subfolder though because I have other custom components so my custom_components folder is not empty and therefore you cannot clone a repository to it. A subfolder would make it easier for updates.
Setup failed for nibe: Could not install all requirements.
20:19 setup.py (ERROR)
Not initializing nibe because could not install dependency nibeuplink==0.3.0
20:19 setup.py (ERROR)
Unable to install package nibeuplink==0.3.0: Could not find a version that satisfies the requirement nibeuplink==0.3.0 (from versions: ) No matching distribution found for nibeuplink==0.3.0
20:19 util/package.py (ERROR) on my pie
I got everything to work ok with rasbian all in one installation. Do you have any example on configuring categories, statuses and parameters to only get a subset of the information. Just to point me in the right direction of what values to put in.
Error during setup of component nibe
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py”, line 148, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/home/homeassistant/.homeassistant/custom_components/nibe.py”, line 85, in setup
hass.data[DOMAIN] = NibeUplink(hass, config)
File “/home/homeassistant/.homeassistant/custom_components/nibe.py”, line 109, in init
from requests_oauthlib import OAuth2Session
File “/srv/homeassistant/lib/python3.5/site-packages/requests_oauthlib/init.py”, line 9, in
if requests.version < ‘2.0.0’:
TypeError: unorderable types: module() < str()
You can’t install it like that on hass.io. all components run in docker so you can’t install it like in hassbiean. We need to wait until someone make an official release. Unfortunately…I’m installing a Nibe system 9 of April…this add-on would have been gold!!
I know etas are forbidden but this is something I would kill (or pay ) to get in to Hass.io. is the making it official only some thing that you can do?
If you exec the right docker you can download the sourcecode into a folder and install it locally in the docker. It works for me, but every time I upgrade I need to reinstall it.
Enable true SSH via debugging mode and then connect to your Hassio.
Run: docker ps, and get the right docker id
Run: docker exec -it xxxxxxxx /bin/bash
wget and unpack sourcecode, then cd into folder and:
pip3 install -e .
Ok… the reason i switched to hass.io is just because i messed up the old hassbian to many time trying to exec commands and doing linux stuff i dont understan but if your solution is the only way i guess i need to figure this out. Now i need to figure out how to enable debugging mode
The tricky part is getting the keys. It depends on your system how to do that. Otherwise the official guide is decent:
I should say that my method has started to be problematic for me. The nibeuplink app seems to disappear every time I restart now after I upgraded. It didn’t behave like that before.
I just wanted to add that I had to disable the nibe-component. Hassio keeps deleting the component for me after every restart, which I assume is really a Docker thing. I just can’t get it to work consistently anymore.
Great component though I really do hope you get the time to make it an official component