fix zero handling

This commit is contained in:
2026-06-18 18:39:26 +01:00
parent 242820f9d1
commit 7254719794
3 changed files with 90 additions and 0 deletions
+14
View File
@@ -46,6 +46,20 @@ Compose builds the internal database URL from `MYSQL_USER`, `MYSQL_PASSWORD`,
and `MYSQL_DATABASE`. Set `DATABASE_URL` only if you want to point the app at a
different database.
## Maintenance
Remove bad readings where temperature, humidity, and battery are all zero:
```sh
scripts/remove_zero_readings.sh
```
Preview the count without deleting:
```sh
scripts/remove_zero_readings.sh --dry-run
```
## Reports
Open `/reports` in the web app to generate a date-range summary. Use the