mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3690 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8681b18bbb
commit
f528657a85
@ -314,7 +314,7 @@ OWO_GetStatus($;$){
|
|||||||
}
|
}
|
||||||
|
|
||||||
readingsBeginUpdate($hash);
|
readingsBeginUpdate($hash);
|
||||||
readingsBulkUpdate($hash, "_myHtmlResponse", $htmlDummy->status_line);
|
readingsBulkUpdate($hash, "_my_HtmlResponse", $htmlDummy->status_line);
|
||||||
readingsBulkUpdate($hash, "state","active");
|
readingsBulkUpdate($hash, "state","active");
|
||||||
if(AttrVal($name, "owoTimestamp", 0) == 1){
|
if(AttrVal($name, "owoTimestamp", 0) == 1){
|
||||||
readingsBulkUpdate($hash, "my_lastSent", time);
|
readingsBulkUpdate($hash, "my_lastSent", time);
|
||||||
@ -336,7 +336,7 @@ OWO_GetStatus($;$){
|
|||||||
if(defined($cId)){
|
if(defined($cId)){
|
||||||
my $cName = ReadingsVal($name,"stationName", "");
|
my $cName = ReadingsVal($name,"stationName", "");
|
||||||
Log3($name, 3, "openweather $name: retrievingStationData: Id: $cId Name: $cName");
|
Log3($name, 3, "openweather $name: retrievingStationData: Id: $cId Name: $cName");
|
||||||
fhem("set $name stationById $cId");# if($cId ne "");
|
fhem("set $name stationById $cId");
|
||||||
}
|
}
|
||||||
|
|
||||||
##### end of update job
|
##### end of update job
|
||||||
|
Loading…
x
Reference in New Issue
Block a user