- Platform information:
- Hardware: Raspberry Pi 3
- OS: Latest raspbian
- Java Runtime Environment: 11.0.12, Zulu
- openHAB version: 3.1.0
I have a rule that listens for Tradfri Scene button presses:
rule "Shortcut Button" when Thing "tradfri:0820:[gw-id]:65586" received update then logInfo("tradfri", "pressed") // Do other stuff, e.g. set scene based on current scene end
However this rule isn’t just triggered on button presses, but also when the gateway refreshes its config and therefore the button is not
UNKNOWN for a short moment. How do I get the status that is sent on button presses?
I don’t see any “Thing ‘tradfri:0820:[gw-id]:65575’ changed from […]” when the button is pressed in the log.