Jump to content

Open/close status after reboot


frank

Recommended Posts

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

Posted

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

Posted

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

 

  • Like 1
Posted (edited)

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
  • Like 1
Posted (edited)
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
Posted
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

Posted
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...  ;)

  • Like 1
Posted

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

Posted (edited)
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
Posted

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

Posted (edited)

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
Posted

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

Posted
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
Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...