Alex2ESP/test
David 69b4d59896 Examples as Arduino sketches: one folder per device type, each its own endpointId, Wi-Fi with a timeout
Light, DimmableLight, ColorTemperatureLight, ColorLight, TemperatureSensor, ContactSensor, Blind,
Thermostat, Lock, Scene, Doorbell and MultiDevice on the 2.0 API: addCapability(row, instance), one
onDirective() handler, the report helpers, ChangeReports from loop(), a deferred answer for the lock.
Wi-Fi is waited for 30 s, then the sketch says what to check and carries on.

examples/README.md has what each sketch does, its limits and the measured sizes for d1_mini: Light
takes 30,616 bytes of static RAM and 332,565 of flash; all 17 sketches build with 0 warnings.
test/test_examples compares the discovery object of every new sketch: 147 host tests (were 135).
The sketches were compiled, not run on a board.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-28 21:41:51 +00:00
..
host_arduino AlexaCapability: instance, asset and text names, configuration, action and state mappings, nonControllable 2026-09-28 19:33:57 +00:00
test_bridge_logic AlexaStatusMessage: DeferredResponse, ChangeReport, ErrorResponse, scene and doorbell events, UUID-shaped messageId 2026-09-28 20:35:56 +00:00
test_discovery Report helpers for every tier-1 property, asset ids, AlexaCapability::isValid() 2026-09-28 21:00:01 +00:00
test_dispatch Log: one line for whatever is dropped, a level the build lacks is reported, no false alarm for a 1.x handler 2026-09-28 21:10:19 +00:00
test_examples Examples as Arduino sketches: one folder per device type, each its own endpointId, Wi-Fi with a timeout 2026-09-28 21:41:51 +00:00
test_messages Report helpers for every tier-1 property, asset ids, AlexaCapability::isValid() 2026-09-28 21:00:01 +00:00