Is there a easy way to check if a rule has been triggered, what do u suggest?
Is there a way to “post” the rule name in the log when it triggers?
i see my event beeing triggered, i see my lights go on and i find such info in my log.
But there is nothing for me visible in the logs to see that all these items are linked in some way.
most adviseable would be my rule title.
2018-11-14 16:53:00.009 [vent.ChannelTriggeredEvent] - astro:sun:home:set#event triggered START
2018-11-14 16:53:00.058 [ome.event.ItemCommandEvent] - Item 'Timeroutdoor' received command ON
2018-11-14 16:53:00.069 [ome.event.ItemCommandEvent] - Item 'Buitenvoordeur' received command ON
2018-11-14 16:53:00.086 [ome.event.ItemCommandEvent] - Item 'Buitenzijgevel' received command ON
2018-11-14 16:53:00.105 [vent.ItemStateChangedEvent] - Buitenvoordeur changed from OFF to ON
2018-11-14 16:53:00.110 [vent.ItemStateChangedEvent] - Buitenzijgevel changed from OFF to ON
rule "Sunset Buitenverlichting aan"
when
Channel 'astro:sun:home:set#event' triggered START
then
Timeroutdoor.sendCommand(ON)
end
logInfo can be used anywhere in a rule, and good for troubleshooting rules especially when your trying to find what part of the rule is causing it to break.
I think your correct but you can always test the rule by replacing the when item with a proxy switch (so your not waiting all day) and test both ways. It’s possible the output of logInfo, from within a rule, will display whatever you have in " ".