mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-10-31 13:52:15 +01:00
The UI talks to the device over the one socket at /ws: the sync fills the shade model, its events redraw the lists, and every read, command, edit, setting, scan and reboot is an op. Only /loginContext, /login and the file transfers stay on HTTP, so a page load opens no other connection. - The 8080 socket, editJSON/requestResult and the /controller, /rooms, /shades, /groups, /room, /shade, /group, settings and command routes are no longer used by the UI. - An edit's callback gets the item once its event is in (ProtoClient waitFor); busy edits and saves are sent again. - The token is kept in sessionStorage. When /ws is refused and /loginContext says a login is needed, the client stops retrying and the login panel opens. Backup and uploads send the token. - A banner shows when the device speaks another protocol version. - Removed dead code: the /pairShade call and its unused /unpairShade twin, loadLogin, login.html (broken, linked from nowhere), Secure Config Only's checkbox (protocol 2 has two modes) and the HTTP helpers nothing uses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| e2e | ||
| fixtures/proto2 | ||
| js | ||
| stubs | ||
| test_configheader | ||
| test_ethphy | ||
| test_frame | ||
| test_json | ||
| test_logging | ||
| test_loopqueue | ||
| test_modeleditor | ||
| test_motion | ||
| test_mqttcommands | ||
| test_proto | ||
| test_protoassembly | ||
| test_protoedits | ||
| test_protoops | ||
| test_protosettings | ||
| test_protoslots | ||
| test_pulse | ||
| test_radioscheduler | ||
| test_rollingcode | ||
| test_secrets | ||
| test_sensors | ||
| test_shadebehaviour | ||
| test_shadechanges | ||
| test_shaderequests | ||
| test_shadesettings | ||
| test_shadetx | ||
| test_snapshot | ||
| test_snapshot_limits | ||
| test_taskwdt | ||
| test_txbuffer | ||
| test_txjob | ||
| test_utils | ||