rytilahti / python-yeelightbt

Python library for Yeelight's bedside (btle) and candela lamps
83 stars 26 forks source link

Can't launch on hassbian yeelightbt #26

Closed cioppz closed 5 years ago

cioppz commented 5 years ago

Installation on hassbian with pip3 command worked, but when I try to launch the yeelightbt command I get "Command not found", any idea?

rytilahti commented 5 years ago

Maybe a confusion between virtualenvs/installations? Without more input it is not possible to say what is wrong in your setup. However, you should be aware that this library/tool is not really maintained and requires in its current state a specific version of the construct library, meaning that it won't work if you are using the same environment with other programs (e.g. homeassistant) requiring a more recent version.

cioppz commented 5 years ago

hi @rytilahti I simply run the command for the installation from the pi user, then when I try to launch yeelightbt 'command not found'. I also think that I'll to install it inside the environment of home assistant to intrigate it, right?

rytilahti commented 5 years ago

Integrating with homeassistant will likely require some work, but with #28 merged it should be doable to make this work in the same virtualenv where the homeassistant resides.

Controlling the lamps via the console tool should work no matter how it is installed, I'm not sure why it is not installing the control script in your case, sorry.

rytilahti commented 5 years ago

Closing as stale.