Motion sensors that don’t go offline when no triggers for x hours?

I’d like to have a routine that triggers when there has been no motion detected for x minutes and a contact sensor is opened.

However therein lies the issue. Most of my motion sensors have a tendency to go offline after x hours (back online after an event though) so any trigger based on their status would fail to run if they hadn’t detected motion semi recently.

Other than the Aeotec motion sensors are there any others recommended that don’t drop offline after x hours?

Offline? You mean they are showing as offline in the app? That’s not normal.

I’m using Tapo T100 (Matter bridged) and they are rock solid. I have a Frient Motion Sensor Pro (Zigbee) connected since yesterday and it’s still online.

2 Likes

Yes offline, multiple of them, IKEA ones and AliExpress zigbee ones.
They only go offline if untriggered for a while, will stay online if plenty of movement

Really? Why should the Routine care if the device has gone offline? It already knows its last status.

So if I want a routine that triggers on conditions
Door sensor open AND
motion sensor has no motion detected for 15 minutes
Do you reckon that would still trigger if the motion sensor was offline because it had no motion events for 5 hours (say)? It was my understanding that the trigger wouldn’t run

Based on my understanding it should still trigger, but I may be wrong.

Routines subscribe to the device events so if the motion sensor goes inactive the Routine knows a fraction of a second later. Then if it is still inactive fifteen minutes later the condition becomes true and will stay that way until an active event is received.

Now there might be an argument for having a Routine take account of the online/offline status of devices but users often comment that ‘offline’ devices are still working with automations so it really doesn’t seem like it does. Given that ‘offline’ is really a best guess I’m not sure what logic could be used anyway. It’s a very individual thing.

1 Like

I’ll hopefully get to test this tomorrow, but need to be away from house long enough for sensor to go offline which might be an issue :grin:

Hi, @Declankh
I agree with @orangebucket that it should trigger.
I’ve also seen other reports from people saying the commands work on devices that are offline when a routine executes (for example, offline smart bulbs)
The engineering team confirmed Routine’s commands are sent regardless of the health status, if the message goes through to the device, it is successful, but if the device remains “unreachable”, it won’t work.

2 Likes

Ok thanks for this. Unfortunately I wasn’t able to test this today as I was only out of the house for a few hours, not enough for the sensor to go offline, maybe tomorrow :grin: