Is there any way to check if a smartthings outlet is on or off?

samsungsmartthings
smartapp

(Hannah) #1

I want to check if the outlet is powered on when a contact sensor is opened and if it is I want to turn it off . How do I check the power state of the plug ?


(Robin) #2

In this use case it doesent really matter what the state of the outlet is… Just use Smart Lighting app to turn it off when contact opens:

If the outlet is already off, ST knows this and won’t send the off command. Even if it did send the off command it wouldn’t do any harm.


(Robin) #3

Also, for more complex triggers and conditions you should get used to using the CoRE Smart app:

Installation instructions and a link to the CoRE wiki are in post 1 of the following thread: