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
candrea77 26
This simple script is used to auto cutoff power to standby devices.
In my house I found some device (TV Decoder, WIFI printer and so on) that when in standby consume about 20W.
So i've placed a wallplug on every device and with this script i don't need anymore to disconnect the power after their usage .... the script do it for me !!!
HOW TO USE IT :
devices : put your devicesID that need to be controlled.
minpower : for every device in devices, specify here a watt value that is < of the standby power consumption.
timer : for every device in devices, specify an amount of time that need to be on before the cutoff.
names : for every devices, specify the name of the device (only for LOG)
Script autorun every 180 sec .... tune it if you prefer to run more or less frequently !!!
For logging normally I use a global variable called DEBUG : set it to 1 in order to enable log.
Please login or register to see this code.
7 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.