HABApp - listen to to ChannelTriggeredEvent?

It’s your time and effort but let me get this straight:
Instead of adopting to an actively maintained framework (HABApp exists since 7 years) you custom build hacky wrappers to adopt to a legacy framework that is not maintained any more (jsr223 jython with helpers).


No - it’s the same version. It just comes with a default folder configuration so it matches the openHAB folder layout.


You really need to read the docs more carefully - almost all your questions are answered by thoroughly reading the docs.
I’d suggest you do it like when upgrading to a newer version

Why do you name other people’s work hacky? Don’t be arrogant. In case you get upset when others ask for clarification, you better ignore it? That’s sad.

This is a minimal sample on channels - without a filter. The event appears in HAPApp_events.log, but the TestTriggers rule doesn’t get triggered:

class TestTriggers(Rule):
	def __init__(self, rule_name, on_event_funct):
		super().__init__()

		self.listen_event("homematic:HmIP-SMI55:3014F711A0001F9A498CA44E:0014D8A99109A0:1#BUTTON", self.on_event)

	def on_event(self, event = None):
		info(LOG, "TestTriggers received event {}", event)

[2024-12-09 09:12:24,441] [ HABApp.EventBus] INFO | homematic:HmIP-SMI55:3014F711A0001F9A498CA44E:0014D8A99109A0:1#BUTTON: <ChannelTriggeredEvent name: homematic:HmIP-SMI55:3014F711A0001F9A498CA44E:0014D8A99109A0:1#BUTTON, event: SHORT_PRESSED>