Repository navigation
Releases
Releases · damient/govee-toolkit
server-v0.3.0
Added
- Carries Studio 0.3.0: see
apps/studio/CHANGELOG.md. POST /api/welcomed: Studio sends it when it is past its welcome.
Optionstakeswelcomed, aWelcomedthat the desktop app waits for.
Fixed
- On macOS, a scan after the user gives the local network access reaches the
lights:govee-toolkit1.19.1 replaces a refused socket.
rust-v1.19.1
Fixed
lan: a scan, command or status request that fails with "No route to host"
or "Network is unreachable" closes the socket. The next one binds a new one.
desktop-v0.3.0
Added
- Carries Studio 0.3.0: see
../studio/CHANGELOG.md. - On macOS, a menu bar icon opens a panel that turns every light on or off
and sets the brightness. A right click opens Studio or quits. - On macOS, a close hides the window and the app stays in the menu bar. A
click on the Dock icon shows the window again. - On macOS, the welcome of Studio opens the Local Network page of System
Settings. - The menu bar icon shows when Studio is past its welcome, so the first
launch asks for the local network from the welcome.
Fixed
- The
.dmgwindow shows the app and the Applications folder on a
background with an arrow. dmgbuild writes the layout. - The app icon has the size of the other icons on macOS 26 and later: the
bundle carries an Icon Composer icon. - The menu bar icon fits in a square, as the icons of the system do.
- A local build with no signing identity signs the whole bundle ad hoc, with
the bundle identifier, as the release workflow does.
Studio desktop app (latest)
The installers of desktop-v0.3.0. The file names stay the same from one release to the next.
server-v0.2.0
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.
rust-v1.19.0
Added
Verb::repaints():truefor a verb that repaints every LED, which
replaces a drawing.Supported::grid:[columns, rows]of the cells ofdraw, from
measurements.segment_gridof the device file.- A
payload:reads${frames}: a list with the base64 of each frame the
command builds.ptRealuses it to carrybleframes overlan. codec::frame::Token::SpanandToken::SpanEnd: a length field over the
bytes between them, 8 or 16 bits, either byte order.codec::frame::Token::Groups: zone indices grouped by color, one byte each.
An index named twice iscodec::Error::ArgSyntax.codec::frame::Token::Arg16Le: an integer field of two bytes, low byte
first, written${name:16le}.DeviceHandle::scene()plays aScene, andscene_named()plays one by
name or code from the cached library.Devices::scene(),Verb::Scene.scenes::fetch()stores a model's scene library in the cache folder, with
no account.scenes::load()andscenes::find()read it back.Role::Scene,Role::SceneBuiltinand the argument rolesSceneCode,
SceneParamandSceneType.Error::Scenescarriesscenes::Error: codesscene_list_missing,
unknown_scene,ambiguous_sceneandscene_fetch_failed, among others.DeviceHandle::draw()stores aDrawingof the LEDs throughrole: draw:
a cell list, or zones spread over every LED. The device keeps it.Supported::draw: the LED count ofrole: draw.Resolved::role_args()reads supplied arguments under the types of the
entry that claims a role.input::scene()reads a scene name or code from a host value.Error::is_offline(): the device does not answer now.Role::Draw: a stored drawing of the LEDs. Its arguments are marked
role: colorsandrole: zones.ArgSpec::Intcarriesdefault, andArgOverridetoo: the codec sends it
when the caller gives none.ArgSpec::default_value()reads it.codec::encode_batch()encodes several commands, and carries the frames of
consecutive commands that share an envelope in one envelope.input::verbs()readsscene, a name or a code, intoVerb::Scene. The
apply()of the Node and Python bindings takes it.
Changed
- A minor release can add an enum variant or a struct field: write a
_arm.
Seedocs/versioning.md. - Breaking:
DeviceHandle::segment()takesrole: segment_color_masked
alone.Resolution::Nativefails: usedraw()oropen_stream(). DeviceHandle::segment()paints the 15 mask groups of the H6022 and the
H61A0 overlan, in oneptRealdatagram. The colors stay.- Breaking:
DeviceHandle::open_stream()takesrole: segment_color
alone:bleandcloudfail withno_segment_command. Usesegment(). DeviceHandle::gradient()reacheslanon the H6022 and the H61A0,
through thebleframe inptReal.stream::reach()anddescribereport whatsegment()reaches: the 15
groups of the mask overlanon the H6022 and the H61A0.
Deprecated
Segments::armedis alwaysfalse:segment()arms no channel on any
mode. ReadSupported::segmentsalone.
Fixed
segment()arms no channel. A mode withrole: segment_enablesent an
arming frame and a settle wait before each masked paint.- A
lanscan reply counts as an answer for the breaker of the device: the
next command goes out with noDegradedorDowncooldown.
python-v1.11.0
Added
fetch_scenes(sku)stores the scene library of a model overcloud, and
load_scenes(sku)reads it back as a list ofScene.DeviceHandle.scene()plays aScene, or a name or a code of the cached
library.Devices.scene()andDevices.apply(scene=...)play it on every
member. A name that matches no scene or more than one raisesCodecError.DeviceHandle.draw()stores a drawing of the LEDs on the entry marked
role: draw. The device keeps playing it.
Changed
- Breaking:
DeviceHandle.open_stream()opens onlanalone. Another mode
fails withno_segment_command. Paintbleandcloudwithsegment(). - Breaking:
segment()paints by mask. A native resolution fails with
native_zones_unreachable: stream instead. segment()paints the 15 mask groups of the H6022 and the H61A0 over
lan, inptReal. The colors stay.- The binding builds on PyO3 0.30.
node-v1.10.0
Added
fetchScenes(sku)stores the scene library of a model in the cache, and
loadScenes(sku)reads it back asSceneobjects.DeviceHandle.scene()plays a scene by name, by code or as aScene, and
Devices.scene()plays one by name or code on every member.apply()
takesscene.DeviceHandle.draw()stores a drawing of the LEDs: a list of cells and
their colors, or one color per zone.
Changed
- Breaking:
DeviceHandle.openStream()opens onlanalone. Another mode
fails withno_segment_command. Paintbleandcloudwithsegment(). - Breaking:
segment()paints by mask. A native resolution fails with
native_zones_unreachable: stream instead. segment()paints the 15 mask groups of the H6022 and the H61A0 over
lan, inptReal. The colors stay.
mcp-v0.4.0
Added
settakesscene: a name or a code, played from the scene library of the
model in the cache.govee scenes fetch <SKU>fills the cache.
Changed
- Breaking:
setpaintssegmentby mask, and the colors stay. The
nativeresolution fails withnative_zones_unreachable. - Breaking:
streamopens onlanalone, as the Node binding does. Another
mode fails withno_segment_command. - The server wraps the Node binding
govee-toolkit1.10.0.
desktop-v0.1.0
Added
- Carries Studio 0.2.0: see
../studio/CHANGELOG.md. - Studio in a window on macOS and Windows. The app runs the Studio server
in its own process on the loopback port 4090. - The release carries a
.dmgfor macOS on Apple silicon and a
-setup.exefor Windows.desktop-latestcarries them with no version. - The app checks once a day for a new
desktop-vrelease. Home shows it,
and on macOS the app menu has Check for Updates. - A link that opens a new window opens in the system browser.
- Studio takes the language of the system until the user picks one in
Settings.