philips-airpurifier-coap icon indicating copy to clipboard operation
philips-airpurifier-coap copied to clipboard

Unable to

Open jplabcpt opened this issue 3 years ago • 4 comments

My model is not supported and while trying to "Prepare the Environment", I get the following error after following the steps.

$ source aioairctrl-shell.sh
ERROR: You must give at least one requirement to install (see "pip help install")
WARNING: You are using pip version 20.2.3; however, version 21.1.1 is available.
-bash: aioairctrl: command not found

Any suggestions on how to proceed?

jplabcpt avatar May 12 '21 13:05 jplabcpt

can you give some more context about the system you are using? os, shell, python-version etc

tbh that script initially was just a quick hack.

betaboon avatar May 12 '21 13:05 betaboon

Running from Mac on terminal with Python 3.9.4

jplabcpt avatar May 12 '21 14:05 jplabcpt

i bet the sed-expression in the script doesnt work properly on macos: https://github.com/betaboon/philips-airpurifier-coap/blob/master/aioairctrl-shell.sh#L4

so either:

  • try finding a regex that works for macos as well (i have no way of testing that, i dont own a mac)

or:

  • you do manually what the script does:
python3 -m venv .venv
source .venv/bin/activate
pip3 install git+https://github.com/betaboon/[email protected]

betaboon avatar May 12 '21 14:05 betaboon

@jplab1983 is your model working now? Which model do you have?

kongo09 avatar Apr 07 '22 19:04 kongo09