diff --git a/README.md b/README.md index 39ede3b..3a77aeb 100644 --- a/README.md +++ b/README.md @@ -306,7 +306,7 @@ DB_NAME="nuki" 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 sed -i 's/true/1/g' "$FILE_BASE"_SmartlockLog.csv sed -i 's/false/0/g' "$FILE_BASE"_SmartlockLog.csv