mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
98_livetracking: fixed HTTP return
git-svn-id: https://svn.fhem.de/fhem/trunk@18276 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
83551e2040
commit
f867cacf55
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- bugfix: 98_livetracking: fixed HTTP return
|
||||||
- bugfix: 49_SSCam: fix event generation after snapshots created
|
- bugfix: 49_SSCam: fix event generation after snapshots created
|
||||||
- bugfix: 59_Weather: fix reading double value
|
- bugfix: 59_Weather: fix reading double value
|
||||||
- feature: OpenWeatherMapAPI: add snow and rain in forecast
|
- feature: OpenWeatherMapAPI: add snow and rain in forecast
|
||||||
|
@ -1542,7 +1542,8 @@ sub livetracking_Webcall() {
|
|||||||
$request =~ s/\/osmand\/&//g;
|
$request =~ s/\/osmand\/&//g;
|
||||||
Log3 $name, 4, "OwnTracks HTTP request:\n".$request;
|
Log3 $name, 4, "OwnTracks HTTP request:\n".$request;
|
||||||
livetracking_ParseOwnTracks($hash,$request) if(($request =~ /_type":[ ]?"location/ || $request =~ /_type":[ ]?"position/ || $request =~ /_type":[ ]?"transition/ || $request =~ /_type":[ ]?"steps/ || $request =~ /_type":[ ]?"beacon/ ));
|
livetracking_ParseOwnTracks($hash,$request) if(($request =~ /_type":[ ]?"location/ || $request =~ /_type":[ ]?"position/ || $request =~ /_type":[ ]?"transition/ || $request =~ /_type":[ ]?"steps/ || $request =~ /_type":[ ]?"beacon/ ));
|
||||||
return undef;
|
return ( "text/plain; charset=utf-8",
|
||||||
|
"[]" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1634,7 +1635,8 @@ sub livetracking_Webcall() {
|
|||||||
"no data" );
|
"no data" );
|
||||||
}
|
}
|
||||||
|
|
||||||
return undef;
|
return ( "text/plain; charset=utf-8",
|
||||||
|
"undefined" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user