|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -All notable changes to the Glasscalibur firmware are documented here. The |
4 | | -version number is the `firmware_version` substitution in |
5 | | -[`firmware/esphome/Glasscalibur-esphome.yml`](firmware/esphome/Glasscalibur-esphome.yml), |
6 | | -which feeds `project.version` (reported to Home Assistant / the ESPHome |
7 | | -dashboard) and the "Firmware Version" diagnostic sensor on the web UI. |
| 3 | +All notable changes to the Glasscalibur firmware are documented here. As of |
| 4 | +v2.0.0 the version number comes from the release git tag: the build workflow |
| 5 | +stamps it into the `fw_version` substitution (feeding `project.version` reported |
| 6 | +to Home Assistant / the ESPHome dashboard and the "Firmware Version" diagnostic |
| 7 | +sensor). Local/branch builds report `dev`. |
8 | 8 |
|
9 | 9 | This project adheres to [Semantic Versioning](https://semver.org/) and the |
10 | 10 | format is based on [Keep a Changelog](https://keepachangelog.com/). |
11 | 11 |
|
| 12 | +## [2.0.0] - 2026-07-22 |
| 13 | + |
| 14 | +Major architectural change: the firmware is now built on the shared |
| 15 | +**valar-core** + **scheduling** packages (from `Valar-Systems/valar-motion`, |
| 16 | +pinned at `v0.3.0`) rather than a single monolithic config. Board infrastructure |
| 17 | +(Wi-Fi, API, OTA, web UI, diagnostics, the TMC2209 driver, and the daily/sun |
| 18 | +schedule) comes from core; only Glasscalibur's product hardware and logic (cover, |
| 19 | +limit switches, LIS2DH12 tamper/vibration, TMP1075, buzzer, child lock, and the |
| 20 | +auto-calibration sequence) live in the product layer. |
| 21 | + |
| 22 | +### Added |
| 23 | +- **Auto-calibration** (double-click the Wi-Fi/Calibrate button, or the |
| 24 | + "Auto-Calibrate" entity): a 3-phase sequence that homes on the limit switches, |
| 25 | + searches for the minimum viable motor current, and tunes StallGuard (SGTHRS / |
| 26 | + TCOOLTHRS) and the vibration threshold from the measured travel. Result is |
| 27 | + shown in "Calibration Status" and persisted. Includes a stall auto-release |
| 28 | + back-off and a thermal guard. |
| 29 | +- **Board** diagnostic sensor (from core), reporting the board identity. |
| 30 | + |
| 31 | +### Changed |
| 32 | +- **BREAKING — tuning entity names** now match the shared core across the Valar |
| 33 | + product line. Home Assistant `entity_id`s change accordingly: |
| 34 | + `max_speed` → **Speed**, `acceleration` → **Acceleration**, |
| 35 | + `irun` → **IRUN (motor current)**, `SGTHRS` → **SGTHRS (stall threshold)**, |
| 36 | + and the `TSTEP Sensor` / `SG_RESULT Sensor` diagnostics → **TSTEP** / **SG_RESULT**. |
| 37 | + Motor-current entries are still capped at IRUN 19 (rated 0.6 A). |
| 38 | +- Firmware version now comes from the release tag (see note above) instead of a |
| 39 | + hardcoded `firmware_version` substitution. |
| 40 | +- The GitHub-OTA "Update Firmware" button, the Restart button, and the |
| 41 | + Firmware Version / network-info diagnostics are now provided by core (the OTA |
| 42 | + asset URL — `Glasscalibur.ota.bin` from the latest release — is unchanged). |
| 43 | + |
12 | 44 | ## [1.2.0] - 2026-06-30 |
13 | 45 |
|
14 | 46 | ### Added |
@@ -54,6 +86,7 @@ format is based on [Keep a Changelog](https://keepachangelog.com/). |
54 | 86 | - Wi-Fi provisioning with no hardcoded credentials (fallback hotspot + captive |
55 | 87 | portal, Improv over USB serial). |
56 | 88 |
|
| 89 | +[2.0.0]: https://github.com/Valar-Systems/Glasscalibur/releases/tag/v2.0.0 |
57 | 90 | [1.2.0]: https://github.com/Valar-Systems/Glasscalibur/releases/tag/v1.2.0 |
58 | 91 | [1.1.0]: https://github.com/Valar-Systems/Glasscalibur/releases/tag/v1.1.0 |
59 | 92 | [1.0.0]: https://github.com/Valar-Systems/Glasscalibur/releases/tag/v1.0.0 |
0 commit comments