seahaven-door-unlock-api/lambda
Adam Moussa eaa292a16f Add lockdown poller Lambda and fix lockdown handler responses
- Add VPC-connected poller Lambda that monitors lockdown status via
  Elements API every 15 seconds (4 polls per 1-min EventBridge schedule)
- Handle Elements API rate limits (429) with retry-after support
- Fix lockdown handler to use TextScreen XML instead of Execute XML
  (Execute shows globe icon on T58W, TextScreen renders properly)
- Fix Elements API status parsing to be case-insensitive
- Trust toggle action instead of re-checking status (eventual consistency)
- Configure push_xml.server = any in T58W template for Push XML support
- Clear action_url.setup_completed (poller replaces boot-time check)
- Update README with lockdown architecture and known LED limitation

Note: T58W line key LED color does not change to reflect lockdown
status. Execute LED commands are transient on the T58W - the phone's
XML Browser key type immediately overrides them.
2026-04-28 20:09:35 -04:00
..
lockdown Add lockdown poller Lambda and fix lockdown handler responses 2026-04-28 20:09:35 -04:00
poller Add lockdown poller Lambda and fix lockdown handler responses 2026-04-28 20:09:35 -04:00
unlock Add lockdown profile toggle endpoints with T58W linekey support 2026-04-28 18:05:38 -04:00