Hi all,
I’ve switched to Openhabian 2.3.3 a few days ago and setup the new knx2 binding.
Nearly everything works as expected, but I´m struggling to forward some values from other bindings, like Xiaomi Mihome-, Wunderground-, NTP-binding to KNX.
With the old KNX-binding, there was no problem, all items were forwarded to the specific GA’s.
Some of my items look like this:
Number Xiaomi_Humidity_Bad <humidity> (gXiaomiGateway) { channel="mihome:sensor_ht:a764dd18:humidity", knx="9.007:12/4/0"}
Number:Temperature Temperatur_aussen "Current temperature [%.1f %unit%]" <temperature> {channel="weatherunderground:weather:CGN:current#temperature", knx="9.001:12/0/0"}
DateTime NTPServer_DateTime "Datum und Zeit" {channel="ntp:ntp:NTP:dateTime", knx="10.001:12/1/0"}
String NTPServer_String "Datum und Zeit" {channel="ntp:ntp:NTP:string", knx="11.001:12/1/1"}
But nothing appears on the KNX-Bus. In Paperui and Basic UI the item values are all shown correct. I’m wondering if the way to forward to KNX has changed? I was seaching for a solution, but I could not find anything that helps me. So, I tried to add the channels of the GA’s above to the knx.thing.
The channel looks like this:
Thing device Weather_GA "Wetterbinding Gruppenadressen KNX" @ "KNX"
{
Type number-control : LocalWeather_CurrentTemperature "Aussentemperatur" [ ga="9.001:12/0/0"]
}
Thing device Xiaomi_GA "Xiaomi Gruppenadressen KNX" @ "KNX"
{
Type number-control : XiaomiAqaraBad_Temperature "Temperatur Aquara Bad" [ ga="9.001:12/4/1"]
Type number-control : XiaomiAqaraBad_Humidity "Luftfeuchtigkeit Aquara Bad" [ ga="9.007:12/4/0"]
Type number-control : XiaomiAqaraKeller_Temperature "Temperatur Aquara Keller" [ ga="9.001:12/4/3"]
Type number-control : XiaomiAqaraKeller_Humidity "Luftfeuchtigkeit Aquara Keller" [ ga="9.007:12/4/2"]
}
Thing device NTP "NTP Data" @ "KNX"
{
Type datetime-control : time [ ga="10.001:12/1/0" ]
Type datetime-control : time [ ga="11.001:12/1/1" ]
}
For example, if I try to read 12/4/0 via ETS, log throws out following:
22:04:45.355 [DEBUG] [calimero.link.224.0.23.12:3671 ] - indication 0.0.1->12/4/0 L_Data.ind, low priority hop count 4, tpdu 00 00
22:04:45.391 [DEBUG] [calimero.link.224.0.23.12:3671 ] - indication 1.1.62->12/4/0 L_Data.ind, low priority hop count 5, tpdu 00 40 00 00
22:04:45.391 [DEBUG] [x.internal.handler.DeviceThingHandler] - Thing ‘knx:device:KNXROUTER:Xiaomi_GA’ received a Group Write telegram from ‘1.1.62’ for destination ‘12/4/0’
22:04:45.411 [INFO ] [smarthome.event.ItemCommandEvent ] - Item ‘XiaomiAqaraBad_Humidity’ received command REFRESH
22:04:45.425 [WARN ] [ihome.handler.XiaomiSensorBaseHandler] - Cannot execute command - Sensors by definition only have read only channels
22:04:45.430 [INFO ] [smarthome.event.ItemCommandEvent ] - Item ‘XiaomiAqaraBad_Humidity’ received command 0
22:04:45.440 [DEBUG] [x.internal.handler.DeviceThingHandler] - None of the configured GAs on channel ‘knx:device:KNXROUTER:Xiaomi_GA:XiaomiAqaraBad_Humidity’ could handle the command ‘0.00000000’ of type ‘DecimalType’
22:04:45.451 [INFO ] [smarthome.event.ItemStateChangedEvent] - XiaomiAqaraBad_Humidity changed from 68.06999969482422 to 0
Honestly, I don’t know what to do with this. Can someone pleae give me some advice what could be wrong and how to forward to the new knx binding? Thanks in advance.