Hi,
i had an light dimmer. Now i want to change the lightlevel with a remote to the actual level +10 or -10
for example: level is 50 -> button press -> level 60 -> button press -> level 70
is there a chance to do this with the "if-then" app? or witch oder ways recommended?
thx
Dimmer Level - higher or lower
Re: Dimmer Level - higher or lower
Unfortunatelly If-Then itself do not allow this. But you can add a code device that will do it and add it in If-Then.
You can also write special +N/-N module that will create appropriate vDevs itself based on a device and N. And yhen you can even publish it for others via our developer.z-wave.me
You can also write special +N/-N module that will create appropriate vDevs itself based on a device and N. And yhen you can even publish it for others via our developer.z-wave.me
-
- Posts: 4
- Joined: 07 Sep 2016 12:09
Re: Dimmer Level - higher or lower
ok, tanks for the reply
Re: Dimmer Level - higher or lower
Probably you have to create 10 "if-then" modules.Quallenboxer wrote:Hi,
i had an light dimmer. Now i want to change the lightlevel with a remote to the actual level +10 or -10
for example: level is 50 -> button press -> level 60 -> button press -> level 70
is there a chance to do this with the "if-then" app? or witch oder ways recommended?
thx
Code: Select all
if dimmer.level < 10 and remote.button1 = on then dimmer.level = 10
Code: Select all
if dimmer.level >= 10 and dimmer.level <20 and remote.button1 = on then dimmer.level = 20
Code: Select all
if dimmer.level >= 20 and dimmer.level <30 and remote.button1 = on then dimmer.level = 30
Re: Dimmer Level - higher or lower
For going upwards, and another 10 for downwardsProbably you have to create 10 "if-then" modules.
And repeat that for all dimmers....
What you actually need is a generic N-state Switch. They are around in the wild in physical form, but developers (also those of other systems!) seem to have difficulty to implement that concept. (I know it is not trivial)
-
- Posts: 4
- Joined: 07 Sep 2016 12:09
Re: Dimmer Level - higher or lower
hmmm.... i just had a look at the "if-then" app. It looks like there is no way to combine the if-statement with an AND operator. So i could only check "button pressed=on" but could not check "AND light level greater/smaller/between than".
So it doesn't work with the if-then app?!?
So it doesn't work with the if-then app?!?
Re: Dimmer Level - higher or lower
Did you look into the Logical rule app?
I don't have any dimmer, but on the interface of my radiator thermostats I see this: Don't know if dimmers have the same. It would be a nice generic feature if one could set the step size other than 1 in the configuration.
I don't have any dimmer, but on the interface of my radiator thermostats I see this: Don't know if dimmers have the same. It would be a nice generic feature if one could set the step size other than 1 in the configuration.
Re: Dimmer Level - higher or lower
yes, it was my mistake, it is the "Logical Rule" Module, not "if-then"Quallenboxer wrote: So it doesn't work with the if-then app?!?