I’m using the latest OpenHAB2 on a raspberry pi 3 with the latest Mosquitto. In OpenHAB’s PaperUi view I installed MQTT Binding 2.4.0.
Under “Things” I was able to configure the MQTT Broker setting “Location” to “OpenHAB-Raspberry” and the “Broker Hostname/IP” to “localhost”. The “Things” view tells me, the “Status” is Online.
I’m also able to publish information via Mosquitto from the shell,so this is also working.
What I don’t know exactly is, how my further steps have to look like. I don’t have specific hardware running, but another Raspberry Pi that is responsible for opening and closing the valves of my irrigation system. The python script on my irrigation Raspberry Pi subscribes to /garden/irrigation and listens to the valve and its state. So I want to be able to switch on each of my 5 valves via OpenHAB.
I don’t know, how to add each valve to the OpenHAB 2 in Paper Ui, now. I already tried to add a Channel with “MQTT Topic” “/garden/irriigation”. All other settings are default.
In the “Configuration” menu, I don’t see “Items” as I saw it in several YouTube videos and tutorials. When I select “Sevices” in the menu, I always get a pop-up message “MQTT system broker conection org.eclipse.smarthome.mqttbroker”. When I click on “Manage” I’m not so sure, what to enter or if I need this at all.
Would be very kind if you could help me.
Thanks and kind regards,