Skip to content

[Feature Request]: Assign battery chemistry to INA sensor to track alternate battery types #30

@b8b8

Description

@b8b8

Contact Details

No response

Tell us your idea.

Instead of tracking alternative battery discharge curves in the firmware and the requisite complexity I propose adding it to the app.

Already under the power config section you can assign the INA_2xxx i2c address for measuring the battery voltage externally to the onboard battery gauge. I think we could easily add toggle/selector to choose a battery type that would then re-graph the battery percentage display in the app ONLY. No firmware changes are required.

The 3 most used battery types that i think should be added are: Li-ion, LiFePO4, LTO (sodium ion is also getting more popular). To keep things simple this would be just for parallel battery configurations, so the standard curves could be used.

This info would be helpful to the many people that are using external charge controllers with different chemistries to still get a valid battery percentage on the device metrics log.

This info would/could be stored in the persistent node database the app now has. No info/changes are sent over the mesh or stored in the firmware. This also allows random users who take an educated guess on the chemistry of a mountain node in their town to be say LTO based, could update their app to match as well.

In the example below channel-2 is measuring the LTO battery voltage. You could hold down the channel-2 to have a popup give you the option to select the battery type for this channel.

Image

Image

A small battery icon could be appended to the channel name to indicate that channel is being used.

Image

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions