Hi there,
Im just exploring OH3 and wow - this is just awesome! Great work!
Since there is no mysensors binding I have started to switch everything to mqtt, this is workin great for reading items but I could use some help for publishing
My things:
Thing topic Wohnzimmersensor "Wohnzimmersensor" @ "Portable" {
Channels:
Type number : temp "Temperature" [ stateTopic="MYS_pub/49/3/1/0/0", unit="°C" ]
Type number : pressure "Pressure" [ stateTopic="MYS_pub/49/1/1/0/4"]
Type number : humidity "Humidity" [ stateTopic="MYS_pub/49/2/1/0/1"]
Type number : aqi "Air Quality" [ stateTopic="MYS_pub/49/4/1/0/37"]
Type number : light "Light" [ stateTopic="MYS_pub/49/0/1/0/23"]
Type number : switch_on "schalter an" [ commandTopic="MYS_sub/49/1/1/0/1"]
Type number : switch_off "schalter aus" [ commandTopic="MYS_sub/49/1/1/0/2"]
}
Items:
Number Wohnzimmer_BME680_humidity "Humidity Wohnzimmer BMW680[%.1f %%]" (g_Wohnzimmer_BME680_Sensor) [ "Measurement" , "Humidity" ] {channel="mqtt:topic:Mosquitto:Wohnzimmersensor:humidity"}
Number Wohnzimmer_BME680_temperatur "Temperatur Wohnzimmer BMW680[%.1f °C]" (g_Wohnzimmer_BME680_Sensor) [ "Measurement" , "Temperature" ] {channel="mqtt:topic:Mosquitto:Wohnzimmersensor:temp"}
Number Wohnzimmer_AirQuality "AirQuality Wohnzimmer [%d]" (g_Wohnzimmer_BME680_Sensor) [ "Measurement" , "CO2" ] {channel="mqtt:topic:Mosquitto:Wohnzimmersensor:aqi"}
Number Wohnzimmer_Licht_index "Wohnzimmer Helligkeit" (g_Wohnzimmer_BME680_Sensor) [ "Measurement" , "Light" ] {channel="mqtt:topic:Mosquitto:Wohnzimmersensor:light"}
Switch Wohnzimmer_Bild_an "Wohnzimmer Bild an" {channel="mqtt:topic:Mosquitto:Wohnzimmersensor:switch_on"}
Switch Wohnzimmer_Bild_aus "Wohnzimmer Bild aus" {channel="mqtt:topic:Mosquitto:Wohnzimmersensor:switch_off"}
The channels to read are working fine but the publish item does not do any effect.
I can trigger the item with MQTT.fx with a MYS_SUB/49/1/1/0/2 -> 1 command
Any hints what I’m doing wrong?
thanks for you help
MM