Hi, I’m very new to openHub2 (installed yesterday).
I like to connect 2 Shelly 1 and 1 Shelly RGBW2 to OH2 via mqtt.
I’ve installed mosquitto and is running.
I need a very easy guide because mqtt is not clear to me…
Last thing: I’m moving to new home, so I cannot access to my MAC for now, only an IPad 2 or a linux PC at work, but out from my network so non openhab connection.
Thank you.
I’ve read that and a ton of other stuff regarding mqtt and shellys.
Most of the literature are oriented in the remote programming (aka files) and there are very poor docs for paperUI implementation of shellys (most are mix of files and paperui).
I’ve tested all the hints found but after the creation of the item chain (from broker to switch) I have no status change when switch on the item.
There are some things you simply cannot do through PaperUI. For example, you cannot create a sitemap through PaperUI.
So almost all examples and tutorials will be a mixture of text configs and GUI based configs.
Outside openHAB
Configure the Shelly to use MQTT and connect to your MQTT Broker
Verify that Shelly is sending messages to the MQTT Broker and reacts to messages send to the Broker to the correct MQTT topics
Inside openHAB
3. Install the MQTT binding
4. Create an MQTT Broker Thing
5. Create a Generic MQTT Thing
6. Configure Channels on the Generic MQTT Thing to subscribe and/or publish to the Shelly 1 MQTT topics
7. Create Items of the appropriate types and link them to the Channels on the Generic MQTT Thing
8. Put those Items on your sitemap or HABPanel.