Yes, the issue above, with requests, is related to the python 3.5 in hasbian.
I suggest you try on a normal computer first, so you get it to work.
Yes, the issue above, with requests, is related to the python 3.5 in hasbian.
I suggest you try on a normal computer first, so you get it to work.
ok so i just forget about it and dont even test the “module”
No. You must use the module branch. But I want you to install in a clean HA in a clean python environment on a normal pc.
ok now i am up and runnig it on windows
ok now i can´t run pip install git+https://github.com/elupus/nibeuplink.git. Its the only thing left to do
What should i use instead of hassbian?
Did you get it to work on windows? You posted no info on any error.
On hasbian, one might need to installed a specific version om the requests lib.
PS… All this is from the issue I’ve mentioned before.
on windows When i try the pip install git+https://github.com/elupus/nibeuplink.git. i get : Collecting git+https://github.com/elupus/nibeuplink.git
Cloning https://github.com/elupus/nibeuplink.git to c:\users\tunni\appdata\local\temp\pip-nb74738a-build
Error [WinError 2] Det går inte att hitta filen while executing command git clone -q https://github.com/elupus/nibeuplink.git C:\Users\tunni\AppData\Local\Temp\pip-nb74738a-build
Cannot find command ‘git’
on my pie hassbian :pi@hassbian:~ $ pip install git+https://github.com/elupus/nibeuplink.git.
-bash: pip: command not found
You apperently need git installed on your windows. Install git for windows.
On the PI, it might be that you should use pip3 instead of pip.
ok will try that
it is asking for username on github?
use mine and got
Command “git clone -q https://github.com/elupus/nibeuplink.git. /tmp/pip-jw9d4ax0-build” failed with error code 128 in None
same on win and hassbian
You shouldn’t need a username/password?
on pie
Exception:
Traceback (most recent call last):
File “/home/pi/.local/lib/python3.5/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/home/pi/.local/lib/python3.5/site-packages/pip/commands/install.py”, line 342, in run
prefix=options.prefix_path,
File “/home/pi/.local/lib/python3.5/site-packages/pip/req/req_set.py”, line 784, in install
**kwargs
File “/home/pi/.local/lib/python3.5/site-packages/pip/req/req_install.py”, line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File “/home/pi/.local/lib/python3.5/site-packages/pip/req/req_install.py”, line 1064, in move_wheel_files
isolated=self.isolated,
File “/home/pi/.local/lib/python3.5/site-packages/pip/wheel.py”, line 345, in move_wheel_files
clobber(source, lib_dir, True)
File “/home/pi/.local/lib/python3.5/site-packages/pip/wheel.py”, line 316, in clobber
ensure_dir(destdir)
File “/home/pi/.local/lib/python3.5/site-packages/pip/utils/init.py”, line 83, in ensure_dir
os.makedirs(path)
File “/usr/lib/python3.5/os.py”, line 241, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: ‘/usr/local/lib/python3.5/dist-packages/asyncio-3.4.3.dist-info’
on windows hass logg
2018-01-22 22:24:21 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=12 from 2018-01-22 21:20:25.819294)
2018-01-22 22:24:21 ERROR (MainThread) [homeassistant.config] Invalid config for [nibe]: expected int @ data[‘nibe’][‘systems’][0][‘parameters’][0]. Got None
expected int @ data[‘nibe’][‘systems’][0][‘parameters’][1]. Got None
expected int for dictionary value @ data[‘nibe’][‘systems’][0][‘system’]. Got None
extra keys not allowed @ data[‘nibe’][‘systems’][0][‘writeaccess’]. Got False
string value is None @ data[‘nibe’][‘systems’][0][‘categories’][0]. Got None
string value is None @ data[‘nibe’][‘systems’][0][‘statuses’][0]. Got None. (See C:\Users\tunni\AppData\Roaming.homeassistant\configuration.yaml, line 73). Please check the docs at https://home-assistant.io/components/nibe/
2018-01-22 22:24:21 ERROR (MainThread) [homeassistant.setup] Setup failed for nibe: Invalid config.
2018-01-22 22:24:23 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package netdisco==1.2.3: Command “C:\Users\tunni\AppData\Local\Programs\Python\Python36\python.exe -u -c “import setuptools, tokenize;file=‘C:\Users\tunni\AppData\Local\Temp\pip-build-a273rbnx\netifaces\setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record C:\Users\tunni\AppData\Local\Temp\pip-itb8ryla-record\install-record.txt --single-version-externally-managed --compile --user --prefix=” failed with error code 1 in C:\Users\tunni\AppData\Local\Temp\pip-build-a273rbnx\netifaces
2018-01-22 22:24:23 ERROR (MainThread) [homeassistant.setup] Not initializing discovery because could not install dependency netdisco==1.2.3
2018-01-22 22:24:23 ERROR (MainThread) [homeassistant.setup] Setup failed for discovery: Could not install all requirements.
2018-01-22 22:24:24 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform yr
Traceback (most recent call last):
File “C:\Users\tunni\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant\helpers\entity_component.py”, line 171, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File “C:\Users\tunni\AppData\Local\Programs\Python\Python36\lib\site-packages\asyncio\tasks.py”, line 377, in wait_for
return fut.result()
File “C:\Users\tunni\AppData\Local\Programs\Python\Python36\lib\site-packages\asyncio\futures.py”, line 275, in result
raise self._exception
File “C:\Users\tunni\AppData\Local\Programs\Python\Python36\lib\site-packages\asyncio\tasks.py”, line 238, in _step
result = next(coro)
File “C:\Users\tunni\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant\components\sensor\yr.py”, line 98, in async_setup_platform
yield from weather.async_update()
File “C:\Users\tunni\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant\components\sensor\yr.py”, line 181, in async_update
self._url, params=self._urlparams)
File “C:\Users\tunni\AppData\Local\Programs\Python\Python36\lib\site-packages\aiohttp\helpers.py”, line 99, in iter
ret = yield from self._coro
File “C:\Users\tunni\AppData\Local\Programs\Python\Python36\lib\site-packages\aiohttp\client.py”, line 277, in _request
yield from resp.start(conn, read_until_eof)
File “C:\Users\tunni\AppData\Local\Programs\Python\Python36\lib\site-packages\aiohttp\client_reqrep.py”, line 624, in start
(message, payload) = yield from self._protocol.read()
File “C:\Users\tunni\AppData\Local\Programs\Python\Python36\lib\site-packages\aiohttp\streams.py”, line 552, in read
self._waiter = helpers.create_future(self._loop)
File “C:\Users\tunni\AppData\Local\Programs\Python\Python36\lib\site-packages\aiohttp\helpers.py”, line 252, in create_future
return loop.create_future()
AttributeError: ‘ProactorEventLoop’ object has no attribute ‘create_future’
You are forgetting to enter the venv you installed Hass in. If you didn’t use a venv and want to install system wide, you need to sudo/su the command.
ok i followed guides from
https://home-assistant.io/docs/installation/windows/
https://home-assistant.io/docs/installation/hassbian/installation/ so dont know what to do. Sorry for taking your time.
I think i will start to read a little of linux command
Hi,
I can´t get my head around the setup. HA does not seem to pickup the custom component. This is what I did to install.
nibe:
client_id: ***
client_secret: ***
redirect_uri: http://***:8123/api/nibe/auth
systems:
- system: ***
This is what the logs says:
2018-01-23 13:37:55 ERROR (MainThread) [homeassistant.loader] Unable to find component nibe
2018-01-23 13:37:55 ERROR (MainThread) [homeassistant.setup] Setup failed for nibe: Component not found.
What have I missed?
The cloned directory must be the custom_components directory. Not a subdirectory.