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.

Open/close status after reboot

Featured Replies

Posted

How do I handle a situation when the controller ( 994i) is rebooted and a remote (limited access) open/close sensor remains stationary, in last known state? Unless the door is either opened or closed the 994i shows a blank status and won’t indicate an on or off until the next time the door is opened or closed. Any suggestions would be greatly appreciated.

 

 

Sent from my iPhone using Tapatalk

Instead of exposing the sensor directly, you can expose a variable that is set by a program that reacts to your sensor state change.

Benoit

  • Author

Am a neophyte re variables, but real good at plagiarism. Could you outline the variables and program that would work?



Sent from my iPhone using Tapatalk

1. In the admin console, create a state variable

2. Create a program

If sensor=detected
then variable=1
else variable=0

3. Create Alexa spoken using the state variable you created. Expose it as a sensor, with a motion detected value of 1.

The idea is that your state variable will follow the state of your sensor, except that the state will be persistent.

Benoit

 

  • Author

Sorry Mercer, don’t understand how Alexa fits into what I am trying to accomplish


Sent from my iPhone using Tapatalk

  • Author

Do variables NOT get changed on a reboot?


Sent from my iPhone using Tapatalk

Variables can be initialized to a value that is saved in NVRAM and survives reboot. This can be done manually in admin console,. but also with programs.

To add to Benoit's program:

If 
    sensor=detected
then 
    variable=1
    variable init to 1
else 
    variable=0
    variable init to 0

That assumes a change doesn't take place during reboot. For me, reboots are as short as they are rare... either I updated firmware... or a power outage

Paul

 

 

Edited by paulbates

52 minutes ago, frank said:

Sorry Mercer, don’t understand how Alexa fits into what I am trying to accomplish


Sent from my iPhone using Tapatalk

The original post was made in the Echo / Alexa forum

Edited by paulbates

15 minutes ago, paulbates said:

Variables can be initialized to a value that is saved in NVRAM and survives reboot. This can be done manually in admin console,. but also with programs.

To add to Benoit's program:


If 
    sensor=detected
then 
    variable=1
    variable init to 1
else 
    variable=0
    variable init to 0

That assumes a change doesn't take place during reboot. For me, reboots are as short as they are rare... either I updated firmware... or a power outage

Paul

Good point, I had forgotten to set init too.

Benoit

2 minutes ago, bmercier said:

Good point, I had forgotten to set init too.

Benoit

I've had a theory that you've forgotten more about the the ISY than the rest of us know...  ;)

  • Author

Thanks Benoit and Paul. Am I correct in that I would substitute the variable in place of my previous “ if door sensor is on” statement? Is there a way to monitor in MobiLinc dashboard the state of the variable and possibly show this as either “on” or “off” rather than just a “1” or “0”?


Sent from my iPhone using Tapatalk

50 minutes ago, frank said:

Thanks Benoit and Paul. Am I correct in that I would substitute the variable in place of my previous “ if door sensor is on” statement? Is there a way to monitor in MobiLinc dashboard the state of the variable and possibly show this as either “on” or “off” rather than just a “1” or “0”?


Sent from my iPhone using Tapatalk

I think you can just use the idealized program above, it that's what you're asking. It depends how many additional statements your program has. If its simply notification, as listed above, then use the updated program and you track the variable instead of the sensor.

I don't have mobilinc so I can't help there. 


Paul

Edited by paulbates

  • Author

If I rebooted the 994i could it possibly recover the previous state of that node? Is there a method to force it to either on or off?



Sent from my iPhone using Tapatalk

No, its a limitation of insteon wireless sensors. The only way the query button in the admin console works with wireless sensors is when you press the set button on the device.

This lack of "supervisory" type capability is why insteon wireless sensors are not a good choice for creating security / alarm systems. The controller (ISY) can not directly query the sensor or reset it. They do send daily notices they're alive, either heartbeat, or sunrise/sunset for motion sensors, which makes them good for general automation.

Edited by paulbates

  • Author

Paul, what would be a better sensor that has a way to add an additional contact such as the Insteon sensor? If no way to add a aux contact I could clip the reed contact and add wires. I also have the zwave board in my 994i.


Sent from my iPhone using Tapatalk

Paul, what would be a better sensor that has a way to add an additional contact such as the Insteon sensor? If no way to add a aux contact I could clip the reed contact and add wires. I also have the zwave board in my 994i.


Sent from my iPhone using Tapatalk

I have a formal alarm system for security that can inform the ISY of basic home/away/alerts. I don’t get individual sensor status. I’ve had good luck with an iolinc on my garage door for 7 years... it’s big and clunky though.. not wireless.

If wireless is needed and you can use z-wave, hopefully other community members can chime in on wireless sensor options that meet what your requirements. You will want to establish a z-wave grid for your house for good sensor comms.

Paul



Sent from my iPhone using Tapatalk
  • Author

Does anyone have a better solution for an open/ close type sensor other than an Insteon?


Sent from my iPhone using Tapatalk

Does anyone have a better solution for an open/ close type sensor other than an Insteon?


Sent from my iPhone using Tapatalk
CAO Wireless Tags

Sent from my SM-G930W8 using Tapatalk

Aeotec zwave, I use the rechargable ones in my lake house and they have been working great.

Sent from my Pixel 2 XL using Tapatalk

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.