Skip to content

🚀 Feature: Firmware update support #128

@xBlaz3kx

Description

@xBlaz3kx

🔖 Feature description

We should add support for firmware updates.

🎤 Why is this feature needed ?

Keeping the firmware up to date

✌️ How do you aim to achieve this?

Currently, ChargePi can be deployed on Docker or directly on the host machine.
IMO, supporting firmware updates is redundant - pulling the image should be the correct approach.

Updating the firmware on the host machine should be pretty straightforward - we need to update the binary (as Go is compiled) and apply any migrations. The contents of the update should be compressed (for example to a zip). We should probably include a script that would execute the update and perform any required changes to the host system before updating the binary.

Maybe to add a script for post update cleanup?

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgoPull requests that update Go code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions