59_LuftdatenInfo: update API endpoint

git-svn-id: https://svn.fhem.de/fhem/trunk@25547 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
igami
2022-01-23 07:08:17 +00:00
parent 0ecc5fa07a
commit ebb2429551
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
# 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.
- bugfix: 59_LuftdatenInfo: fix API endpoint
- bugfix: 10_KNX: fix dpt14 set 0
- bugfix: 89_FULLY: Fixed speak and overlayMessage commands.
- bugfix: 74_XiaomiBTLESens: fix incurrect temperatur then value is negativ

View File

@@ -283,7 +283,7 @@ sub LuftdatenInfo_GetHttpResponse($$) {
header => "Accept: application/json",
callback => \&LuftdatenInfo_ParseHttpResponse,
};
$param->{url} = "http://api.luftdaten.info/v1/sensor/$arg/"
$param->{url} = "https://data.sensor.community/airrohr/v1/sensor/$arg/"
if($MODE eq "remote");
$param->{url} = "http://$arg/data.json"
if($MODE eq "local");