- Platform information:
- Hardware: Raspberry Pi 3B+
- openHAB version: 2.4
Hi! I am using OH 2.4 with the MQTT binding for 2.x and I am currently setting up a Snips voice assistant.
Now I want to create a Thing (“Snips”) with two Channels (“Snips intent” and “Snips listening”); the latter one should be a Switch that turns on when Snips is listening and turns off when it is done.
Snips is broadcasting its state via MQTT; when it begins to listen it broadcasts a message with a dynamic payload (a session ID) to the topic
hermes/asr/startListening and when its done its broadcasting to
How can I configure the Channel so that it will listen to these two topics? I have set up other Channels for other things, but those always listened to one topic in which the state of the switch was broadcasted in the message; since it is not doing this here I dont know how to do it; I found information on this for the MQTT1.x binding, but none on the new one.
If anyone has a good idea I’d be really glad.