Ad-Hoc / One Time Scripts #206
Unanswered
tthiery
asked this question in
Automations & scripts
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature
Why not allowing users in the dashboards (or also in the entities) to long click something and then have a magic script/automation feature which offers applicable blueprints. E.g. on a a button type the system may offer a option to run something for X mins and then switch off. On a meter type, the system may offer a count feature and on service function a execute in X minutes could be offered. These magic automations may then be run as one-time script using the existing framework or alternatively persisted as automation allowing quick creations of permeant automations.
Use cases
Keeping something on for a while is a everyday problem. In my case, I wanted the sprinkler in the garden to stay on for 20mins. But just this one time.
Current workarounds
Anything else?
Implementation wise the magic could be as simple as having blueprint inputs flagged as magic-input and matching them with the contextual element and the display them for selection in a popup. The remaining blueprint parameters you could then enter (hopefully just values). And the rest is mostly blueprint functionality already.
Beta Was this translation helpful? Give feedback.
All reactions