I/O Linc Garage Door sensor status (opposite)

I’m running the nightly build of Altsteon on a Veralite. I have a Insteon Garage Door Control and status kit controlled primarily by a keypadlinc. The I/O Linc shows the correct status, green light on when door is closed, and off when door is open. The scene button on the KPL reports correctly, light on when door is open and off when door is closed. I created the device and all three devices added in the MCV UI, sensor, switch, and “garage door”. My sensor icon in the UI reports the opposite of the garage door status. It shows open when the door is closed and closed when the door is open. I set a notification (Prowl) for when the door opens however, the notification is only sent when the door closes. The I/O Linc itself and keypadlinc recognize the correct state of the door, just not the UI. Any ideas? Thanks

I do not have the sensor of my IOLinc hooked up, but I am hoping to do that in the next week or 2.

In the meantime, can you poll the device from the cli? Cmd : AA.BB.CC poll AA.BB.CC:0023,00 - Executing forced poll. AA.BB.CC:0049,02 - Sensor is active. AA.BB.CC:000A,02 - Contact is open.
Replace AA.BB.CC with your Insteon device ID.

Cmd : 23.D2.DE poll
23.D2.DE:0023,02 - Executing forced poll.

23.D2.DE:004A,02 - Sensor is inactive.

23.D2.DE:000A,02 - Contact is open.

Cmd :

The contact was closed when I polled it.

Cmd : 23.D2.de poll
23.D2.DE:0023,02 - Executing forced poll.

23.D2.DE:0049,02 - Sensor is active.

23.D2.DE:000A,02 - Contact is open.

Polled again when it was open.

Hmm, ok, so that looks like it is reporting correctly and being interpreted correctly.
So just so I’m sure, when you see23.D2.DE:004A,02 - Sensor is inactive. the icon on your dashboard is of an open door, and whatever scene is tied to that trigger gets fired?

There were some fixes for the IOLincs by fba in late July.
I’d suggest you upload the latest I_InsteonIOLinc.xml. I attached it here.

*Edit: Oops…wrong copy/paste.

I uploaded the file and I’m still getting the same results. When the door is open, my icon shows the door is closed. I polled it with the door open and icon changed to show it was open. I closed the door and it stayed open, it didn’t change to closed. When I opened the door again, the icon then closed (icon door) as soon as the contact opened. Hope that made sense…

Ouch, my head hurts from reading that! ;D

When you are watching the command line, without polling, do you see notifications that the door state changed?

I wonder if somehow a link to/from the PLM/IOLinc got wiped out?

:slight_smile: Sorry for that…

23.D2.DE:0049,02 - Sensor is active.

23.D2.DE:0049,00 - Sensor is active.

23.D2.DE:004A,02 - Sensor is inactive.

23.D2.DE:004A,00 - Sensor is inactive.

I manually closed and opened it.

Wait…I’m really confused now…perhaps we should take this offline.

But for others reading, earlier when it was closed and you polled, you got: 23.D2.DE:004A,02 - Sensor is inactive
then when it was open and you polled, you got: 23.D2.DE:0049,02 - Sensor is active.

But more recently, you said you closed and opened, and got: 23.D2.DE:0049,02 - Sensor is active. (I assume this was triggered by the closing of the door) 23.D2.DE:0049,00 - Sensor is active. 23.D2.DE:004A,02 - Sensor is inactive. (I assume this was triggered by the opening of the door) 23.D2.DE:004A,00 - Sensor is inactive. which seems to be the opposite of what you said before?

But you were describing the contact? Not the door? Where/how is your contact mounted?
And is it a Normally Closed or Normally Open contact?

The sensor itself is mounted on the top of my garage door. When the door closes, the sensor and magnet meet and should report in the UI as closed. However, when the sensor and magnet open/separates (door opens) the UI reports the door is closed. I get the door closed icon. For the second post, I just removed the magnet from the door itself and held it next to the sensor (closed) and removed it moments later (open). I guess the contact is normally closed since it’s on the garage door?

Since i don’t have mine installed yet, I am just going by what I can gathered from the manual.
Did you use the contacts provided by SmartHome for the kit? Or did you use your own set? They might be the opposite kind.

While I’d rather determine the root cause, if the ONLY thing that is messed up is the GUI, AND you only have the 1 IOLinc, you/I can modify the I_InsteonIOLinc.xml file (swapping 0 for 1 and 1 for 0 in the sensor portion).

My garage door contact has shipped, and should be arriving before the weekend. If you can wait until then, that would be great.

I do only have the one IOLinc and it is only the UI. The actual IOLinc reports correctly with the green status light and my keypadlinc reports correctly also. I can wait for yours to arrive, no problem…Thanks once again!

I have two I/O Lincs, but am not using the sensor inputs. The problem with mine is that when I turn the relay on or off from the UI the I/O linc responds right away but the UI takes a long time(minutes) before it actually reports the correct status unless I manually poll the device. If I manually poll the I/O link from the UI the status reports appropriately, otherwise, like I said above there is a long delay. Maybe this is the same problem you are having, just that the UI is not reporting the status instantly.

I stopped by the electronics store and got a sensor that can be Normally Open (NO) or Normally Closed (NC).

Given that the SmartHome documentation states “The I/O Linc Sensor Status LED should turn on if the sensor is closed or turn off it the sensor is open” I used the NC screws, which means the green light is on when the door is closed, and off when the door is open.

Here are my results:

Scenario A

  • steady state
  • door is physically closed
  • sensor magnets are together
  • green status light is ON
  • icon shows closed

Cmd : aa.bb.cc poll aa.bb.cc:0023,02 - Executing forced poll. aa.bb.cc:004A,02 - Sensor is inactive. aa.bb.cc:000A,02 - Contact is open.

Scenario B

  • steady state
  • door is physically open
  • sensor magnets are separated
  • green status light is OFF
  • icon shows opened

Cmd : aa.bb.cc poll aa.bb.cc:0023,02 - Executing forced poll. aa.bb.cc:0049,02 - Sensor is active. aa.bb.cc:000A,02 - Contact is open.

Given all that, and you mentioned “I polled it with the door open and icon changed to show it was open” I really think your PLM and IOLinc aren’t linked with the IOLinc as a controller, and PLM as a responder. (They are, however, linked with the PLM as a controller, and IOLinc as responder.)

From the CLI I would do the following:

23.D2.DE enter_link_mode 1 -- wait a couple seconds plm start_all_link 0 1 -- wait for "all linking completed" message

Thank you PurdueGuy. I linked it from the CLI as suggested and now it is reporting the correct state. I think I may have originally linked it with the door open causing the trigger when the door closes, per the Insteon instructions. The KPL scene light is also working turning on when the door is open and off when the door closes.