-
Notifications
You must be signed in to change notification settings - Fork 0
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
oorttool.c:312: main: Assertion `ret == 0' failed. #1
Comments
Hi! I'm surprised to find someone used it :) Unfortunately Oort seems to discontinued their products more or less at the same time I released this tool :) The assertion that fails indicated that there is some issue inside Anyway, please increase the verbosity level by setting the |
Hi, That is too bad that they discontinued it. Although the lamps aren't maybe as advanced as Philips Hue and other competitors, they are still working really more than sufficiently in a Home Assistant + Google Home setting especially in the lower price point :) (I'm using your oorttool in conjunction with Home Assistant which forwards Google Home voice commands + automatic actions to the bulb) No I haven't set a password at all on the bulbs, and the same oorttool+Home Assistant config worked fine with my previous Raspbian installation on my Raspberry Pi. Below is the same line but just with an increased verbosity level. As that didn't really give at least me a logical clue of why it quits, I also ran a strace command. Thank you so much for helping me out with this issue! :)
|
That's weired. The things that come to my mind:
The part that makes me particularly suspicious is:
Looks like there is some problem with BT subsystem. Check the OS logs and make sure you have proper drivers and firmware that works with you current kernel and that other BT tools work and you can detect the bulb with them. |
Ok great! Unfortunately, I don't have a second light bulb to try out on. The bulb works perfectly fine with my Android app and yes I've tried to turn off and on with the app itself and restart all of it without hackoort working. The raspbian stretch OS was a completely clean install so yes I compiled oorttool, gattlib, bluez etc all from scratch. I will try some more and get back! |
Please make sure your gattool is is working correctly. Try to update or downgrade it. In my instruction I advised to use the gatt code from git which occasionally might not be the best alternative. Try checking out some stable version and recompile with it. |
Hi,
Running newest Raspbian stretch on a Raspberry Pi 3 I get this error when trying to connect to my bulb:
I have made sure to follow the prerequisites and installing libbluetooth-dev libreadline-dev libglib2.0-dev and compiling gattlib, which worked flawlessly. I also tried to update BlueZ to the newest 5.49 and then recompile everything, without getting it to work.
I really like the work you've put in into developing this and it worked fine on my previous Raspberry Jessie installation. Since I've installed Raspbian Stretch I haven't been able to connect to my OORT light bulb and I suspect it must be something to do with incompatilibity with the newer libraries.
Thank you so much for the help!
The text was updated successfully, but these errors were encountered: