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.

Unstable program execution with zwave

Featured Replies

Posted

I am experiencing unstable performance when execution program controlling zwave devices.  I can have a program that turns on the device waits 5 min and then turns it off.  When execution the device will turn on but not turn back off after 5min.   

I have not upgraded to Zmatter - would that help?  I can control the device reliable from AC so it does not seems like a connection / range issue 

Any deas?

You're certain that the program conditions are not changing to false during the 5 minutes? Without seeing the program it sounds very much like that

Edited by paulbates

  • Author

The same program works with a zigbee device.  My understanding is once the program has triggered it will run to the end even if conditions change

Thanks

22 minutes ago, Panda88 said:

The same program works with a zigbee device.  My understanding is once the program has triggered it will run to the end even if conditions change

Thanks

Depends on how the program is written. Post your program and we'd be able to help. 

  • Author

Here is an example - on executes - off does not.  I realize I can add an off delay to fix it, but there are multiple other examples.  It is a Zooz ZE77 switch

image.png.b1654c75d38b55f66f13fd3f5ae83c15.png

In general is it not stable - I have other programs that just turn on, but it is not reliable with Zigbee devices (other are fine)

Is there a benefit to update to Zmatter - I have not do that yet

 

34 minutes ago, Panda88 said:

Sure, I can give it a try - but it worked before with a zigbee device I used (replaced it with a Zwave)

 

 

I'm confused. How did you try it with zigbee if you don't have the zmatter board?

6 minutes ago, Panda88 said:

I tried 2 programs - result is the same 

Can you post the 2 programs you tried? This time right click the program and paste as text.

The initial program seems that the IF would become false would then run the "ELSE" during the wait period. In the case the light wouldn't turn off. Technically shouldn't have worked with zigbee, but you say it did. Was it this exact program?

What @paulbates was suggesting with 2 programs is to trigger a program without an "IF" statement and allowing the "wait" to run as expected. 

What is the icon color of the program you posted above? (without testing/running it again). If it's partially red then it last ran false. Might have been false during the wait period thus not finishing the "Then" progression. 

  • Author

Here are the 2 programe - the second is disabled 

Even if I select run Then - on the second it does not work - it turns on but not off after 5 min

BTW - I faid it hard to believe that if conditions change after a program is triggered it will stop execution.  E.g. say I have a program to run at 10.00pm - One second later it is false so all execution must happen in 1 sec 

 

 

s DS Hallway Light Copy - [ID 00AB][Parent 000D]

If
        From    Sunset  - 15 minutes
        To      Sunrise (next day)
    And 'Alarm Panel / Motion DS hallway' is switched Opened
 
Then
        Run Program 's DS Hallway Test' (Then Path)
 
Else
   - No Actions - (To add one, press 'Action')
 

s DS Hallway Test - [ID 00AA][Parent 000D]

If

 
Then
        Set 'Z-wave / DS Hallway 9 / ZW 009 DSHW Multilevel Switch' On
        Wait  5 minutes 
        Set 'Z-wave / DS Hallway 9 / ZW 009 DSHW Multilevel Switch' Off
 Else
   - No Actions - (To add one, press 'Action')
 

 

@Panda88

Disable the first program and enable the 2nd program, then run the THEN clause in the 2nd program.

Does the light come on and then turn off after 5 minutes? 

What make switch are you using?

What type of load is connected to the switch?

I think you either have a bad switch, interference from the load, or poor communication between the switch and the controller.

  • Author

It is a Zooz Zen77 - 3 LED lights

It is not the only device having issues - Other Zwave devices have issues as well 

Also, I can turn it on and off using the mobile App without issues 

Can you turn it on and off from the admin console?

It's possible that one of the led bulbs has a bad/noisy driver. Try removing two of the bulbs then run the THEN clause.

What's your controller firmware and UI version?

 

 

Edited by Techman

One last thing you can try, delete and then recreate your two programs.

I've seen rare cases where a program can get corrupted.

  • Author

The program does complete (but light turned off this time) - It may be a link issue - maybe my card has an issue 

 

One of the questions above is whether or not the program is completing. 

This should be easy to tell adn possibly eliminate by watching the program execute in the AC.. it should show solid green for five minutes and then change to a background green for idle / true. This should also show in the summary tab as to last run time and last finish time.. 

My guess is a load interference. Can you remove the load and see if the switch goes on and off as expected? 

 

  • Author

The program is executing to the end 

In the tracelog I see ST changing to 1 and 5 min later back to 0 - it did work then 

I need to look once it does not work

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.