Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rules Engine - increase/decrease numeric property by a fixed increment #1923

Open
Arzachena opened this issue Jun 3, 2019 · 3 comments
Open

Comments

@Arzachena
Copy link

1.I have a Hue bulb and a Hue on/off /dimmer switch. In the Rules screen I have 2 rules so that the on and off buttons control the bulb state. But when I try to set up rules for the “increase/decrease brightness” buttons (event 2 and event 3) the bulb thing only allows me to set the brightness to a certain fixed level. What I need is to be able to set it to its current level + a percentage.

@jfrohn
Copy link

jfrohn commented Feb 2, 2020

This would be also very helpful for me! Are there already plans to implement this?

Additionally I'd like to be able to toggle binary states for a combined on/off button, e.g. what you can find on the Ikea Tradfri remote: https://www.ikea.com/gb/en/p/tradfri-remote-control-30443124/

@kgiori
Copy link
Contributor

kgiori commented Jan 30, 2021

Try using the "Followers" add-on. Then you can specify a range from one thing to be applied to a range on another thing. The ranges don't even need to match.

@benfrancis
Copy link
Member

This would be also very helpful for me! Are there already plans to implement this?

We're trying to keep the rules engine UI as simple as possible. I'd say that a reasonable goal for the rules engine UI is that 80% of rules can be set with the simple drag and drop UI, and the other 20% require a custom add-on to do something special. My gut feeling is this use case of increasing/decreasing the value of a property by a fixed increment falls into that 20%. But if anyone has ideas for how to incorporate this into the UI without adding too much complexity then I'd be happy to review designs.

@benfrancis benfrancis changed the title Rules Engine - need more possibilities for setting property of dependent Thing Rules Engine - increase/decrease numeric property by a fixed increment Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants