diff --git a/FHEM/95_Astro.pm b/FHEM/95_Astro.pm index 18062bdfc..d85122bc6 100644 --- a/FHEM/95_Astro.pm +++ b/FHEM/95_Astro.pm @@ -47,7 +47,7 @@ my $deltaT = 65; # Correction time in s my %Astro; my %Date; -my $astroversion = 1.49; +my $astroversion = 1.50; #-- These we may get on request my %gets = ( @@ -1217,7 +1217,7 @@ sub Astro_Compute($){ $Astro{MoonDiameter} = Astro_round($moonCoor->{diameter}*$RAD*60.,1); # angular diameter in arc seconds $Astro{MoonAge} = Astro_round($moonCoor->{age}*$RAD,1); $Astro{MoonPhaseN} = Astro_round($moonCoor->{phasen},2); - $Astro{MoonPhaseI} = $astro_tt->{$moonCoor->{phasei}}; + $Astro{MoonPhaseI} = $moonCoor->{phasei}; $Astro{MoonPhaseS} = $astro_tt->{$moonCoor->{phases}}; #-- calculate distance from the observer (on the surface of earth) to the center of the moon @@ -1521,7 +1521,7 @@ sub Astro_Get($@) { (default: EN=english). For German output set attr global language DE.
  • The time zone is determined automatically from the local settings of the
    operating system. If geocordinates from a different time zone are used, the results are
    - not corrected automatically. + not corrected automatically.
  • Some definitions determining the observer position are used
    from the global device, i.e.
    attr global longitude <value>
    @@ -1539,7 +1539,6 @@ sub Astro_Get($@) {

    Get

    Attention: Get-calls are NOT written into the readings of the device ! Readings change only through periodic updates !
    -