Directives and answers travel over MQTT alone, the session is reopened with
a wait of 1 to 60 s, interfaces are rows in program memory, a device has
capabilities with instances, names and semantics, one handler takes the
directive with the device in hand, and the messages beside a Response are
there: ErrorResponse, DeferredResponse, ChangeReport, scene and doorbell
events. A 1.x sketch compiles as it is; the readme says what changes for it.

Light on a D1 mini: static RAM 30,616 B (1.1.0: 52,768), flash 332,705 B
(1.1.0: 350,885). 148 host tests, 17 sketches build without a warning.

On 2026-09-28, with a board and a real Alexa account: nine interfaces
driven, a deferred answer, an ErrorResponse, a ChangeReport and a doorbell
press; the session scenarios on a scripted broker, loss of Wi-Fi included.
Voice commands were not tested yet.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
David 2026-09-28 22:57:22 +00:00
parent f9c787a67a
commit f4297e6fce
7 changed files with 15 additions and 16 deletions

View file

@ -4,13 +4,12 @@ All notable changes to this library are written down here. The format is that of
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), the version numbers follow
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.0.0] - unreleased
## [2.0.0] - 2026-09-28
The library talks MQTT only, describes 28 interfaces and takes 22 KB less static RAM. The sketches of 1.x compile as
they are; the readme says what changes for them (Migrating from 1.x).
While it was written this version was numbered 1.2.0, which was never released. `library.json`,
`library.properties` and `ALEX2ESP_VERSION` say 1.2.0 until the release.
While it was written this version was numbered 1.2.0, which was never released.
### Added