I have a piston that is set up to change the mode from Home to Night after 10pm if all the external doors are closed and motion downstairs has not occured for more than 10 minutes.
The piston fails to run most nights - there is no motion detected on any of the motion sensors, but the piston often fails to execute (and will sometimes execute randomly).
If anyone can see any obvious omissions/errors please do let me know.
As an aside - I had an issue with this not working if I arrived home after midnight, as the time condition (>=10pm) was no longer met, I have a duplicate piston now that has this set up for if the time is <=6am to account for coming home late.
Best wishes
Guy