Does my MQTT item have a correct syntax?

Is this below item in correct syntax…?
I think I need at least change ohab:/ to mosquitto:/ as that is set on mqtt.cfg?

Item:
Dimmer masterbedr_blind1 “Rullgardin 1” { mqtt=">[ohab:/house/masterbedroom/rollerblind/0/set:command:*:${command}],<[ohab:/house/masterbedroom/rollerblind/0/status:state:default]" }

Sitemap:
Slider item=masterbedr_blind1

Trying to integrate this: http://www.instructables.com/id/Motorized-WiFi-IKEA-Roller-Blind/

mqtt.cfg:
mosquitto.url=tcp://localhost:1883
mosquitto.qos=1
mosquitto.retain=true
mosquitto.async=false

Getting messages:
[22:22:20] openhabian@openHABianPi:/etc/openhab2/sitemaps$ mosquitto_sub -d -h localhost -p 1883 -t "#"
Client mosqsub/3993-automaatio sending CONNECT
Client mosqsub/3993-automaatio received CONNACK
Client mosqsub/3993-automaatio sending SUBSCRIBE (Mid: 1, Topic: #, QoS: 0)
Client mosqsub/3993-automaatio received SUBACK
Subscribed (mid: 1): 0
Client mosqsub/3993-automaatio received PUBLISH (d0, q0, r0, m0, ‘/house/masterbedroom/rollerblind/0/heartbeat’, … (9 bytes))
id=387814
Client mosqsub/3993-automaatio received PUBLISH (d0, q0, r0, m0, ‘myfirst/test’, … (5 bytes))
Hello

But the fully integration is little bit confusing… MQTT Binding is installed with Paper UI

For sure you need to change ohab to mosquitto, as that is the name you defined in mqtt.cfg.

That one I´ve changed but not seeing any messages OpenHAB when using mosquitto_sub -d -h localhost -p 1883 -t "#"
I do have dimmer slider on sitemap. What to try next? :slight_smile:

Got it! :slight_smile:
I hadnt configured mqtt-eventbus.cfg

Added:
broker=mosquitto
statePublishTopic=openhab/out/${item}/state
commandPublishTopic=openhab/out/${item}/command
stateSubscribeTopic=openhab/in/${item}/state
commandSubscribeTopic=openhab/in/${item}/command