Hi
I have OH2(tested on all repos, currently on stable) mosquitto installed and running on pi board using armbian. I have 3 clients connected to broker - MQTT.fx on win system, MQTT Dashboard on android phone and OH2 itself. I can post and read topics on phone, i cant do it on MQTT.fx but not on OH2 itself. OH just post topics but does’n recieve it. When i click button in oh i see how it changes on phone and mqtt.fx, but when i click button on phone i see it in mqtt.fx but in oh button doesnt move. Sorry for my bad english, its not my native. Here is my configs:
mqtt.cfg
mysensors.url=tcp://localhost:1883
mysensors.clientId=openhabmqtt
userdata\config\org\openhab\mqtt.config
mysensors.clientId="openhabmqtt"
mysensors.url="tcp://localhost:1883"
service.pid="org.openhab.mqtt"
mqtt.items
Switch phonetest (all) {mqtt=">[mysensors:phone/test:command:ON:ON],>[mysensors:phone/test:command:OFF:OFF],<[mysensors:phone/test:state:default]", autoupdate="true"}
Switch phonetest2 (all) {mqtt=">[mysensors:phone/test:command:*:default],<[mysensors:phone/test:state:default]"}
default.sitemap
sitemap main1 label="Main Menu"
{
Frame {
Switch item=phonetest label="phonetest"
Switch item=phonetest2 label="phonetest2"
}
}