scripts: use "adddata" instead of "addjsondata".

This commit is contained in:
Martin Preuss
2025-03-19 23:22:26 +01:00
parent 95d589b126
commit 7a045abcc2
2 changed files with 2 additions and 2 deletions

View File

@@ -30,5 +30,5 @@ fi
# 106 for Fuhse/Wathlingen
#
if ( curl -s -S https://bis.azure-api.net/PegelonlinePublic/REST/station/$STATION_ID/datenspuren/parameter/1/tage/-1?key=9dc05f4e3b4a43a9988d747825b39f43 -o $JSONFILE ); then
$AQHOME_TOOL addjsondata -J $JSONFILE -c pegel -d "$WATER_NAME/$LOCATION" -N "current" -v "@getPegelDatenspurenResult/Parameter/Datenspuren/AktuellerMesswert" -U "@getPegelDatenspurenResult/Parameter/Einheit"
$AQHOME_TOOL adddata -J $JSONFILE -c pegel -d "$WATER_NAME/$LOCATION" -N "current" -v "@getPegelDatenspurenResult/Parameter/Datenspuren/AktuellerMesswert" -U "@getPegelDatenspurenResult/Parameter/Einheit"
fi