Turn off PlayStation after 1 hour of play


#1

hi, is there a possibility to turn off the smart plug if it pulls the specified power, then turns it off after for example 1 hour? thought to use it to limit gaming :+1:


#2

Don’t just pull power to a gaming console, they need to gracefully shutdown, can you imagine if your rule cut the power in the middle of an upgrade?


#3

I do not turn off PlayStation either, it’s an old flat screen. which nevertheless has a switch that cuts the power. if I turn it off or turn off a smart plug is the same.


#4

If the plug reports power draw you can start a timer in webcore for 1 hour when it reaches the threshold. I know the centralite ZigBee’s report power draw:

https://centralite.com/products/smart-outlet


#5

I do not get this all to work. Is the timer right?


#6

The warning message says it all. The best way of doing this is with a for loop:

If power above xxx

For x = 1 to 60
wait 1 minute
Next

Turn power off

If power below xxx
cancel events