As the code stands telling alex to turn on curtains runs the open routine and turn off curtains runs the close routine.
Control curtains with alexa.
It s low cost and easy to build.
You ll need to ask alexa to turn your curtain on or off.
The curtain rail i purchased came with two.
Control your curtains with an amazon echo alexa smartthings hub aeotec watch later.
You can swap this around if you prefer at lines 442 to 454 which contain the on function and the off function with the opposite action for each commented out.
In this project we show you how to 3d print and assemble your very own alexa connected curtain control system.
So if you put bedroom in here you would have to say alexa turn the bedroom curtains on.
The back light could turn on off as you like support touch control app control voice up and down by alexa echo and google home smart speaker or the siri voice control ios need update into ios12 or above no hub or subscription required.
Amazon echo controlled curtains step 1.
An electric curtain rail https www amazon co uk gp product b013x0bzf2 a replacement.
Writing a python script to open.
Set working schedule previously make your curtain automatically turn up and down.
On line 60 you need to set the name alexa will refer to your curtains as currently decking curtain in default code.
Integrating the electric curtain rail with the raspberry pi.