You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, undera, may I ask a question about reconnection of pylgbst. hub = MoveHub(get_connection_auto(hub_name="LEGO Move Hub")) try: demo = DEMO_CHOICES[options.demo] demo(hub) finally: hub.disconnect()
When the programs exits, the light above the green button remains blue for seconds.
If add hub = MoveHub(get_connection_auto(hub_name="LEGO Move Hub")) after finally block, the program points out that processing thread and communication thread have exited, and throws an exception of 'Device not found'.
Is there any idea about the reconnection of pylgbst?
Looking forward for your reply.
Lamb
The text was updated successfully, but these errors were encountered:
Regarding reconnecting issue, I advice to switch to Bleak connection type. If the problem persists, post here debug log of that, for better diagnostics.
Hi, undera, may I ask a question about reconnection of pylgbst.
hub = MoveHub(get_connection_auto(hub_name="LEGO Move Hub")) try: demo = DEMO_CHOICES[options.demo] demo(hub) finally: hub.disconnect()
When the programs exits, the light above the green button remains blue for seconds.
If add
hub = MoveHub(get_connection_auto(hub_name="LEGO Move Hub"))
after finally block, the program points out that processing thread and communication thread have exited, and throws an exception of 'Device not found'.Is there any idea about the reconnection of pylgbst?
Looking forward for your reply.
Lamb
The text was updated successfully, but these errors were encountered: