Astro-Binding mit seltsamer Darstellung
Verfasst: 4. Nov 2020 12:11
Hallo zusammen,
ich habe auf meinem System (OH 2.5.10 auf einem Raspberry Pi 3) das Astro-Binding installiert und konfiguriert.
Die Icons sind jedoch seit jeher nicht vollständig, die Darstellung unter "Moon Phase" ist seit gestern sehr seltsam (siehe Anhang).
Ferner wäre es super, wenn die Titel auch in Deutscher Sprache wären.
meine Konfiguration:
// home.sitemap
Frame label="Mond-Daten" {
Text item=Current_DateTime label="Weather and Astro [%1$tA, %1$td.%1$tm.%1$tY]" icon="sun_clouds"
//Switch item=Night_State label="Phase of Day" mappings=[OFF="Tag", ON="Nacht"]
Text item=Day_Phase icon="sunmoon"
Text item=Sunrise_Time icon="sunrise" visibility=[Night_State == ON]
Text item=Sunset_Time icon="sunset" visibility=[Night_State == OFF]
Text item=Sun_Elevation icon="sunmoon" visibility=[Sun_Elevation > 0]
Text item=Moon_Elevation icon="sunmoon" visibility=[Moon_Elevation > 0]
Text item=Zodiac_Sign icon="zodiac"
Text item=Moon_Phase
Text item=Moon_Next_Full icon="fullmoon"
visibility=[Moon_Phase == WAXING_CRESCENT,
Moon_Phase == FIRST_QUARTER,
Moon_Phase == WAXING_GIBBOUS,
Moon_Phase == FULL]
Text item=Moon_Next_New icon="fullmoon"
visibility=[Moon_Phase == WANING_GIBBOUS,
Moon_Phase == THIRD_QUARTER,
Moon_Phase == WANING_CRESCENT,
Moon_Phase == NEW]
}
// astro.items
Group Astro <sun_clouds> (W66a)
DateTime Current_DateTime "Today [%1$tA, %1$td.%1$tm.%1$tY]" <clock> (Astro) {channel="ntp:ntp:local:dateTime"}
//
DateTime Sunset_Time "Sunset [%1$tH:%1$tM]" <sun> (Astro) {channel="astro:sun:home:set#start"}
DateTime Sunrise_Time "Sunrise [%1$tH:%1$tM]" <sun> (Astro) {channel="astro:sun:home:rise#end"}
DateTime Evening_Time "Evening [%1$tH:%1$tM]" (Astro) {channel="astro:sun:minus90:set#start"}
//
String Day_Phase "Phase of Day [MAP(astro.map):%s]" (Astro) {channel="astro:sun:home:phase#name"}
Switch Night_State "Night" (Astro)
//
String Season_Name "Season [MAP(astro.map):%s]" (Astro) {channel="astro:sun:home:season#name"}
String Zodiac_Sign "Zodiac [MAP(astro.map):%s]" <zodiac> (Astro) {channel="astro:sun:home:zodiac#sign"}
Number Sun_Elevation "Sun Elevation [%.1f °]" <sun> (Astro) {channel="astro:sun:home:position#elevation"}
Number Moon_Elevation "Moon Elevation [%.1f °]" <moon> (Astro) {channel="astro
home:position#elevation"}
String Moon_Phase "Moon Phase [MAP(astro.map):%s]" <moon> (Astro) {channel="astro
home:phase#name"}
DateTime Moon_Next_Full "Next Full Moon [%1$td.%1$tm.%1$tY, %1$tH:%1$tM]" <moon> (Astro) {channel="astro
home:phase#full"}
DateTime Moon_Next_New "Next New Moon [%1$td.%1$tm.%1$tY, %1$tH:%1$tM]" <moon> (Astro) {channel="astro
home:phase#new"}
// astro.things
astro:sun:home [ geolocation="50.063259,10.171830", interval=60 ]
astro
home [ geolocation="50.063259,10.171830", interval=60 ]
// astro.map
//
ARIES=
Widder
TAURUS=
Stier
GEMINI=
Zwilling
CANCER=
Krebs
LEO=
Löwe
VIRGO=
Jungfrau
LIBRA=
Waage
SCORPIO=
Skorpion
SAGITTARIUS=
Schütze
CAPRICORN=
Steinbock
AQUARIUS=
Wassermann
PISCES=
Fisch
//
SPRING=Frühling
SUMMER=Sommer
AUTUMN=Herbst
WINTER=Winter
//
SUN_RISE=Sonnenaufgang
ASTRO_DAWN=astronomische Morgendämmerung
NAUTIC_DAWN=nautische Morgendämmerung
CIVIL_DAWN=zivile Morgendämmerung
CIVIL_DUSK=zivile Abenddämmerung
NAUTIC_DUSK=nautische Abenddämmerung
ASTRO_DUSK=astronomische Abenddämmerung
SUN_SET=Sonnenuntergang
DAYLIGHT=Tag
NOON=Abend
NIGHT=Nacht
//
NEW=
Neumond
WAXING_CRESCENT=
→
zunehmender Halbmond
FIRST_QUARTER=
erstes Viertel
WAXING_GIBBOUS=
→
zunehmender Mond
FULL=
Vollmond
WANING_GIBBOUS=
→
abnehmender Mond
THIRD_QUARTER=
letztes Viertel
WANING_CRESCENT=
→
abnehmender Halbmond
// astro.rules
val sunEvent = "SUN_SET"
val today = ZonedDateTime.now;
val sunEventTime = sunActions.getEventTime(sunEvent,today,"START")
logInfo("AstroActions","{} will happen at : {}", sunEvent, sunEventTime.toString)
Könnt ihr zu beiden Punkten sagen, was die Ursache ist, bzw. wie man das lösen könnte?
Danke.
ich habe auf meinem System (OH 2.5.10 auf einem Raspberry Pi 3) das Astro-Binding installiert und konfiguriert.
Die Icons sind jedoch seit jeher nicht vollständig, die Darstellung unter "Moon Phase" ist seit gestern sehr seltsam (siehe Anhang).
Ferner wäre es super, wenn die Titel auch in Deutscher Sprache wären.
meine Konfiguration:
// home.sitemap
Frame label="Mond-Daten" {
Text item=Current_DateTime label="Weather and Astro [%1$tA, %1$td.%1$tm.%1$tY]" icon="sun_clouds"
//Switch item=Night_State label="Phase of Day" mappings=[OFF="Tag", ON="Nacht"]
Text item=Day_Phase icon="sunmoon"
Text item=Sunrise_Time icon="sunrise" visibility=[Night_State == ON]
Text item=Sunset_Time icon="sunset" visibility=[Night_State == OFF]
Text item=Sun_Elevation icon="sunmoon" visibility=[Sun_Elevation > 0]
Text item=Moon_Elevation icon="sunmoon" visibility=[Moon_Elevation > 0]
Text item=Zodiac_Sign icon="zodiac"
Text item=Moon_Phase
Text item=Moon_Next_Full icon="fullmoon"
visibility=[Moon_Phase == WAXING_CRESCENT,
Moon_Phase == FIRST_QUARTER,
Moon_Phase == WAXING_GIBBOUS,
Moon_Phase == FULL]
Text item=Moon_Next_New icon="fullmoon"
visibility=[Moon_Phase == WANING_GIBBOUS,
Moon_Phase == THIRD_QUARTER,
Moon_Phase == WANING_CRESCENT,
Moon_Phase == NEW]
}
// astro.items
Group Astro <sun_clouds> (W66a)
DateTime Current_DateTime "Today [%1$tA, %1$td.%1$tm.%1$tY]" <clock> (Astro) {channel="ntp:ntp:local:dateTime"}
//
DateTime Sunset_Time "Sunset [%1$tH:%1$tM]" <sun> (Astro) {channel="astro:sun:home:set#start"}
DateTime Sunrise_Time "Sunrise [%1$tH:%1$tM]" <sun> (Astro) {channel="astro:sun:home:rise#end"}
DateTime Evening_Time "Evening [%1$tH:%1$tM]" (Astro) {channel="astro:sun:minus90:set#start"}
//
String Day_Phase "Phase of Day [MAP(astro.map):%s]" (Astro) {channel="astro:sun:home:phase#name"}
Switch Night_State "Night" (Astro)
//
String Season_Name "Season [MAP(astro.map):%s]" (Astro) {channel="astro:sun:home:season#name"}
String Zodiac_Sign "Zodiac [MAP(astro.map):%s]" <zodiac> (Astro) {channel="astro:sun:home:zodiac#sign"}
Number Sun_Elevation "Sun Elevation [%.1f °]" <sun> (Astro) {channel="astro:sun:home:position#elevation"}
Number Moon_Elevation "Moon Elevation [%.1f °]" <moon> (Astro) {channel="astro
String Moon_Phase "Moon Phase [MAP(astro.map):%s]" <moon> (Astro) {channel="astro
DateTime Moon_Next_Full "Next Full Moon [%1$td.%1$tm.%1$tY, %1$tH:%1$tM]" <moon> (Astro) {channel="astro
DateTime Moon_Next_New "Next New Moon [%1$td.%1$tm.%1$tY, %1$tH:%1$tM]" <moon> (Astro) {channel="astro
// astro.things
astro:sun:home [ geolocation="50.063259,10.171830", interval=60 ]
astro
// astro.map
//
ARIES=
TAURUS=
GEMINI=
CANCER=
LEO=
VIRGO=
LIBRA=
SCORPIO=
SAGITTARIUS=
CAPRICORN=
AQUARIUS=
PISCES=
//
SPRING=Frühling
SUMMER=Sommer
AUTUMN=Herbst
WINTER=Winter
//
SUN_RISE=Sonnenaufgang
ASTRO_DAWN=astronomische Morgendämmerung
NAUTIC_DAWN=nautische Morgendämmerung
CIVIL_DAWN=zivile Morgendämmerung
CIVIL_DUSK=zivile Abenddämmerung
NAUTIC_DUSK=nautische Abenddämmerung
ASTRO_DUSK=astronomische Abenddämmerung
SUN_SET=Sonnenuntergang
DAYLIGHT=Tag
NOON=Abend
NIGHT=Nacht
//
NEW=
WAXING_CRESCENT=
FIRST_QUARTER=
WAXING_GIBBOUS=
FULL=
WANING_GIBBOUS=
THIRD_QUARTER=
WANING_CRESCENT=
// astro.rules
val sunEvent = "SUN_SET"
val today = ZonedDateTime.now;
val sunEventTime = sunActions.getEventTime(sunEvent,today,"START")
logInfo("AstroActions","{} will happen at : {}", sunEvent, sunEventTime.toString)
Könnt ihr zu beiden Punkten sagen, was die Ursache ist, bzw. wie man das lösen könnte?
Danke.