Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Hidden Door Sensor and reboot/power loss

Featured Replies

Posted

Not sure how to handle the Hidden Door Sensor when it comes to rebooting the ISY or power loss.  Once the ISY comes back online, the Hidden Door Sensor doesn't get a 'Current State' ....   I assume it defaults to 'off'?  I have a program that keeps track of the door status and every time I reboot the ISY, this program goes true.  This is an issue, as other things happen because it thinks the bathroom door is closed.  I also assume because it is battery powered, a status update is not sent until door is opened or closed, then things self correct, but I'd prefer not to have lights and exhaust fan come on at all after power failure or reboot.

 

If
        Status  'Bath 02 - Door Sensor' is Off
 
Then
   - No Actions - (To add one, press 'Action')
 
Else
   - No Actions - (To add one, press 'Action')
 
This program is true if door closed, otherwise false if door is open.
 
 
 

Use programs to set a variable based on the sensor, and set the init value for the variable too.  Then base your programs off the variable instead of the actual status of the sensor.

That's what I'm doing. It provides a reliable way to track the door. Only gotcha is if the door state changes while the ISY is offline, but it fixes itself next door state change. Worth mentioning, it needed two programs. On looks for 'On' setting the variable and init to 1 in the 'Then' - and the second looking for 'Off' setting the variable and init to 0 in the 'Then'. Using Else can cause the issue to propagate to variables if the device is triggering on boot with a null value.

Edited by MWareman

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.