fix zero handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user