I ended up running daily snapshots to address some issues with Z-Wave and other updated bindings. Today I’m on openHAB 2.5.0 Build #1678.
For a couple snapshot releases now, there’s something weird happening with the TRADFRI binding. Everything still works, except being able to control the TRADFRI things from within OH2 (e.g., in a sitemap).
For instance, I can toggle a light on or off and even change its brightness, but the events aren’t going nowhere.
If I switch on a light, the event log displays:
2019-09-04 11:03:07.520 [ome.event.ItemCommandEvent] - Item ‘AT_Hall_CeilingLight_Toggle’ received command ON
2019-09-04 11:03:07.523 [nt.ItemStatePredictedEvent] - AT_Hall_CeilingLight_Toggle predicted to become ON
2019-09-04 11:03:07.541 [vent.ItemStateChangedEvent] - AT_Hall_CeilingLight_Toggle changed from OFF to ON
Resulting events are properly dealt with in triggered rules, however nothing happens at the Thing level. The light remains off. What’s also strange, is that the prediction algorithm kicks in now.
If I then switch on the light with a TRADFRI remote or with HomeKit, then the light will switch on, and the event log reports:
2019-09-04 11:03:35.362 [vent.ItemStateChangedEvent] - AT_Hall_CeilingLight_Dimmer changed from 0 to 10
2019-09-04 11:03:35.370 [vent.ItemStateChangedEvent] - AT_Hall_CeilingLight_ColorTemperature changed from NULL to 50
So it appears that something is broken in recent snapshots.
I tried deleting and recreating the gateway, resetting all gateway parameters in OH2, rebooting the gateway, but so far to no avail. It’s also confined to OH2 only as Homekit works.
I’m currently running openHAB 2.5.0 Build #1678 but it was also broken on earlier snapshot releases (I think the past 1-2 weeks).
I created an issue on GitHub:
Am I alone or are there others facing the same issue?