Closed kongo09 closed 3 years ago
Same here
admin@NAS1:/$ cd philips-airpurifier
admin@NAS1:/philips-airpurifier$ source aioairctrl-shell.sh
-sh: source: aioairctrl-shell.sh: file not found
Same problem here.
`/config # git clone https://github.com/betaboon/philips-airpurifier.git
Cloning into 'philips-airpurifier'...
remote: Enumerating objects: 253, done.
remote: Counting objects: 100% (253/253), done.
remote: Compressing objects: 100% (109/109), done.
remote: Total 515 (delta 131), reused 228 (delta 107), pack-reused 262
Receiving objects: 100% (515/515), 94.46 KiB | 848.00 KiB/s, done.
Resolving deltas: 100% (217/217), done.
/config # cd philips-airpurifier
/config/philips-airpurifier # source aioairctrl-shell.sh
ERROR: Invalid requirement: '@'
WARNING: You are using pip version 20.2.1; however, version 20.3.3 is available.
You should consider upgrading via the '/config/philips-airpurifier/.venv/bin/python3 -m pip install --upgrade pip' command.
/bin/sh: aioairctrl-shell.sh: line 22: aioairctrl: not found
I hope there is a solution.,,`
Hello, I think I've a similar problem. After installing the version from betaboon, I get the following error after resarting my HA: "No module named 'aioairctrl'". I there any solution for that?
Thanks in advance, Fabian!
@kongo09 it seems you can fix it by adjusting a regex a bit:
change L4 in aioairctrl-shell.sh
to:
aioairctrl=$(grep -Po '(?<=aioairctrl\s@\s)[^"]+(?=")' $manifest)
@kongo09 et al: i just released a new version which also might solve this issue.
if anyone has the time: please test and report back :)
aioairctrl seems to work again. There is an error when doing the source
command, but in the end it looks ok:
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for pycryptodomex
Running setup.py clean for pycryptodomex
I just pulled the latest code from git and now your cli tool doesn't work anymore: