|
|
275f00f8a7
|
1.5.2: send() never rejects (status, error, scene, change report: resolves the topic or "" and reports the failure through the bridge's error event when listened to - 1.5.1 rejected, and an un-caught .send() killed the host on any broker hiccup); types ship (declaration: true, dist/*.d.ts tracked; addSupportedModes takes {value, modeResources}, ActionMapping payload optional, addHealthProp accepts EndpointHealth or the string); disconnect()/connect() re-binds devices to the new client; registerDevice returns the existing device on a duplicate endpointId (warning via the log hook, console.warn without one); ThermostatController discovery lists targetSetpoint and drops adaptiveRecoveryStatus; the UNSUPORTED INTERFACE TYPE stderr spam goes through the log hook. Examples: require("alex2node"), an error listener in each, EndpointHealth.OK, neutral endpoint ids, BlindControl reads correlationToken from the header, the thermostat reports Fahrenheit as Fahrenheit, ExamplePowerController is power-only again + new ExamplePowerControllerWithBrightness. readme (install from Forgejo, 1.5.2 changelog, table syntax), LICENSE (MIT); tests for the non-rejecting send, reconnect, duplicate, thermostat discovery and the shipped declaration signatures (8/8 on an in-process broker).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
2026-09-28 04:58:39 +00:00 |
|
David
|
f4300688f8
|
1.5.0: brightness + mode props in the power example (as published to npm)
|
2026-09-22 00:18:22 +00:00 |
|
David
|
f09d03636d
|
add full support and examples for toggle controller
|
2025-05-13 17:37:00 +00:00 |
|
David
|
c7f0c37aa1
|
Add momentary example
|
2025-05-12 18:38:14 +00:00 |
|
David
|
3bcd767127
|
Add full support for mode controller
|
2025-05-12 18:23:58 +00:00 |
|
David
|
e7a2079ff7
|
Fix typo in comments
|
2025-05-12 16:46:33 +00:00 |
|
David
|
689a357df0
|
fix example with errors
|
2025-05-12 16:33:49 +00:00 |
|
David
|
4af45ff726
|
Add support for sending Error Responses
|
2025-05-12 16:03:15 +00:00 |
|
David
|
61b032c889
|
add support and examples for deferred state report responses
|
2025-05-11 23:12:47 +00:00 |
|
David
|
f4d07b589c
|
Add full support and examples for thermostat
|
2025-05-10 12:21:51 +00:00 |
|
David
|
4eb2a84d72
|
initial release of Alex2Node
|
2025-04-20 21:19:57 +00:00 |
|