Hi All,
Apologies if this is in the wrong section,
First all let me say thank you to the creators of OpenHAB, I’ve only been tinkering with it for a few weeks & already see the amount of work & effort already put in!
Hopefully my issue is a simple Items/Sitemaps configuration problem,
Here’s my boats setup
OpenHab 2 installed on an Odroid C1 running Ubuntu 14.04.5 LTS.(using apt-get install openhab2-offline)
with MQTT binding installed under PaperUI (Add-Ons>Bindings & also Persistence)
This also has Mosquitto (version 1.4.10 - Also apt-get installed)
I’ve successfully configured the MQTT broker which is pulling temperature sensor information via wifi from a NodeMCU ESP-12E with ESP Easy firmware.
The node is reporting in to the MQTT broker ok - Node2 is the name of the sensor, Boat/Temperature the Channel
odroid@odroid:~$ mosquitto_sub -d -t /Node2/Boat/Temperature
Client mosqsub/11718-odroid sending CONNECT
Client mosqsub/11718-odroid received CONNACK
Client mosqsub/11718-odroid sending SUBSCRIBE (Mid: 1, Topic: /Node2/Boat/Temper ature, QoS: 0)
Client mosqsub/11718-odroid received SUBACK
Subscribed (mid: 1): 0
Client mosqsub/11718-odroid received PUBLISH (d0, q0, r0, m0, ‘/Node2/Boat/Temperature’, … (5 bytes))
12.00
I’ve added the item in as follows
Number Temp “Temperature [%.2f F]” (Sjoukje) {mqtt=“<[mosquitto:/Node2/Boat/Temperature:state:default]”}
Sitemap is very minimal currently!
sitemap default label=“Sjoukje Sensors”
{
Frame label=“On-board Temperature” {
Text item=Temp
}
}
I don’t get any sensor information.
I’ll be adding more once I work this out - the plan is to have a few water sensors in the boat hull, a relay for the heating system, plus water tank level sensors, I’ve already configured RGBW’s with a MiLight controller.
Can anyone point me in the direction of what I’m doing wrong with the MQTT binding?
Thanks
James