Triggering Channel-Events manually

Hello all,
i’m pretty new to openhab. At present i’m a little bit playing around with the astro-bindings addon.

Is it possible to trigger channel-events manually for testing purposes?
I defined a rule with an if-statement :

when
Channel 'astro:sun:home:set#event' triggered START
....

So, i want to trigger astro:sun:home:set#event, manually …

Best regards
Michel

If you want to test your rule, you can just add another trigger to it:
Create a dummy switch

Switch DummyTest

Your rule:

when
Channel 'astro:sun:home:set#event' triggered START or
DummyTest received command ON
....

Will execute the rule when you switch the DummyTest switch ON, via REST or UI

Ok, thtat’s a good way to at least test the rule.
For me it seems, that the event isn’t triggered, so it would have been nice to trigger it manually …

But thank you for your participation.

2 Likes