How to trigger a scene with mqtt? #2760
-
I'm wondering how a scene that is configured in zwave-js-ui can be triggered by a mqtt message. What mqtt topic do I have to use? And what payload is expected? I'm referring to this sentence in the Readme: "Scene Management: Create scenes and trigger them by using MQTT apis (with timeout support)" |
Beta Was this translation helpful? Give feedback.
Answered by
robertsLando
Oct 25, 2022
Replies: 1 comment 2 replies
-
Check: https://zwave-js.github.io/zwave-js-ui/#/guide/mqtt?id=z-wave-apis Specifically you should use
Topic: Just replace |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
mdilg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check: https://zwave-js.github.io/zwave-js-ui/#/guide/mqtt?id=z-wave-apis
Specifically you should use
_activateScene
with a payload like:Topic:
<mqtt_prefix>/_CLIENTS/ZWAVE_GATEWAY-<mqtt_name>/api/_activateScene/set
Just replace
xx
with your sceneID