Hi everyone,
Iam running OH2.5.12 on a raspi Pi3 with mosquitto installed on the same device.
Connected to mosquitto is also a lawn mower (Robonect).
- OH is successfully connected to mosquitto as well as robonect.
- via MQTT Explorer I can verify that all topics of robonect are available with valid values and updated frequently.
In OH I configured the following thing:
Thing mqtt:topic:greenkeeper "Aussen_Garten_Maehroboter" (mqtt:broker:mqtt_ob) {
Channels:
// ### Battery
Type number : battery "Batterieladezustand" [ stateTopic="greenkeeper/mower/battery/charge"]
// ### WLAN
Type string : wlan "WLAN Signal" [ stateTopic="greenkeeper/wlan/rssi"]
}
The items are configured as following:
String Aussen_Garten_Maehroboter_WlanSignal "WLAN Signal [%d dB ]" <qualityofservice> {channel="mqtt:topic:greenkeeper:wlan"}
Number Aussen_Garten_Maehroboter_Battery "Batterie [%d %%]" <battery> {channel="mqtt:topic:greenkeeper:battery"}
For some reason “Battery” gets updated without problems but “Wlan” never ever got any value though the topic is updated regularly.
This is just an excerpt, I have about 15 more channels where I can see the same issue. 10 show correct values the other 5 just stay undefined for ever.
OH and Mosquitto logs show no errors at all.
Any ideas on that ?
Thx for the help in advance.