Some ESP experiments; Raspi: Only write into the average table if avg values not zero
This commit is contained in:
@@ -27,10 +27,7 @@ and
|
||||
CREATE TABLE average_stats (id MEDIUMINT NOT NULL AUTO_INCREMENT, humidity FLOAT NOT NULL, temperature FLOAT NOT NULL, gm3 float not null, isoutside int not null, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (id) );
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
Show all entries in table: `select * from stats;`
|
||||
Show all entries in table: `select * from stats;` or `select * from average_stats;`
|
||||
|
||||
### Compile & Install
|
||||
|
||||
|
Reference in New Issue
Block a user