Hi. I’m trying to make a piston turn on a switch called “Cleaned” (Switch 8) whenever my Neato Robot vacuum (Switch 15) has cleaned my house for more than 15 minutes.
I tried to make a piston based on Neato’s switch (on/off) status, it didn’t work, so @eibiyer helped me understand how to use the Evaluation Console to know a device’s status, and I used that to know which was the expression that the Neato communicated to SmartThings. It worked for a while but it doesn’t always work.
Every time I go to the Evaluation Console and ask it the device’s status, it shows me the current status (it only shows “cleaning” or “ready”). This has a 2-3 minute delay but then it shows the correct value.
These are the expressions that I tested on the Eval. Console:
And this is the current piston. I tried setting its trigger based on the switch’s status again, but it didn’t work. Any ideas of what could be happening here?
Thanks,
Rodrigo
Edit: It takes a minute or two for the expression to change from “cleaning” to “ready” or vice-versa, but I don’t know how this could affect the piston, a full house clean takes 37 minutes so ±3min shouldn’t be a problem.