Skip to content

Releases: aviborg/esp-smart-meter

test release ota

08 Feb 11:23

Choose a tag to compare

test release ota Pre-release
Pre-release
v0.0.4-alpha6

Restore version.h after firmware build in release workflow

test release ota

08 Feb 11:18

Choose a tag to compare

test release ota Pre-release
Pre-release
v0.0.4-alpha5

Fix firmware file handling in release workflow by moving instead of c…

test release ota

08 Feb 11:10

Choose a tag to compare

test release ota Pre-release
Pre-release
v0.0.4-alpha4

Add permissions for pull requests in release workflow

test release ota

08 Feb 10:59

Choose a tag to compare

test release ota Pre-release
Pre-release
v0.0.4-alpha3

create firmware folder

test release ota

08 Feb 10:55

Choose a tag to compare

test release ota Pre-release
Pre-release
Add detailed workflow changes documentation

Created WORKFLOW_CHANGES.md to explain:
- Why we switched to PR-based workflow
- Benefits over direct push approach
- How to use and configure auto-merge
- Troubleshooting common issues
- Testing procedures

This helps users understand the new workflow and how to work with it effectively.

Co-authored-by: aviborg <5530227+aviborg@users.noreply.github.com>

test release ota

08 Feb 10:40

Choose a tag to compare

test release ota Pre-release
Pre-release
Fix workflow to push firmware updates to main branch instead of tag

The release workflow was failing because it attempted to push to the tag name (e.g., v0.0.3-alpha) instead of a branch. Tags are immutable references and cannot be pushed to directly.

Changed line 85 in release.yml from:
  git push origin HEAD:${{ github.ref_name }}
to:
  git push origin HEAD:main

This ensures firmware updates (docs/firmware/latest.bin and version.json) are pushed to the main branch, which GitHub Pages can then serve.

Co-authored-by: aviborg <5530227+aviborg@users.noreply.github.com>

v0.0.3

08 Feb 07:14
22536ed

Choose a tag to compare

Latest binary is added when new releases are created. Prerequisite for #21

test release ota

08 Feb 10:29

Choose a tag to compare

test release ota Pre-release
Pre-release
Switch to GitHub Pages for firmware hosting

Implemented GitHub Pages solution to avoid GitHub Releases redirect issues:

**New Architecture:**
- Firmware hosted at: https://aviborg.github.io/esp-smart-meter/firmware/latest.bin
- Version info at: https://aviborg.github.io/esp-smart-meter/firmware/version.json
- Direct HTTPS downloads, no 302 redirects, short stable URLs

**Changes:**
1. Created docs/firmware/ directory for GitHub Pages hosting
2. Updated release workflow to copy firmware to docs/firmware/latest.bin
3. Workflow creates version.json with metadata and commits to repo
4. UpdateManager now fetches from GitHub Pages instead of GitHub API
5. Removed redirect resolution code (no longer needed)
6. Simplified performUpdate() - direct downloads work perfectly
7. Updated documentation (AUTO_UPDATE.md, CREATING_RELEASES.md)

**Benefits:**
✅ No buffer overflow from 800+ char Azure CDN URLs
✅ ESP8266HTTPUpdate works reliably
✅ No time-limited signed URLs
✅ Simple, maintainable solution
✅ Keeps GitHub Releases for versioning/changelog

This is the industry-standard approach for ESP8266 OTA updates.

Co-authored-by: aviborg <5530227+aviborg@users.noreply.github.com>

Improved json structure

21 Feb 08:46

Choose a tag to compare

v0.0.2

improved fault log

First release

11 Feb 20:02
bd9eb95

Choose a tag to compare

First release