have this in my home.items
Group:Contact Sensor_Garage “Garage Door [%s]” {mqtt="<[broker:/openhub/GarageESP/Garage_Door:state:default]"}
I have MQTT.fx
and i can see
openhub/GarageESP/Garage_Door and its value 1 or 0
so that telling me the MQTT is doing it thing
openHAB log save
Binding configuration of type ‘mqtt’ of item ‘Sensor_Garage’ could not be parsed correctly.
mqtt.cfg
broker.url=tcp://192.168.1.24:1883
What manual should i be reading
reading this one
http://docs.openhab.org/addons/bindings/mqtt1/readme.html
its going over my head
THE FIX IS
found and other config file
in /opt/openhab2/userdata/config/org/openhab/mqtt.config it had 2 connecting in there
rlkoshak
(Rich Koshak)
2
You cannot link a binding to a Group. Remove the “Group:” part of the Item definition.
I recommend reviewing the [Items docs].(http://docs.openhab.org/configuration/items.html).
Secondly, you will probably have to add a MAP transform to convert the 1 and 0 to OPEN CLOSED.
Start with the [Beginner’s Tutorial] (]http://docs.openhab.org/tutorials/beginner/index.html) and then move on to the manual.
Thanks Rich that Fix it sort of I’m getting data some times
when i look at the log i can see this
MQTT connection to ‘broker’ was lost: Connection lost : ReasonCode 32109
Stop Looking I fix IT happy happy camper
found and other config file
in /opt/openhab2/userdata/config/org/openhab/mqtt.config it had 2 connecting in there
1 Like