Repository navigation
Releases
v0.9.0
Update the plugin on the device and the integration in Home Assistant together; a plugin on 0.4.1 or newer updates itself to this one (you approve the install on the device). This release keeps protocol version 3 and adds one command and one input event, so an older plugin keeps working for everything else, but seeking from the card needs this plugin (an older one answers that it does not know the command).
Added
- Playback buttons on the remote card. A row of five buttons under the controls: previous track, seek back, play/pause, seek forward and next track. The row can be hidden with the new Show the play, pause, next and previous buttons option, and is off while the device is off.
- Seeking. The seek buttons move 10 seconds on each tap and keep going while you hold them. The media player now supports
media_player.media_seekwhenever the player reports how long the video is (not for a live stream or a game). The device moves the player with MPRISSetPositionand falls back to a relative seek, because some players mishandle a relative one. - Seek amount on the device's cursor. While you seek, the cursor circle on the device's screen flows to the side (left for back, right for forward), turns into a label such as
+30or-1:30that adds up over a run of presses, and flows back. - The playing app shows its progress bar. A seek is not input for a video app, so the device also nudges the pointer a few pixels and back (the drawn cursor stays still).
- Two switches in the Piston panel under Remote input, both on by default: Show seek amount on the cursor and Nudge the pointer on seek.
Notes
- Seeking depends on the app: players that report their length and accept MPRIS seeks work (tested with Jellyfin and YouTube); a player without a length leaves the seek buttons dimmed.
- The remote card needs the card file of this version: after updating, reload the dashboard (the card address changes with the file, so the Companion app does not keep an old copy).
- The README's media player row and the reference describe the behavior.
What's Changed
- Codify the project rules and add guards for them by @White-Goblin in #1
- Document decisions, module map and testing; guard three more conventions by @White-Goblin in #2
- Run the real Home Assistant suite on the minimum and the newest relea… by @White-Goblin in #3
- Seek from the remote card: transport row, seek buttons and a cursor label by @White-Goblin in #4
- README: new tagline, drop the seek switches sentence by @White-Goblin in #5
- Release 0.9.0: seeking from the remote card by @White-Goblin in #6
New Contributors
- @White-Goblin made their first contribution in #1
Full Changelog: v0.8.0...v0.9.0
v0.8.0
Update the plugin on the device and the integration in Home Assistant together; a plugin on 0.4.1 or newer updates itself to this one (you approve the install on the device). This release keeps protocol version 3 and adds one frame, so an older plugin keeps working for everything else, but the remote card needs this plugin.
Added
- A remote card for your dashboard. The new Piston remote card, shipped with the integration (no resource to add), gives you a touchpad, an arrow wheel, Steam menu, Quick Access and Back buttons, the phone keyboard, volume (a slider with system volume, buttons with HDMI CEC), a power button and an app picker for the device, from the Home Assistant app on your phone, anywhere Home Assistant is reachable. A cursor is drawn on the device's screen above menus and games. Turning the device off always asks first; turning it on sends Wake on LAN. The card follows your Home Assistant theme, and three sliders in its editor (touchpad height and two gaps) fit it to your screen. See the reference.
- Remote input is for administrators. The card can type on the device, so only Home Assistant administrators may use it unless you turn on the new option Remote input for all users. The Piston panel on the device has an Allow remote input switch (on by default) that makes the device ignore the card.
- The device reports whether it can take remote input and why not (the card shows it): off on the device, the virtual input devices could not be created, desktop mode, and so on.
Notes
- Only ASCII can be typed. On an iPhone a two-finger sideways drag switches dashboard tabs and the card cannot prevent it: use a dashboard with a single view.
- The integration now depends on Home Assistant's
frontend,httpandwebsocket_apicomponents (always present).
Full Changelog: v0.7.0...v0.8.0
v0.7.0
Update the plugin on the device and the integration in Home Assistant together; a plugin on 0.4.1 or newer updates itself to this one (you approve the install on the device). This release keeps protocol version 3 and changes nothing in Home Assistant itself.
Added
- FLAC and Opus for the Sendspin player. The device now offers FLAC (16 and 24-bit, 44.1 and 48 kHz), PCM and Opus (48 kHz). Music Assistant picks the first format it can use, normally FLAC, which uses much less network than raw audio. A codec whose library does not load or fails its start-up self-test is simply not offered, and PCM always works.
- A media card on the device. While Music Assistant plays music on the device, a card shows the cover, title, artist and a progress bar, with previous, play/pause and next buttons and a volume slider for this device's player volume (the value Music Assistant shows for it, not the system volume). It is a new Piston tab in Steam's Quick Access menu, next to the Decky tab; if the tab cannot be added (for example after a Decky update), the card is shown at the top of the Piston plugin panel instead. It is empty while nothing plays and works with the controller. See the reference.
Fixed (hardening of the Sendspin player)
- The player no longer depends on the audio server answering. Opening and controlling the audio output now happens in a task of its own with short time limits, so a PipeWire audio server that stops responding can no longer freeze the player's connection to Music Assistant (before, skipping or pausing could be ignored for about half a minute per track). If the output cannot be opened the player keeps the stream, retries with a growing delay (0.5 s up to 30 s), tells Music Assistant it is unavailable meanwhile, and plays on by itself when the output comes back. A
pactlcall that does not answer is killed instead of being left behind, a stalled output is replaced, and the log records what the audio processes were doing. - Long streams no longer stutter after 20 to 25 minutes. With crossfade on, Music Assistant keeps one continuous stream across tracks, and on the development device the audio hardware consumed audio about 130 parts per million faster than the server's timeline. The small buffer between the player and the audio output slowly ran dry until the stream began to underrun, roughly 25 minutes in. The player now watches how full that buffer is and compensates by repeating single audio frames (at most a tenth of a percent of the audio, spread out, inaudible); frames are dropped only if the audio falls far behind. A control run with the correction off reproduced the stutter at about 28 minutes, and the same stream with it on ran 29 minutes with no underruns. The log shows the measured drift and the frames adjusted every minute while streaming.
- The card's buttons ignore a faster press. At least 0.4 seconds must pass between two commands from the card. Each pause or play makes Music Assistant restart the stream, so a mashed button used to cause a storm of restarts.
- Unloading the plugin is immediate and leaves nothing behind. Decky's plugin runner stops running the plugin's event loop right after it asks the plugin to unload, so the old unload could never finish and Decky killed the plugin after five seconds every time (a
gdbus monitorhelper was then left running for good, one per restart). The plugin now does all of its cleanup synchronously in the first moment of the unload: it saves a pending volume, says goodbye to Music Assistant and Home Assistant, withdraws its mDNS records, kills the audio output and its helper processes. It stops in about 0.1 s, and at start it also stops helpers that earlier runs left behind.
Notes
- Still not supported: pairing, and lowering the game's sound during an announcement (Music Assistant gives the device no signal for it).
- The Quick Access tab relies on Decky Loader internals and is guarded: if it fails, the card moves to the plugin panel and nothing else is affected.
Full Changelog: v0.5.0...v0.7.0
v0.5.0
Piston: media and control for SteamOS devices in your living room. A Home Assistant integration plus a small Decky Loader plugin that pushes commands from Home Assistant to the box under the TV (a Steam Deck, a Steam Machine or any other Decky Loader device).
Highlights
- Media player: launch Steam games and apps as sources, transport keys (play, pause, next, previous), volume through CEC or the system, and what is playing with artwork.
- Power: turn the device on with Wake on LAN, put it to sleep or shut it down, and an accurate state after every wake.
- Notifications: show a toast on the device and get a click event back in your automations.
- Camera picture-in-picture: put any Home Assistant camera on the screen, WebRTC with an HLS fallback.
- Device sensors and switches: CPU, GPU, fan, memory, disk, controller batteries, the Steam screen, desktop mode, and restart buttons.
- Easy setup: the device is found automatically and paired with a 6-digit code shown on its screen; no Home Assistant credential is stored on it.
- Self-updating plugin: Home Assistant keeps the plugin on the device in step with the integration (you approve the install on the device).
Upgrading from 0.4.x
The project is now called Piston, and this is a clean break: it does not upgrade an install of 0.4.x. Remove the old integration and plugin, install the new ones together (the integration and the plugin must be installed together) and pair again. This release keeps protocol version 3.
Changed
- New name, logo and tagline ("Media and control for SteamOS devices in your living room").
- The integration domain is
piston(wasdecky_home_assistant), the plugin folder and Decky Loader name arePiston, the device advertises_piston._tcpover mDNS and the plugin zip ispiston-<version>.zip. Entity IDs, services and automations that used the old domain have to be recreated. - The Python package on the device is
piston_device. hacs.jsondeclares Home Assistant 2026.10.0 as the minimum, the new icon replaces the old one, and each GitHub release body is now the changelog section (shown in Home Assistant's update entity).- The README explains installing through the Marketplace (Home Assistant 2026.11) or HACS.
Full Changelog: v0.4.2...v0.5.0
v0.4.2
v0.4.1
v0.3.0
v0.2.0
Update the plugin on the device and the integration in Home Assistant together. This release uses protocol version 2 and neither side talks to version 1: a mismatch shows a Repairs item in Home Assistant that names the side to update, and the entities are unavailable until both match. Install the integration through HACS and the plugin zip through Decky Loader, then restart Home Assistant.
Better wake-up and state handling
- The device announces every sleep and shutdown (power button, idle timer, Home Assistant, Steam menu), not only the ones Home Assistant starts. Before, a sleep from the power button left the media player showing the old state for the whole sleep.
- After a wake the device re-reads its real state (session, audio, sensors, controllers, running app) instead of resending what it had, waits for its network to return, announces itself on mDNS and then sends only what changed.
- Home Assistant reconnects every 5 seconds for ten minutes and then every 30 seconds (it used to back off up to five minutes), reconnects at once when the device announces itself, and notices a half-open connection within about 22 seconds.
- State frames are sequenced; Home Assistant asks for a full resend when it misses one.
- A shutdown shows the media player as off immediately.
Availability and persistence
- The media player stays available while the device is off or asleep (Turn on keeps working); every other entity is unavailable then. A rejected pairing or a version mismatch makes everything unavailable.
- Home Assistant stores the apps, controllers, sensor names and device facts, so entities exist after a restart (values unknown, media player off until the device reports).
- A Repairs item appears when the device has not been reachable for more than 24 hours.
Home Assistant quality
- Silver on the integration quality scale:
quality_scale.yamlfor all 54 rules,PARALLEL_UPDATESon every platform, wrong input reported as a validation error, descriptions for every setting, a reconfigure flow (change the address, keep the pairing), diagnostics with redaction, and a test suite that runs inside a real Home Assistant. - Settings and setup parameters are documented in the README.
Fixed
- A timer kept running after the integration was unloaded.
- The mDNS announcement left a network socket open after a failed start.
- Controller serial numbers could appear in diagnostics.
- The camera overlay's fallback address crashed when Home Assistant had no internal URL; it now says what to set.
Full Changelog: v0.1.1...v0.2.0