Open roshambo919 opened 3 years ago
@williamkennyAK I tried your code (from a separate issue) as well, and it partially ran through but never did anything to the lights and then would eventually hang
@williamkennyAK I tried your code (from a separate issue) as well, and it partially ran through but never did anything to the lights and then would eventually hang
Unfortunately, I have no lights to test out. I only have the smart plug. I added a bunch of printf statements to find where exactly the code was hanging for me.
What version of python are you using?
Hi,
There's a bug in bluepy that means it'll tend to wedge when commands are sent. I have a workaround in a local branch until upstream merge it - can you please try upgrading to python-dimond 0.3 (you'll probably want to upgrade to python-laurel 0.5 as well) and see if that works any better?
I'm trying to work with this repository. Using Ubuntu on my laptop. I have all the lights right around. I'm able to log in with my username and password and see my devices, then I'm even sometimes able to "connect" to the network calling devices.devices[0].network.connect() (it claims it works occasionally). But then when I go to interact with the devices, nothing ever happens. Sometimes it runs through the script, sometimes it just hangs at one of the "set" parts. Anyone have any suggestions?
The brightness and temperature components of "devices" are just the class defaults (i.e. 0). Nothing is being called to update those.