Update 'README.md'

fix limit. changed in the past
This commit is contained in:
Mario Voigt 2023-06-12 09:46:55 +02:00
parent 9a66d3f548
commit 94f8507bfe

View File

@ -306,7 +306,7 @@ DB_NAME="nuki"
while [ true ]; do while [ true ]; do
eval "curl -X GET $CURL_HEADER $BASE_URL/smartlock/log?limit=0 -o "$FILE_BASE"_SmartlockLog.json" eval "curl -X GET $CURL_HEADER $BASE_URL/smartlock/log?limit=50 -o "$FILE_BASE"_SmartlockLog.json"
jq -r "$JQ_CSV" "$FILE_BASE"_SmartlockLog.json > "$FILE_BASE"_SmartlockLog.csv jq -r "$JQ_CSV" "$FILE_BASE"_SmartlockLog.json > "$FILE_BASE"_SmartlockLog.csv
sed -i 's/true/1/g' "$FILE_BASE"_SmartlockLog.csv sed -i 's/true/1/g' "$FILE_BASE"_SmartlockLog.csv
sed -i 's/false/0/g' "$FILE_BASE"_SmartlockLog.csv sed -i 's/false/0/g' "$FILE_BASE"_SmartlockLog.csv