esphome / esphome/feature-requests

Upload firmware bin file through CLI

Open
#332 2 comments 2 reactions 0 assignees View on GitHub
Type: CLI
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

An additional flag to `esphome upload` that allows specifying a different bin file to upload.

**Please describe your use case for this integration and alternatives you've tried:**

Will allow uploading firmware other than esphome leveraging the OTA mechanism. A similar feature exists in the web server component, but some devices may not have that enabled.

**Additional context**

From what I can tell, it would just need [an extra parser argument](https://github.com/esphome/esphome/blob/7210ad7ed9b1a00c69a5e19231e10923df508418/esphome/__main__.py#L434) and a change to the [argument passed to espota2](https://github.com/esphome/esphome/blob/7210ad7ed9b1a00c69a5e19231e10923df508418/esphome/__main__.py#L191)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.