Closed jhays closed 2 years ago
hmm, I see in the source that this includes flux_led.py. So I tried uninstalling the version I installed via pip, but no change. After restarting homebridge, it still says this at startup, and changes to the switch in homekit do not work:
Error : /usr/bin/env: ‘flux_led’: No such file or directory
nevermind, must have been an issue on my end. I uninstalled and reinstalled the plugin and it seems to be working for me now.
Describe the bug Lights not responding to buttons in homekit which were added via this plugin. However, running flux_led commands on the homebridge host machine do work. Homebridge logs seem to indicate this plugin can't find /usr/bin/env/ flux_led
Testing flux_led command from command line, using the 'homebridge' user, is successful and can control the light.
sudo runuser -l homebridge -c '/usr/bin/env flux_led 192.168.1.63 --off'
^This is successful.
But when homebridge tries to use flux_led through this plugin, nothing seems to happen.
At the beginning of homebridge launch, this log message is observed:
[1/23/2022, 12:25:38 PM] [MagicHome-Platform-Updated] Discovering Devices [1/23/2022, 12:25:38 PM] [MagicHome-Platform-Updated] Error : /usr/bin/env: ‘flux_led’: No such file or directory
if the command works from command line, how come this plugin is struggling to find and user flux_led?
Thanks!
Expected behavior Lights to be controllable via HomeKit buttons.
Config sample_config.txt
Logs homebridge_log.txt
Screenshots
Desktop (please complete the following information):
Additional context flux_led was installed via pip.