diff --git a/README.md b/README.md index f4d6d8c..0a4a4be 100644 --- a/README.md +++ b/README.md @@ -283,7 +283,7 @@ DB_NAME="nuki" while [ true ]; do - eval "curl -X GET $CURL_HEADER $BASE_URL/smartlock/log -o "$FILE_BASE"_SmartlockLog.json" + eval "curl -X GET $CURL_HEADER $BASE_URL/smartlock/log?limit=0 -o "$FILE_BASE"_SmartlockLog.json" 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/false/0/g' "$FILE_BASE"_SmartlockLog.csv