scripts: use "adddata" instead of "addjsondata".
This commit is contained in:
@@ -32,6 +32,6 @@ fi
|
||||
# b475386c-30cc-453a-b3b7-1d17ace13595 for Aller at Celle
|
||||
#
|
||||
if ( curl -s -S https://www.pegelonline.wsv.de/webservices/rest-api/v2/stations/$STATION_ID/W/currentmeasurement.json -o $JSONFILE ); then
|
||||
$AQHOME_TOOL addjsondata -J $JSONFILE -c pegel -d ""$WATER_NAME/$LOCATION"" -N "current" -v "@value" -U "cm"
|
||||
$AQHOME_TOOL adddata -J $JSONFILE -c pegel -d ""$WATER_NAME/$LOCATION"" -N "current" -v "@value" -U "cm"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user