Record received consumption from inverter

This commit is contained in:
2024-09-23 21:47:25 +02:00
parent 0e0da14fde
commit 228e1a7293
9 changed files with 183 additions and 12 deletions

View File

@ -47,7 +47,7 @@ impl RelayStateHistory {
Self {
id,
day,
buff: vec![0; 3600 * 24 / TIME_INTERVAL],
buff: vec![0; (3600 * 24 / (TIME_INTERVAL * 8)) + 1],
}
}