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.

Can’t set correct door state in program

Featured Replies

Replacing a door sensor from Insteon with one from Yolink. Noticed in program I can set “Door State” to “Closed” but can’t set it to “Open”. “Open” is a choice in the drop down it just stays “closed”, doesn’t apply it.

I set the line to “Door state is not closed” which works well just wondering about this.

IMG_4400.png

IMG_4399.png

Edited by drprm1

Solved by Panda88

Go to solution
  • Solution

What version are you using?

Can you send me a log with debug enabled - I looked in the code, and see no reason it would not work

The logic is really not in the node (it presets both values being possible) - it is interface not accepting it (I believe) - there should be no node action when creating the program.

Do you see unknown as an option in the drop down?

I can see a lot of Errors - it is a device being offline - maybe try to press the SET button

Nothing else obvious - I believe the issue relates to the console code where something has changed - I doubt we can get them to fix it as they are working on a new version

  • 4 weeks later...

Interesting ... I also ran into this problem. I installed a new Local Hub and went to update my programs so they used the status from that plugin, but in the process, I had to change all of the logic from options like "is Open" and "is Motion" to "is not Closed" and "is not No Motion". The "is not" option is a workaround, but not being able to specify status options like "is Open" and "is Motion" is kind of problematic.

Would it help if we opened a ticket with UDI and asked that they take a look at what's happening on their end? I'm not in any rush, and can certainly wait for them to address things in the new UI, but it would be nice to have that function/capability back at some point.

That's very similar to the issue I have with the vibration sensor. The select list shows options, but doesn't apply some of the choices.

43 minutes ago, Panda88 said:

it is only when you create a program - correct?

For me, yes. But I've only installed the plugin a few,weeks ago, and been trying this with 6.0.0, so no idea if it would be different with an older version.

16 hours ago, Panda88 said:

it is only when you create a program - correct?

It happens for me regardless of if I'm creating new programs or editing programs I've had for long time.

Ok - I think we found the issue - minor bug in AC (and partially my fault) - Issue occurred when I moved key parameter to ST variable (to show status in UDmobile). I left the original value variable with the same name(to ensure existing programs would still work, but AC cannot handle two variable with same name in the same node - I updated the variable names so ST (shows in UDmobile) gets the original name, and I appended a (legacy) to the name of the original variable. It should not affect existing programs as it updates automatically, but I would suggest moving to the ST parameter (without legacy) when creating/editing/modifying programs

Let me know if the issue is fixed in 1.6.10 - refresh store if it does not show yet

44 minutes ago, Panda88 said:

Let me know if the issue is fixed in 1.6.10

The issue seems to be resolved in the Yolink Local plugin for my motion, vibration, and contact sensors. Thanks!

  • Author

Updated and now have xx(legacy) as drop down option of status in devices

Ie. In programming Door sensors status has options for “Door status” and “Door status (legacy). Motion sensors have options for “motion status” and “motion status (legacy)….Same with vibration sensors

Are they the same programmatically?

IMG_4458.jpeg

They are two different variables representing the same result so they are programmatically equivalent.

I had to do this because people requested UDmobile to show motion in your case and UDmobile shows the ST variable (which for most nodes originally presented online)

To make existing program run, I had to maintain the original variable (now named legacy) and then assign the same value to ST

Online moved to a new variable in this case

Create an account or sign in to comment

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.