german and stuff already cleared, then
- make sure, you use either
"
or'
(it seems, it is’
). - Please check your astro-config (I believe it’s still in PaperUI, so go to Configuration > Things > astro sun data and make sure, the channel “Sunrise” is named like you addressed it (you can use the neat Copy-icon):
- if that’s named, please make sure your “VirtualItemTestSwitch” is also addressed correct.
lastly some tips:
- Check your logs (it should read the changes and/or Errors connected with it)
- add some logging yourself:
rule "Test Astro"
when
Channel ‘astro:sun:home:rise#event’ triggered START
then
logInfo("astro logging", "I'm inside the rule")
sendCommand(VirtualItemTestSwitch,ON)
end
with this - you should see in the logs, what went wrong. If it’s misconfiguration within the rule, it should say righton. if it’s within the addressing of the channel/item, it should either not trigger at all, or throw an error, if the item is sendCommanded. Next tipp: if making the trigger at first without a Event, which is only once a day, you can use another trigger (like every Minute or a virtualSwitchItem), so you can make sure, the rule works and you can wait for the trigger.