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

Allow System settings to be used in actions #32

Open
w-le opened this issue Aug 23, 2022 · 1 comment
Open

Allow System settings to be used in actions #32

w-le opened this issue Aug 23, 2022 · 1 comment

Comments

@w-le
Copy link

w-le commented Aug 23, 2022

Currently when defining an Action, I am restricted to using only static values as Module exec parameters. Conditions are restricted to only that and Module status variable values.

But I would love to use the values of System (and maybe even Logic Module!) settings as variable values, for Actions at least.

Example use case:
There are 100 Systems (rooms), each with unique Lighting IDs, controlled by the same Lighting Driver. Every System has a unique setting e.g. lighting_id: 323
If I could use that setting in the Trigger Action "Turn on room lights when x", then I can avoid having to write a logic driver that abstracts the lighting control for the room (or having to create a trigger with static values for EACH room)

Screen Shot 2022-08-24 at 12 10 38 am

.
@w-le w-le changed the title Allow System settings to be used in conditions and actions Allow System settings to be used in actions Aug 23, 2022
@w-le
Copy link
Author

w-le commented Aug 31, 2022

Steve has mentioned that implementing this would be very hard and that since Node RED integration is on the roadmap, that Triggers can be kept for more simple scenarios which won't need to access system settings (those would be implemented as Node RED automation instead).

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

1 participant