From ffea47cddd51b8a814f6c5a3da692d57d2bcb1a8 Mon Sep 17 00:00:00 2001
From: phenning <>
Date: Fri, 12 Oct 2018 15:45:49 +0000
Subject: [PATCH] 95_Astro.pm: Bugfix Version 1.50
git-svn-id: https://svn.fhem.de/fhem/trunk@17517 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/95_Astro.pm | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/fhem/FHEM/95_Astro.pm b/fhem/FHEM/95_Astro.pm
index 18062bdfc..d85122bc6 100644
--- a/fhem/FHEM/95_Astro.pm
+++ b/fhem/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
.
attr global longitude <value>
get <name> json [<reading>]