Hi,
Thank you for your help, but i disagree: the Command
sendcommand(RgbwwColorZone1_Brightness, ON)
is working fine! If i install a Switch into my sitemap and change the “when”-vaiable to this Switch item, then the light is switching on (set brightness to 100) with this rule, if i use this item! So here is no mistake! But i will try it with your Tip to use “100” instead of “ON”
But if your example is working my you can post it to me (incl. Things, Item and Rule - configuration) my i am able to find my fault!?
But i will try it today with the Channel
Channel 'astro:sun:home:rise#event' triggered START
And i will ignore the Error-Message! My it works on my side also…
@lipp_markus My rule is not firing if the event channel is triggered START - exacly here should my problem! That this event seems not linked to the this event! But i don’t know why…
So for summarizing and using the community formating:
Here my current things:
astro:sun:home [ geolocation="xx.097227,x.128998", altitude=46, interval=60 ]
astro:moon:home [ geolocation="xx.097227,x.128998", interval=60 ]
My Items:
DateTime Sunrise_Time "Sonnenaufgang [%1$tH:%1$tM Uhr]" { channel="astro:sun:home:rise#start" }
DateTime Sunset_Time "Sonnenuntergang [%1$tH:%1$tM Uhr]" { channel="astro:sun:home:set#start" }
Number Azimuth "Richtungswinkel" { channel="astro:sun:home:position#azimuth" }
Number Elevation "Erhebungswinkel" { channel="astro:sun:home:position#elevation" }
String MoonPhase "Mondphase [MAP(de.map):%s]" <moon> { channel="astro:moon:home:phase#name" }
Number Total_Radiation "Strahlung" { channel="astro:sun:home:radiation#total" }
Number Diffuse_Radiation "Diffuse Strahlung" { channel="astro:sun:home:radiation#diffuse" }
Switch Sunset_Event "Sonnenuntergang" { channel="astro:sun:home:set#event"}
String Zodiac "Tierkreiszeichen [MAP(de.map):%s]" <sun> { channel="astro:sun:home:zodiac#sign" }
String DayPhase "Tageszeit [MAP(de.map):%s]" { channel="astro:sun:home:phase#name" }
Please notice i also tried with:
Switch Sunset_Event "Sonnenuntergang" {astro="planet=sun, type=set, property=start"}
But also without any success.
Here my current rule:
rule "example trigger rule"
when
Item Sunset_Event received update ON
then
sendCommand(RgbwwColorZone1_Brightness,ON)
end
Yesterday, the Event Trigger als also triggered to Start!
2017-06-24 21:51:00.005 [ChannelTriggeredEvent ] - astro:sun:home:daylight#event triggered END
2017-06-24 21:51:00.006 [ChannelTriggeredEvent ] - astro:sun:home:set#event triggered START
BUT there is no event where I can see that my item switch “Sunset_Event” will change to “ON” So the rule will not start! Normaly every state-change of the switch will logged into event - so i guess, that my mistake is in the when variable.The rule is not starting because the rule condition seems unfulfilled.
BR
Dennis