Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have issues running on my RPI Homebridge #1

Closed
PnnnG opened this issue Nov 5, 2023 · 4 comments
Closed

Have issues running on my RPI Homebridge #1

PnnnG opened this issue Nov 5, 2023 · 4 comments
Labels
question Further information is requested

Comments

@PnnnG
Copy link

PnnnG commented Nov 5, 2023

Describe Your Problem:

Can't even get my Candelas mac.
Have "Error scanning for devices" after pushing the SCAN button in plugins settings dialog, and the next strings in log...
Have installed it from Plugins tab of my HB UI.

Logs:

[05/11/2023, 19:03:30] [Homebridge UI] [homebridge-yeelight-ble] Incoming Request: /scan
[05/11/2023, 19:03:30] [Homebridge UI] [homebridge-yeelight-ble] Error: Command failed: yeelightble scan -t 3 
/bin/sh: 1: yeelightble: not found

    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:517:28)
    at maybeClose (node:internal/child_process:1098:16)
    at Socket.<anonymous> (node:internal/child_process:450:11)
    at Socket.emit (node:events:517:28)
    at Pipe.<anonymous> (node:net:350:12) {
  code: 127,
  killed: false,
  signal: null,
  cmd: 'yeelightble scan -t 3 ',
  stdout: '',
  stderr: '/bin/sh: 1: yeelightble: not found\n'
}
[05/11/2023, 19:03:35] [Homebridge UI] [homebridge-yeelight-ble] Terminating child process...
[05/11/2023, 19:03:35] [Homebridge UI] [homebridge-yeelight-ble] Child process ended
[05/11/2023, 19:03:37] [Homebridge UI] Starting terminal session

Plugin Config:

In screenshots

Screenshots:

2023-11-05_19-03-54
2023-11-05_19-10-39
2023-11-05_19-14-50

Environment:

  • Plugin Version: homebridge-yeelight-ble v2.2.0
  • Homebridge Version: [v1.7.0] ( but had the same with 1.6.x)
  • Node.js Version: [v18.18.2]
  • NPM Version: 9.8.1
  • Operating System: Raspbian GNU/Linux Buster (10)

Thank you,
and I look forward for any support

@PnnnG PnnnG added the question Further information is requested label Nov 5, 2023
@vsternbach
Copy link
Owner

The error is pretty much self-explanatory, you need to install python library yeelightble, refer to setup section in documentation

@vsternbach
Copy link
Owner

@PnnnG don't see your latest comment here, the thing with yeelightble installation is weird indeed, didn't have any problem installing it on rpi, but got the same error when trying to install it on my mac, modified something and hopefully it solves the problem, try reinstalling it

@PnnnG
Copy link
Author

PnnnG commented Nov 5, 2023

@vsternbach, I solved it! Installed py3, then yeelightble with all requires manually. And it works! Sometimes I see inverted status in Homebridge, but that is 99% better then nothing)
Thank you for this really crucial plugin for my smart home! I do love my candelas

@vsternbach
Copy link
Owner

Glad to hear the issue is resolved, and yeah ble connections are really unreliable and sometimes sending commands to the lamps just fails even with additional retries, so this is indeed the case where it's better than nothing :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants