Open freaktechnik opened 5 years ago
Agreed, these would be great additions.
Battery info can be quite complex. It should almost be a thing on its own.
Number of cells and balancing if we want to go deeper, I am not on expert on BMS but I know it's not something simple.
No matter how https://github.com/mozilla-iot/gateway/issues/1439 goes I think it'd make sense to have schema types for both a percentage based battery property and a boolean property for low battery.
Even if you only have voltages, you should still be able to give a percentage, since you should know your device's minimum required voltage and maximum battery voltage. And if either of those parameters is missing there's still the VoltageProperty for raw values.