2.0.0
The interface registry, generated and checked discovery, typed dispatch with automatic error answers, message builders, proactive events and typed helpers for every error type; the 1.x API is kept and the examples of 1.5.2 run unchanged. docs/wire-changes.md lists what a 1.x caller can observe. On 2026-09-28 a real Alexa account drove 33 test devices on this API through the public Alex2MQTT service: Alexa accepted the discovery of all of them, 50 of 58 cases passed, 4 had no action in the control call and 4 failed on what the check could see, none on an answer of the library. The readme table names the interfaces that run covered. Voice commands were not tested yet. 307 tests. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
e2ed755111
commit
dd071548bc
8 changed files with 46 additions and 36 deletions
|
|
@ -32,12 +32,14 @@ test("the table has a row for every described interface, and a line for the othe
|
|||
});
|
||||
|
||||
test("an interface is said to be driven through Alexa only when a run is recorded for it", () => {
|
||||
// The runs of 2026-09-28, with alex2node 1.5.2. A name is added here with the record of its run.
|
||||
// The run of 2026-09-28 with 33 test devices on the 2.0 API. A name is added here with the record of its run.
|
||||
assert.deepEqual(Object.keys(DRIVEN).sort(), [
|
||||
"Alexa", "Alexa.BrightnessController", "Alexa.ColorController", "Alexa.ColorTemperatureController",
|
||||
"Alexa.ContactSensor", "Alexa.LockController", "Alexa.ModeController", "Alexa.MotionSensor",
|
||||
"Alexa.PercentageController", "Alexa.PowerController", "Alexa.PowerLevelController", "Alexa.RangeController",
|
||||
"Alexa.SceneController", "Alexa.TemperatureSensor", "Alexa.ThermostatController", "Alexa.ToggleController",
|
||||
"Alexa.ContactSensor", "Alexa.DoorbellEventSource", "Alexa.InventoryLevelSensor", "Alexa.LockController",
|
||||
"Alexa.ModeController", "Alexa.MotionSensor", "Alexa.PercentageController", "Alexa.PowerController",
|
||||
"Alexa.PowerLevelController", "Alexa.RangeController", "Alexa.SceneController",
|
||||
"Alexa.SecurityPanelController", "Alexa.SimpleEventSource", "Alexa.TemperatureSensor",
|
||||
"Alexa.ThermostatController", "Alexa.ThermostatController.Schedule", "Alexa.ToggleController",
|
||||
]);
|
||||
const rows = table().split("\n").filter((line) => line.startsWith("| [Alexa"));
|
||||
for (const line of rows) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue