Skip to content

server-v0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 19:47
· 28 commits to main since this release
server-v0.2.0

Added

  • Carries Studio 0.2.0: see
    apps/studio/CHANGELOG.md.
  • GET /api/events streams server-sent events: applied after
    POST /api/apply, changed after a write that changes something.
  • GET /api/devices/{id}/status with X-Studio-Share also sends what it
    read as a status event.
  • server of GET /api/settings adds desktop (the desktop app version,
    or null) and os. Options takes desktop.
  • POST /api/reset takes presets: it removes every preset.
  • POST /api/apply takes scene: a name or a code of the library that
    govee scenes fetch <SKU> caches.
  • POST /api/apply takes draw: one color per LED, through role: draw.
    features.draw of the status gives the LED count and the grid, or null.
  • GET /api/devices/{id}/status adds drawing: the last draw sent, in
    memory. A color, a white, a segment or a scene sets it to null.
  • /api/presets keeps the presets of Studio in presets.json, one per
    POST, PUT or DELETE. A backup carries presets.
  • POST /api/apply takes segment as { "colors": [...] }: one color per
    zone, in one datagram.

Changed

  • Breaking: GET /api/devices/{id}/status answers 200 and
    "online": false for a device that does not answer, in place of 502.
  • An SDK error gets the HTTP status of its code, and the body adds code.
    See "Errors" in the README. identify answers 503 in place of 502.
  • Breaking: the server drives every light over lan alone.
    GET /api/devices leaves out an entry of config.yaml with no lan.

Fixed

  • features.segments gives the zone count on lan for the H6022 and the
    H61A0. segment paints there by mask and arms no channel.