For my roller shutter control I would like to make sure that these do not go up before a certain time or go down after a certain time. In the earlier rules I have therefore calculates an earliest time and a latest time. With the new astro2.0 it has to go much easier according to instructions. Unfortunately, it does not work with me … Has anyone an idea what I do wrong:
Things:
astro:sun:jbhome [ geolocation="xx.xxxx,y.yyyy", interval=60 ] {
Channels:
Type rangeEvent : civilDawn#event [
earliest="06:15",
latest="08:00"
]
Type rangeEvent : set#event [
earliest="18:00",
latest="21:37"
]
}
Items
DateTime Sonnenunter "Sonnenuntergang [%1$tH:%1$tM]" (myAstro) {channel="astro:sun:home:set#start"}
DateTime Sonnenunter_rule "Sun set for rule [%1$tH:%1$tM]" (myAstro) {channel="astro:sun:jbhome:set#start"}
DateTime Sonnenunter_rule_e "Sun set for rule event [%1$tH:%1$tM]" (myAstro) {channel="astro:sun:jbhome:set#event"}
Result
2017-06-28 21:49:00.025 [ChannelTriggeredEvent ] - astro:sun:jbhome:set#event triggered START
So latest=“21:37” was ignored.