Hi all,
I’ve got an odd issue with my MQTT setup where I need your help.
The situation: I’m trying to integrate Rhasspy as voice2command service. The communication to my openHab system runs via MQTT and I followed this guidance of @TRS-80 . I am using an external mosquito server.
My issue: I have setup the channel in the bridge over a text file like this:
Bridge mqtt:broker:mosquito [ host="server", secure=false ]
{
Thing topic sensoren {
Channels:
Type number : keller_temp "Temperatur Keller" [ stateTopic="keller/temp", retained=true]
Type switch : ir_tuner "TV Tuner" [ commandTopic="cmnd/sonoff/IRSend", on="{'Protocol':'RC5','Bits':12,'Data':0x20C}", off="{'Protocol':'SONY','Bits':15,'Data':0x540C}"]
...
Type string : rhasspy_intent_lights "Rhasspy Light" [ stateTopic="hermes/intent/ChangeLightState" ]
Type string : rhasspy_intent_time "Rhasspy getTime" [ stateTopic="hermes/intent/GetTime" ]
}
}
I linked the string channel to an item which the triggers a rule. All channels of the bridge work fine, but the ones for rhasspy.
String rhasspy_intent_getTime "%s" { channel="mqtt:topic:mosquitto:sensoren:rhasspy_intent_time" }
If I create the channel via the graphical display and link it to an item, it works (same broker, same MQTT State Topic with hermes/intent/GetTime).
Any ideas? What am I missing?