I want to send an receive data via MQTT. Receiving works fine, but sending don’t work at all. My Sitemap Item gets changed if I send Data with another device to that channel, but changing it in openHAB doesn’t send new data back. There are no erros or warnings in the log.
things file:
Bridge mqtt:broker:mosquitto [ host="192.168.3.5" ]{
Thing topic findus {
Channels:
Type number : findusLight "Grab beleuchtung" [ commandTopic="/backyard/findusGrab/lightMode", stateTopic="/backyard/findusGrab/lightMode" ]
}
}
items file:
Number iFindusGrabLicht "Grablicht" <light> (GF_BackYard) { channel="mqtt:topic:mosquitto:findus:findusLight" }
Sitemap
Selection item=iFindusGrabLicht mappings=[0="Aus", 1="An", 2="Gedenktag", 3="Weihnachtsbeleuchtung"]
- Platform information:
- Hardware: PC Engines APU2
- OS: Debian 9
- Java Runtime Environment: OpenJDK 1.8
- openHAB version: 2.5.3 / binding-mqtt - 2.5.3
- MQTT Broker: mosquitto 3.1