-
Notifications
You must be signed in to change notification settings - Fork 5
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
Raspberry Pi not finding sensor #27
Comments
I have the same issue on Raspbian Buster when I updated the firmware of the Aranet to v1.2.0 and the plugin to 0.0.3
|
can you see if the following diff resolves your problem? it does for me: in /var/lib/homebridge --- ./node_modules/homebridge-aranet4/dist/aranet.js- 2022-11-05 10:52:28.866609648 -0700 |
@ParaAdBellum Same error as before, although I'm now running Ubuntu Lunar Lobster. |
weird, does aranetctl @ https://github.com/Anrijs/Aranet4-Python aranetctl --scan |
also, which raspberry pi are you using? I've had issues with raspberry pi 3 in the past |
I've migrated to an 'Raspberry Pi Compute Module 4 Rev 1.1' and still have this problem. |
The patch above solved the "did not find any devices" error for me. N.B. You get zero readings for the first few minutes. |
I found scanning for the device eventually failed on Linux and Mac even after applying this patch. Took a week for it to fail on Mac, no idea why. Connecting to the device using the previously-scanned peripheral UUID still worked fine, as did scanning all devices and looking for 'Aranet4' but neither this plugin nor |
Can you publish the changes in your repository? I am interested in testing this. Thanks! |
No longer needed and seems to have caused problems, see quentinms#27 (comment)
@alcayaga sorry for the delay, my experimental version is now available here: https://github.com/max-christian/homebridge-aranet4 This has the following changes:
I'm not sure if Homebridge will share the accessory cache between different repositories of the same plugin, but if it does you must remove any cached Aranet accessories before installation. Homebridge Settings -> Remove Single Cached Accessory. |
Thanks, that worked! For the record, it's also required to enable Bluetooth access to NodeJS if you are not running as root (you shouldn't)
|
I'm running Homebridge on a Raspberry Pi on Raspbian Bullseye (32-bit). The plugin always fails with "did not find any devices." I've increased the discovery timeout to 60s with no success.
Home Assistant running on the same device sees the sensor with no problems. The bluetoothDebug.js script does see the MAC of the sensor. bluetoothctl indicates that the device is paired.
The text was updated successfully, but these errors were encountered: