Q: How to switch of after desired time by consumption

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
elRedeo
Posts: 15
Joined: 21 Aug 2015 14:11

Q: How to switch of after desired time by consumption

Post 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 :(
Last edited by elRedeo on 09 Sep 2015 22:34, edited 1 time in total.
taftek
Posts: 8
Joined: 07 Aug 2015 08:44

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

Post by taftek »

use node-red +z-wave api for this...be patient i'm working on IT:)
elRedeo
Posts: 15
Joined: 21 Aug 2015 14:11

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

Post 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 ....
Isaksson
Posts: 133
Joined: 10 Apr 2013 09:43

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

Post 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?
elRedeo
Posts: 15
Joined: 21 Aug 2015 14:11

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

Post by elRedeo »

Yes, exactly.
Post Reply