Announcement

Collapse
No announcement yet.

how to reset list for Toggle Device

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to reset list for Toggle Device

    I use a dimmer for a bedroom closet light, with a sensor on the door. One event turns it on to 1% when the door is opened, and another turns it off when closed.
    I use an ET Toggle Device event to watch for scene triggers from the dimmer; it has 25% and ON.
    So, if I open the door, and want a bit more light, I tap the dimmer. I want it to go to 25% -- but, it remembers where it was, and goes to the next setting (which could be ON).

    I tried to find a way to 'reset' this list. In the ET user guide, I read (what seems to be) a way to do what I want: in the event, check "Use closest toggle value ..."
    But, it doesn't do what I expect (go to 25%, which is closest to 1%). It goes ON, then another tap sets it to 25% (even if it was ON the previous time).

    The guide states that the values have to be 'control and status' (meaning the device that the event sets, correct?) It sets the 'dimmer' child of that node; off, the dim range, and on are all set to 'both'.

    Can someone explain what I'm doing wrong here, and how to get Toggle Device to work how I want?

    #2
    if "Use Closest Toggle value as reference..." is checked and if the current value is 1%, then it will work as if it was already set to 25% (as 1% is closer to 25% than 100%=On), so the next toggle action set it to On=100%

    To do what you want I will either
    (a) add a toggle choice of 1% at the beginning of the list, so that when you tap the dimmer th next toggle choice is 25%
    or
    (b) check the second advanced option "Use Range equivalency" and map the On control to something like 1% to 5% range, so that when the value is 1% it thinks the current toggle choice is On

    Comment


      #3
      I would like the ability to have the toggle progression time-out and reset to the first choice after a certain time frame. So if I tap twice and then a few minutes later tap again I'd like it to go back to the first toggle settings and not the third.

      I've had to create a complicated dance with a counter, timers and several events to get this working.
      HS3 SEL running Pro Edition 3.0.0.531 on Ubuntu 18.04, mono 5.20, 656 devices, 209 events.
      Plug-Ins: Chromecast, Device History, EasyTrigger, Ecobee, JowiHue, LutronCaseta, MeiUnifi, PHLocation2, Pushover 3P, SDJ-Health, Sonos, WeatherFlow, weatherXML
      Scripts: SparkMan's Lock Event, 5 of Jon00 scripts.

      Comment


        #4
        Originally posted by spud View Post
        if "Use Closest Toggle value as reference..." is checked and if the current value is 1%, then it will work as if it was already set to 25% (as 1% is closer to 25% than 100%=On), so the next toggle action set it to On=100%

        To do what you want I will either
        (a) add a toggle choice of 1% at the beginning of the list, so that when you tap the dimmer th next toggle choice is 25%
        or
        (b) check the second advanced option "Use Range equivalency" and map the On control to something like 1% to 5% range, so that when the value is 1% it thinks the current toggle choice is On
        I chose (a).
        I tried it, and realized a benefit: I could set it to the original dim, if I like. So, maybe I needed a bit more light, but then want to go back to dim.

        Honestly, I didn't really understand the explanation for this feature (I just tried it). With 'Use closest toggle value ...' checked, I *thought* that the toggle function would compare the current setting (i.e. 1%) to the toggle list, and pick the closest. Apparently, it 'pseudo sets' that value, so then the first tap goes to the next entry in the list.

        Comment


          #5
          Originally posted by MichaelK View Post

          I chose (a).
          I tried it, and realized a benefit: I could set it to the original dim, if I like. So, maybe I needed a bit more light, but then want to go back to dim.

          Honestly, I didn't really understand the explanation for this feature (I just tried it). With 'Use closest toggle value ...' checked, I *thought* that the toggle function would compare the current setting (i.e. 1%) to the toggle list, and pick the closest. Apparently, it 'pseudo sets' that value, so then the first tap goes to the next entry in the list.
          I guess it could be worded better.
          Here is the rationale behind this feature.
          Imagine you have a dimmer, and you create a toggle action for values 0%, 50%, 100%. Now the dimmer is manually set to 49% by some other way, on the next toggle you probably want it to go to 100% and not 50%, so that feature allow that by considering 50% as the current value (i.e. the reference) because it's the closest choice to 49%, and then the next toggle would set it to 100%

          Comment

          Working...
          X