Page 1 of 1

Q: How to switch of after desired time by consumption

Posted: 09 Sep 2015 18:24
by elRedeo
Hello,

I believe this is not possible :
I have a fibarore power plug on my TV/Radio/FireTV... combination.
If they are in standby, I will them power off, so as the pseudo coded example :
While (SwitchON) {
if (P>10) counter = 0;
counter ++;
if (counter>600) // six minutes
SwitchOFF;
sleep(1000); // milliseconds
}

Any Ideao? PoltoS ????

Help :(

Re: Q: How to switch of after desired time by consumption

Posted: 09 Sep 2015 22:15
by taftek
use node-red +z-wave api for this...be patient i'm working on IT:)

Re: Q: How to switch of after desired time by consumption

Posted: 10 Sep 2015 22:39
by elRedeo
Hi, OK, will be awaiting for your solution with node-red.
It looks like a very large solution for a small problem.

I will try to solve it via bash script and code device by periodical polling and trigger file ....

Re: Q: How to switch of after desired time by consumption

Posted: 10 Sep 2015 23:01
by Isaksson
So, what you are looking for is:

Fibaro Wall plug W is less then 10 and if it still is less after 6 minute turn the Wall plug Off?

Re: Q: How to switch of after desired time by consumption

Posted: 10 Sep 2015 23:20
by elRedeo
Yes, exactly.