Hello gents,
I’ve switched from OH 2.2.0 to OH 2.3.0 and I tought it might be a good time to migrate to the new KNX 2.0 binding.
Things went a little worse than I expected and took a lot more time, let’s say, and I mean this as a warning to everybody switching from KNX 1.0 binding to 2.0, I spent a good part of the weekend completely rewriting my KNX configuration for the new hybrid Things / items configuration.
But that’s ok, I guess it had to happen at some time.
Now, my problem, all my dimmers were previously working in the KNX 1.0 binding but now none of them is working anymore.
After setting TRACE in the logs with “log:set trace org.openhab.binding.knx” I found this error:
21:05:28.581 [INFO ] [smarthome.event.ItemCommandEvent ] - Item ‘Luce_Camera_Matrimoniale_Dimmer’ received command 7
21:05:28.584 [TRACE] [x.internal.handler.DeviceThingHandler] - Handling command ‘7’ for channel ‘knx:device:bridge:act_dim_1:Luce_Camera_Matrimoniale_Dimmer’
21:05:28.598 [INFO ] [smarthome.event.ItemStateChangedEvent] - Luce_Camera_Matrimoniale_Dimmer changed from 0 to 7
21:05:28.602 [DEBUG] [x.internal.handler.DeviceThingHandler] - None of the configured GAs on channel ‘knx:device:bridge:act_dim_1:Luce_Camera_Matrimoniale_Dimmer’ could handle the command ‘7’ of type ‘PercentType’
That seems very strange to me as I think my dimmers are kinda standard, here’s some example GAs for my KNX configuration:
SET on/off - 2/0/17 dpt 1.001
GET state on off - 2/1/17 dpt 1.001
dimming command - 2/2/17 dpt 3.007
SET absolute dimming value - 2/3/17 dpt 5.001
GET absolute dimming value - 2/4/17 dpt 5.001
Therefor in my knx.things I have:
Type dimmer : Luce_Camera_Matrimoniale_Dimmer "Dimmer camera matrimoniale [%s %%]" [ switch="2/0/17+<2/1/17", position="5.001:2/3/17+<5.001:2/4/17", increaseDecrease="3.007:2/2/17" ]
and in my knx.items:
Dimmer Luce_Camera_Matrimoniale_Dimmer "Dimmer camera matrimoniale [%s %%]" <dimmablelight> (LIGHT) { channel="knx:device:bridge:act_dim_1:Luce_Camera_Matrimoniale_Dimmer" }
Any clues on what I might be actually doing wrong? I’m confused…
Many thanks!
Simone.