1) Give a description of the problem
Using one of the old occupancy pistons, the room never actually goes into engaged mode
2) What is the expected behavior?
After door closes (room alarm is strobe and siren), IF motion is detected inside, that means the room is 100% occupied with no doubts. Set alarm to siren
3) What is happening/not happening?
After the sensor stops detecting motion (xiaomi sensor only senses motion for about 5 seconds then sits dormant for 55 seconds) it resets the motion IF so the timer stops.
If I set TCP to never, then regardless of other changes to the alarm (like if I open the door) it won’t do the change because the timer is still running and after the timr stops, the alarm will always go to siren.
**4) Post a Green Snapshot of the piston![image|45x37]
5) Attach any logs (From ST IDE and by turning logging level to Full)
@Baz2473 Even though you’ve changed how you do things a little you may have an answer? Afterall your new app detect engaged pretty accurately. I just have some issues with the room in occupied mode. I can PM you about that but for now if you could help me fix this?