Astro sunset and sunrise reversed

My astro sunset and sunrise reversed

My Items

DateTime Sunrise_Time “Sunrise [%1$tH:%1$tM]” (Weather) { astro=“planet=sun, type=rise, property=start” }
DateTime Sunset_Time “Sunset [%1$tH:%1$tM]” (Weather) { astro=“planet=sun, type=set, property=end” }

my openhab.cfg



appreciate your help

Can you show us the entries in your sitemap?

Frame label=“Weather” {
Text item=Condition_Id icon=“yahoo_weather” {
Frame {
Text item=Weather_LastUpdate visibility=[Weather_LastUpdate>30] valuecolor=[Weather_LastUpdate>120=“orange”, Weather_LastUpdate>300=“red”]
Text item=Sunrise_Time
Text item=Sunset_Time

Everything looks right in your cfg, items and sitemap settings. I’m wondering if time calculation uses your system clock, and your system clock is off by 12 hours? Probably a bad guess, but I can’t explain it any other way. Hopefully someone with more knowledge of OH and Astro binding will chime in.

system clock is correct. I think astro calculates based on long and lat. may be am wrong

Double check your lat and long,
latitude in India should be between 8 and 31, longitude between 70 and 85
You can find out the values easily here:

who said I am in India ? lol
coordinates are correct

Sorry, just wild guessing because of your username :sunglasses:

No worries.

solved myself. long was missing -

Yourself? Not so much.

10 days ago:

Yes. Thank you