Is it possible to recall the last dimmer intensity when using on/off status on a dimmer instance? Now on/off uses 100%/0% intensity, I would prefer that the status „on“ would recall the last used intensity of a dimmer instance. (Or in the event of a power failure all dimmer instances use the last know intensity when turning back on when power has been restored.)
I think the missing answers are related to your missing input .
As mentioned by Boui, you can save an old value in symcon and try to set your dimmer to this value, when you switch the dimmer on.
But with this approach it depends on your hardware, which normaly store the last value. If not and you click only on a get 100%, a script can react and set a lower/old stored value. But that will at the end a bit „flashing“ for you bulb.
If you provide some hardware info, we can try to find a „workaround“ .
Thanks for your reply. The reason for my lack of input is probably because I really don’t now where to begin. My previous home automation software did this out of the box (just a checkbox for the dimmer instance to activate the settings I described).
I’m using an Eltako FUD14 dimactor and I guess it saves the „last known intensity“ somehow. The physical (wireless) switches behave as I described in the 1st post. I hope this helps. If not, ask away
That’s a strange use case. Dimmers don‘t have a On/Off-Button. You can create a boolean (your switch) and assign the old value when triggered.
Similar to my motion detectors but I switch to a fixed value.
The wireless pushbuttons sends on/off when pushing the button up/down (using the saved intensity for on), and you have to hold the pushbuttons up/down to increase/decrease the intensity.
I’m trying to Symcon to act in the same as the wireless pushbuttons.
While the „Virtual Button“ can be a good work-around, adding „Virtual Buttons“ for every dimactor and integrating these extra Virtual Buttons for all dimactors is a lot of work. I think I would prefer a solution using the (native) possibilities Symcon has to offer. A „custom action“ that triggers a script executing something like this:
„If requested action is „off“, save Intensity value to some variable, when successful change „status“ to „off“. If requested action is „on“, load intensity value from saved variable. If intensity <> 100 and intensity <> 0 change „intensity“ to „variable“, else change „status“ to „on““.
Is this feasible?
I don’t think my suggestion (or request?) is that strange. Isn’t there some user who made a script like this before, so I can take a look and learn how to achieve this in Symcon (PHP)?
A very helpful Symcon user, @Attain , made two scripts for me. One script used as custom action on the „Status“ variable, and one script triggered on change of the „Intensity“ variable. The two scripts can be used on all the dim instances. @Attain even helped me when the script wasn’t triggered by the „Google Assistant“, and edited the script to provide for „Google Assistant“. The scripts are more complex than I originally anticipated.
Thank you very, very much @Attain. I couldn’t have come up with this fix myself.