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
I want to make a smart home control panel after I got my python program with the SinricPro library working. I want to do this with either a web server or PyGame. There is just 1 issue. Telling the Alexa service the current state of the device. When I push a button to turn on my lights using SinricPro, is there anyway to feed back to Alexa to show up on the app saying the current state? E.g. If I turned on my light from the control panel, I want the Alexa app to show that state change.
The text was updated successfully, but these errors were encountered:
i've just tried using this, but I can't seem to integrate it into pygame. I put the python for pygame into the app.py, but it either runs pygame, and then when I close it, it runs SinricPro, or it runs none at all.
It's because sinricpro lib uses asyncio. Which runs on the single-event loop. So running pygame and sinricpro on main thread is not a good idea. You need to run them on separate threads.
I want to make a smart home control panel after I got my python program with the SinricPro library working. I want to do this with either a web server or PyGame. There is just 1 issue. Telling the Alexa service the current state of the device. When I push a button to turn on my lights using SinricPro, is there anyway to feed back to Alexa to show up on the app saying the current state? E.g. If I turned on my light from the control panel, I want the Alexa app to show that state change.
The text was updated successfully, but these errors were encountered: