Repository navigation
server-v0.2.0
·
28 commits
to main
since this release
Added
- Carries Studio 0.2.0: see
apps/studio/CHANGELOG.md. GET /api/eventsstreams server-sent events:appliedafter
POST /api/apply,changedafter a write that changes something.GET /api/devices/{id}/statuswithX-Studio-Sharealso sends what it
read as astatusevent.serverofGET /api/settingsaddsdesktop(the desktop app version,
ornull) andos.Optionstakesdesktop.POST /api/resettakespresets: it removes every preset.POST /api/applytakesscene: a name or a code of the library that
govee scenes fetch <SKU>caches.POST /api/applytakesdraw: one color per LED, throughrole: draw.
features.drawof the status gives the LED count and the grid, ornull.GET /api/devices/{id}/statusaddsdrawing: the lastdrawsent, in
memory. A color, a white, a segment or a scene sets it tonull./api/presetskeeps the presets of Studio inpresets.json, one per
POST,PUTorDELETE. A backup carriespresets.POST /api/applytakessegmentas{ "colors": [...] }: one color per
zone, in one datagram.
Changed
- Breaking:
GET /api/devices/{id}/statusanswers 200 and
"online": falsefor a device that does not answer, in place of 502. - An SDK error gets the HTTP status of its
code, and the body addscode.
See "Errors" in the README.identifyanswers 503 in place of 502. - Breaking: the server drives every light over
lanalone.
GET /api/devicesleaves out an entry ofconfig.yamlwith nolan.
Fixed
features.segmentsgives the zone count onlanfor the H6022 and the
H61A0.segmentpaints there by mask and arms no channel.