solar-grabber/src
Paul van Tilburg d787c8b3ab
Fix issue in Hoymiles where total energy decreases
Sometimes it can be that `today_eq` is reset when the day switches but
it has not been added to `total_eq` yet. The `total_eq` should always be
non-decreasing, so return the last known value until this is corrected
(this most suredly happens during the night).

Also, allow for `login` and `update` to mutate the state of the service
to be able to update things like the last known total produced energy
value.
2023-01-15 13:41:40 +01:00
..
services Fix issue in Hoymiles where total energy decreases 2023-01-15 13:41:40 +01:00
lib.rs Switch to floats for the current power and total energy fields 2023-01-10 15:37:38 +01:00
main.rs Enable more lints 2023-01-09 21:40:04 +01:00
services.rs Fix issue in Hoymiles where total energy decreases 2023-01-15 13:41:40 +01:00
update.rs Fix issue in Hoymiles where total energy decreases 2023-01-15 13:41:40 +01:00