Skip to content
Snippets Groups Projects
Commit fd8f8a17 authored by jkerdreu's avatar jkerdreu
Browse files

Enable music mode (to avoid limited rate)



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2935 b32b6428-25c9-4566-ad07-03861ab6144f
parent b1d4de0f
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,7 @@ class YeelightDev(object):
# It's safer to use a lock to avoid the socket to be used w/ 2 greenlets at the same time.
# This can occurs on the device refresh
self.lock = gevent.lock.BoundedSemaphore(1)
self.bulb.start_music()
def debug_properties(self,properties):
if not hasattr(self,'last_properties'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment