makair-control-ui
makair-control-ui copied to clipboard
Calculate the number of hours of operation
trafficstars
In order to facilitate maintenance, display
- The number of hours the machine has been ventilating
- The number of hours the machine power has been ON
This implies being able to:
- count these durations
- persist them on FS (across reboots)
- display them on a Maintenance screen/modal
I guess this should be done from the firmware, written to its permanent EEPROM memory (it's like an "uptime" log, or a car's odometer), and then sent to the UI through the telemetry protocol (to be shown in a machine information box, which could also show the machine serial, more software build information, etc...).
Ping @Benhalor we could use the EEPROM to store this as well.