Andrey Pokhilko

Results 282 comments of Andrey Pokhilko

I have tested Bleak connection type on my Linux and it did work fine for `demo.py` script. Maybe the issue with MacOS is platform-specific. I don't have Mac to troubleshoot...

I have made an alternative implementation in #70 . But that does not help too much. It looks like bleak is quite unstable with its functioning.

I have just tried with master branch on my Linux with bleak 0.7.1, and demo.py worked fine for me. This PR version does not work, still. What I've noticed, is...

When debugging, you need to set logging level to DEBUG and also make use of bleak connection, instead of default autodetector.

The proper way to troubleshoot this is to enable DEBUG level logging in demo.py (instead of INFO). Then run it again and share the log.

So it looks like there is indeed something that makes pylgbst to not receive any incoming messages from BLE after LEDRGB attach message. The library is helpless here, since it...

Do you have `bluez` installed? It is installed with `sudo apt-get install bluez`

`/home/pi/lego/env/lib` - are you using some sort of virtualenv? If yes, then you need to install python dbus lib into that virtual env (`pip install dbus-python` or so, might also...

This error happens when library failed to find MoveHub device: https://github.com/undera/pylgbst/blob/94db2840f42919e464f075ae772daedf877c93ca/pylgbst/comms/cgatt.py#L58 To troubleshoot, I suggest enabling DEBUG level logging, and sharing the full log here, to see if any device...

I don't have any experience with Raspberry Pi, maybe others can help you in this. From my Linux desktop practice, there is no need in any pairing for Lego Boost....