Things astro earliest and latest

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.

With PaperUI configured astro things this works without problems.
I could not get it to work with manual things files either …:slight_smile:

1 Like

I never tried configuring things for astro binding in Paper UI, I always have set them up with the things file! It works fine at least so far.
What @Quake3Arena is arguing is the rangeEvent Channel which I never used.
I suggest posting an issue here
Best regards,
George

I cannot find the link to enter my problem there…

What does the 100 within the examples on openhab.org?

Altitude.

See bottom of 2.1 release notes:

BTW, it is much easier by reading posts with just text and not pictures.