Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
level3ninja 1
Disclaimer: complete novice at lua. I want to learn, am happy to be directed to somewhere I can learn these functions and assemble the scene myself. I have searched for a scene that will run at a certain time the next day and only run the once but I couldn't find anything.
I want to set up a way for my wife to set the washing machine to run at a certain time the next day. The washing machine is plugged into an Aeotec Smart Switch 6 (device 100).
My thoughts are to set up a couple of scenes. The first type scene will set a variable to a value for the main scene to read as a time to start the machine. There would be multiple of these first type of scenes, one for each time the machine is to turn on (e.g. 6, 7, 8, 9)
The main scene will run to turn on device 100 at a time that is stored in a variable.
E.g.
TRIGGER: Run scene/virtual button for which hour am the machine is to turn on
Set variable “PlugRUN” to ? –based on hour desired (e.g. “6” or “0600” for 6am)
Start device 100 at ?am next day.
When scene activated send push notification that washing machine will start at ?am
Once machine started change variable to 0 (stop scene running again the next morning)
Once machine finished send push notification that washing machine finished.
Device 100 is to stay on when scene ends
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.