Jump to content

Slowing down eisy program execution


auger66

Recommended Posts

Posted

After a rough start, eisy is mostly functioning normally so I tackled a program running on the ISY that did a smooth fade to off in around three seconds. Not very elegant, but it worked perfectly. However, eisy executes the original program so fast it's like hitting a stop button. Here it is below.

Sonos volume fade off - [ID 0018][Parent 0001]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Set 'ST-Sonos / Bathroom' Group Volume 27%
        Set 'ST-Sonos / Bathroom' Group Volume 24%
        Set 'ST-Sonos / Bathroom' Group Volume 21%
        Set 'ST-Sonos / Bathroom' Group Volume 18%
        Set 'ST-Sonos / Bathroom' Group Volume 15%
        Set 'ST-Sonos / Bathroom' Group Volume 12%
        Set 'ST-Sonos / Bathroom' Group Volume 9%
        Set 'ST-Sonos / Bathroom' Group Volume 6%
        Set 'ST-Sonos / Bathroom' Group Volume 3%
        Set 'ST-Sonos' Pause All
        Set 'ST-Sonos / Bathroom' Group Volume 30%

I've tried:

  • Wait one second between steps
    • Way too slow
  • Wait zero seconds
    • As expected, not a noticeable change
  • Repeat 2 wait zero seconds
    • Unexpectedly very slow
    • I put repeat 1 before each of the volume steps so only the wait would repeat twice
  • Two wait or more zero seconds steps instead of repeat 2
    • Too fast again
  • Repeat 1 wait zero seconds
    • Same as wait zero seconds
  • Setting 1% volume increments
    • Appears to hammer the node server too much and too fast so the volume settings are all over the place after the program runs
      • I tried 2%. 3% steps in succession seems to be the maximum the node server can handle.

This is what I have now after all the experimentation. It's too step-y and too slow but the best so far on eisy. If I take the repeat 2s out, way too fast.

Sonos volume fade off - [ID 0018][Parent 0001]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Repeat 2 times
           Set 'ST-Sonos / Bathroom' Group Volume 25%
        Repeat 2 times
           Set 'ST-Sonos / Bathroom' Group Volume 20%
        Repeat 2 times
           Set 'ST-Sonos / Bathroom' Group Volume 15%
        Repeat 2 times
           Set 'ST-Sonos / Bathroom' Group Volume 10%
        Repeat 1 times
           Set 'ST-Sonos' Pause All
           Wait  1 second
           Set 'ST-Sonos / Bathroom' Group Volume 30%
           Wait  1 second
           Set 'ST-Sonos / Office' Player Volume 15%
 
Else
   - No Actions - (To add one, press 'Action')
 

I've also noticed some other programs and Insteon device status' aren't as reliable as they were on the ISY. Programs running too fast to be reliable? Don't know. I've made a lot of recent changes redoing my network closet so the problem could be related to that.

Although I've used UD devices for many, many years now, my programming tends to be pretty basic. Anyone have a suggestion here? 

@Michel Kohanim, any chance of an IoX wait enhancement to fractions of a second or some other way to slow a program down?

Thanks

 

  • Like 1
Posted

I've experienced programs running too fast as well.  I've had to insert wait 1 second in some programs, otherwise there were presumably some z-wave collisions with commands not executing.  The wait 1 second solved the issue, but it would be great to have some fraction of a second options.

  • Like 2
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...