[client] Add set_device_mode(device_id, ON|OFF|COMWATT) #104

Open
opened 2026-09-09 14:14:49 +00:00 by mat · 0 comments
Owner

Roadmap section: 5. Client — write paths

Need a consenting test site; quirks in §2.6.

Constraint. Whatever we probe against a live account, the test suite
keeps its current shape: responses with hand-written payloads. Never
commit a captured response (VCR/Betamax-style cassettes) recorded on a
real account — those carry the owner's name, postal address, phone, supply
number, account uuid, neighbouring Wi-Fi SSIDs and the cwt_session
cookie, and on a public repo they stay in the history forever.

  • set_device_mode(device_id, ON|OFF|COMWATT) — the "Off / On / Auto" control.

From the 2026-09 re-exploration lineage of energy.comwatt.com (reverse-engineered as END_USER against SPA bundle main.5d426c11.js, live-probed 2026-08-15; no official API exists). Re-verify against the live API before relying on any claim. Migrated from ROADMAP.md when it was retired.

**Roadmap section: 5. Client — write paths** Need a consenting test site; quirks in §2.6. > **Constraint.** Whatever we probe against a live account, the test suite > keeps its current shape: `responses` with hand-written payloads. Never > commit a *captured* response (VCR/Betamax-style cassettes) recorded on a > real account — those carry the owner's name, postal address, phone, supply > number, account uuid, neighbouring Wi-Fi SSIDs and the `cwt_session` > cookie, and on a public repo they stay in the history forever. - `set_device_mode(device_id, ON|OFF|COMWATT)` — the "Off / On / Auto" control. --- *From the 2026-09 re-exploration lineage of `energy.comwatt.com` (reverse-engineered as `END_USER` against SPA bundle `main.5d426c11.js`, live-probed 2026-08-15; no official API exists). Re-verify against the live API before relying on any claim. Migrated from `ROADMAP.md` when it was retired.*
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mat/python-comwatt-client#104
No description provided.