Advice on new feature - Trigger Home Assistant actions from Pattern Launcher #7828
-
Hi all, My final goal is to easily execute actions in my Home Assistant. The main thing I don't know how to tackle is how to parameterised the "trigger name" or "extra data" that is sent with the intent so that my receiver logic can decide which action to trigger when it receives the intent. I am willing to have MacroDroid or Tasker logic to have more control in the receiving side if needed. I see two options:
Both options have unknowns for me. Do you see how should they work? Do you see any other alternatives? Thank you all. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi! That seems like a really neat idea. Personally, I think creating new apps might work quite well. Not just for Pattern Launcher, but potentially it allows you to have quick shortcut apps in the main launcher as well. To do it, this might help: https://www.espruino.com/Bangle.js+First+App#app-info-timer-app-info So you could have an optional boolean value in the
Potentially it could also set an icon as well, but that's a bit more painful to do. If you're thinking of modifying the home assistant app then you could actually modify it to use the |
Beta Was this translation helpful? Give feedback.
-
If it's useful to you, the I can't remember but I might have local modifications to this somewhere, if it doesn't quite fit you need |
Beta Was this translation helpful? Give feedback.
Hi! That seems like a really neat idea.
Personally, I think creating new apps might work quite well. Not just for Pattern Launcher, but potentially it allows you to have quick shortcut apps in the main launcher as well.
To do it, this might help: https://www.espruino.com/Bangle.js+First+App#app-info-timer-app-info
So you could have an optional boolean value in the
ha
app's web interface that saidaddToLauncher
, and if set, it would do: