Closed tjorim closed 1 year ago
To clarify I'm talking about the Pearl Valley one, here is the code snippet:
title: Pearl valley
type: custom:horizon-card
latitude: -33.82
longitude: 18.98
elevation: 120
fields:
azimuth: true
elevation: true
moonrise: true
moonset: true
moon_phase: true
Based on the images, it appears to me that Pearl Valley is in the UTC-5 timezone, and you are currently in a UTC+7 timezone :) This timezone covers areas such as Western Mongolia, central Indonesia (Jakarta), Russia (Krasnoyarsk), and others... On the upper images, the sun and the moon are in the right places, but there is a 12-hour shift in the lower one.
This Pearl Valley seems to be in South Africa. I suggest you look at the README and the mechanics of the card in the Southern hemisphere :). I'll quote it for you:
In the Northern hemisphere, East is on the left, South is in the middle (when the Sun is in its highest position), and West is on the right. You are facing South and the Sun travels left-to-right.
In the Southern hemisphere, West is on the left, North is in the middle (when the Sun is in its highest position), and East is on the right. You are facing North and the Sun travels right-to-left. You can disable the direction flip by setting
southern_flip: false
.
Note also where the arrow of the horizon is pointing.
So yes, the Sun just went down and it's where it's supposed to be.
Thanks @avataar, you're right. First time I'm traveling in the southern hemisphere ;) In that case the card works like it's supposed to. Nice little trick with the arrow, never noticed it before!
Not sure but it seems a problem with AM/PM? See screenshots below, sun just went under but is already on the left?