I’m trying to create a piston that will turn on a space heater by turning on a smart outlet when the following conditions exist:
- The two motion sensors in the room are active. (Mom & KWS Motion)
- The temperature (Mom) is below 67F.
- It goes off when temp is above 67 or person isn’t in room or no one is home (Away).
What have I missed or messed up?
2) What is the expected behavior?
Motion in room + Temp =<67 then On
No Motion for 20 Minutes = Off
Temp in Room =>68 then Off
Away Mode = Off
3) What is happening/not happening?
(PUT YOUR INFO HERE)
4) Post a Green Snapshot of the piston![]()
5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS THEN HIGHLIGHT ALL OF THE LOGS SND CLICK ON THE </> ICON TO FORMAT THEM)
REMOVE BELOW AFTER READING

