Skip to content

Releases

v1.13.0 — Media tab

Choose a tag to compare

@github-actions github-actions released this 13 Oct 00:08

What's new: the Media tab

A new tab shows what's playing on your PC: the app, the title (up to two lines), the artist and a progress bar with times. Five buttons control it: previous, play/pause, next, volume down and volume up. They press the PC's media keys.

  • Windows: reads the system's media sessions, so it works with anything that shows up in the volume flyout's media controls: Spotify, browsers (YouTube and the like), Media Player, VLC... Some apps, Firefox among them, don't always report the track's length, and then the progress bar stays empty.
  • Linux: uses playerctl, which talks to any MPRIS player. Install it from your distribution.
  • macOS: not supported yet.

The tab only asks the agent while it's open, and the progress bar moves on its own in between. If something is missing on the PC, the tab says what to install. Media buttons go through the same protections as shortcuts (the token, and no requests from web browsers).

The tab isn't in the default tab list. The tab bar fits 8 tabs and the defaults already fill it, so add media to the tab list in the panel's web interface in place of one you don't use. Tabs beyond 8 are now skipped, with a message on the serial log.

tools/demo_agent.py serves a fake track that responds to the buttons, so you can try the tab without touching your own media.

Upgrading

  • Firmware: from v1.1.x or later, upload the *-ota.bin below through the panel's web interface. From v1.0.0, flash once with the web installer or over USB.
  • Agent from source on Windows: pull the repository and run pip install -r agent/requirements.txt again. It now installs the winrt packages the Media tab needs. Then restart the agent.
  • Agent .exe: download the new cyd-pc-agent-v1.13.0-windows.zip below. It already includes everything.

v1.12.0 — Shortcuts tab

Choose a tag to compare

@github-actions github-actions released this 12 Oct 23:19

What's new: the Shortcuts tab

A new tab with up to 8 buttons that act on your PC. Define them in agent/config.json:

"actions": [
  { "name": "Lock", "do": "lock" },                    // built-in action
  { "name": "Docs", "open": "https://example.com" },   // file, folder, app or URL
  { "name": "Backup", "run": ["python", "backup.py"], "icon": "bolt", "color": "pink" }
]
  • Built-in actions: lock, screen_off, mute, vol_up, vol_down, play_pause, next, prev. They work out of the box on Windows. On Linux they use loginctl, xset, pactl and playerctl; on macOS, pmset and osascript (no media keys there).
  • open opens anything with its default program. run starts a command without a shell and without waiting for it.
  • Pick from 13 icons and 7 colors, or keep the defaults for each kind.
  • The grid adapts to how many buttons you have (one row, 2×2 or 4×2). A tapped button lights up while the agent runs the action, and turns red with the reason if it fails.

Security: the panel only sends the button's number, so it can only run what's in your config, and the agent never exposes the commands. Action requests coming from a web browser are refused, so a page you open can't fire them. Other devices on your LAN still could, so set a token when you use shortcuts (the agent warns about it on startup). Details in the README.

To show the tab, add actions to the tab list in the panel's web interface (new installs show it by default). tools/demo_agent.py serves sample shortcuts, so you can try the tab without configuring anything.

Upgrading

  • Firmware: from v1.1.x or later, upload the *-ota.bin below through the panel's web interface. From v1.0.0, flash once with the web installer or over USB.
  • Agent: pull the repository, or download the new cyd-pc-agent-v1.12.0-windows.zip below. Then add your actions (and a token) to config.json and restart the agent. Remember to enter the same token on the panel.

v1.11.0 — Services tab

Choose a tag to compare

@github-actions github-actions released this 12 Oct 22:21

What's new: the Services tab

A new tab shows whether the things on your network are up: home server, NAS, router, websites, APIs. List up to 6 of them in agent/config.json, and the agent checks them all in parallel every 30 seconds:

"services": [
  { "name": "NAS", "check": "tcp://192.168.1.20:445" },     // up if the port accepts a connection
  { "name": "Website", "check": "https://example.com" }     // up if it answers with a status below 400
]
  • Each row shows the latency, or why it failed (timeout, refused, no DNS, HTTP 503...) and for how long.
  • A service only counts as down after 2 failures in a row (services_options.fail_threshold), so one lost packet doesn't raise an alarm. It's back at the first success.
  • While something is down, the tab icon blinks red and the RGB LED pulses, from any tab.
  • The agent pops a notification on the panel when a service goes down or comes back (services_options.notify, sent to panel.host).

To show the tab, add services to the tab list in the panel's web interface (new installs show it by default). Details in the README.

tools/demo_agent.py also serves fake services now, so the tab can be tried without any configuration.

Upgrading

  • Firmware: from v1.1.x or later, upload the *-ota.bin below through the panel's web interface. From v1.0.0, flash once with the web installer or over USB.
  • Agent: pull the repository, or download the new cyd-pc-agent-v1.11.0-windows.zip below. Then add your services to config.json and restart the agent.

v1.10.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 21:56

What's new: the agent as a Windows executable (no Python needed)

Running the PC agent no longer requires installing Python. Download cyd-pc-agent-v1.10.0-windows.zip below, extract it to a folder of your choice and run cyd-pc-agent.exe.

  • Start with Windows: cyd-pc-agent.exe --install makes it start at every logon, without a window, logging to agent.log next to the exe. No admin rights needed. --uninstall undoes it.
  • Settings: copy config.example.json to config.json in the same folder and edit it. Everything is optional.
  • Notifications: cyd-pc-agent.exe notify "Build passed" --level ok works like agent/notify.py.
  • On first run, allow it on private networks when Windows Firewall asks.
  • The exe isn't code-signed, so SmartScreen may warn the first time (More info → Run anyway). It's built by this repository's release workflow from the tagged source with PyInstaller, and smoke-tested before it's attached.

Already running the Python agent with install_autostart.bat? Pick one: --install warns if the old scheduled task also exists, since two agents would fight over the same port.

Running from source (any OS) works exactly as before.

Upgrading

  • Firmware: unchanged since v1.9.0, nothing to flash if you're already on it. From v1.1.x, the *-ota.bin below works as usual through the panel's web interface; from v1.0.0, flash once with the web installer or over USB.
  • Agent from source: pull the repository (small changes so it also works when packaged).

v1.9.1

Choose a tag to compare

@github-actions github-actions released this 12 Oct 21:31

What's new: an automated test suite for the agent

The PC agent now has 65 pytest tests in agent/tests/, covering the logic that grew the most:

  • CPU temperature: sensor selection, LibreHardwareMonitor's data.json (old and new formats, decimal comma, GPU and disk sensors ignored) and psutil
  • disks and processes: names, "all", removable drives, a disk that disappears, process filters
  • quote history: time windows, the saved history file, a changed base currency, a corrupted file
  • stocks: currency prefixes, indices, a wrong ticker that must not break the others
  • the real HTTP server: routes, response shapes and the agent token
  • config, LAN discovery and notify.py (authentication, retries)

The suite doesn't touch the network (external APIs are simulated) and runs in about a second. CI now runs it on Linux, Windows and macOS.

pip install -r agent/requirements.txt pytest
python -m pytest agent/tests -q

Fixes

  • A disk name cut to 8 characters could end with a space.
  • Disk names are derived the same way on every OS (Windows-style paths were not split on Linux/macOS).

Requirements

  • The agent now officially requires Python 3.9+ (it was documented as 3.8+, but 3.8 is end-of-life and no longer testable on CI). 3.9 is tested on every push.

Upgrading

  • Agent: pull the repository (only small fixes in pc_stats_agent.py, plus the tests).
  • Firmware: unchanged since v1.9.0, nothing to flash if you're already on it. From v1.1.x, the *-ota.bin below works as usual through the panel's web interface; from v1.0.0, flash once with the web installer or over USB.

v1.9.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 21:18

What's new: stocks, ETFs and indices on the Quotes tab

Besides fiat currencies and crypto, the Quotes tab now shows stocks, ETFs and market indices from the B3, the US and other exchanges. Add them to quotes.assets in the agent's config.json with "type": "stock" and the Yahoo Finance ticker in id:

{ "symbol": "AAPL",   "type": "stock", "id": "AAPL" }
{ "symbol": "PETR4",  "type": "stock", "id": "PETR4.SA" }
{ "symbol": "IVVB11", "type": "stock", "id": "IVVB11.SA" }
{ "symbol": "IBOV",   "type": "stock", "id": "^BVSP" }
  • No API key: data comes from Yahoo Finance's chart API, one request per stock per minute.
  • Each stock shows in its exchange's currency. If that isn't your base currency, the row gets its own prefix ($340.97 for AAPL on a BRL panel). Indices have no prefix, since they're points rather than money. Set "prefix" on the asset to override it.
  • The chart behind the price is the current (or last) trading session, and the change badge is against the previous close.
  • A wrong ticker only affects its own row (it shows up in the agent log); the others keep working.
  • Long tickers like IVVB11 now push the price to the right instead of overlapping it.

GET /quotes items can now carry their own prefix.

Upgrading

  • Update the agent (agent/pc_stats_agent.py): it's the one fetching the stocks. Then add the assets you want to config.json.
  • Firmware, from v1.1.x and later: upload cyd-pc-dashboard-v1.9.0-ota.bin from the panel's web interface (Firmware update), or curl -F firmware=@cyd-pc-dashboard-v1.9.0-ota.bin http://cyd-dashboard.local/api/update. Needed for the per-row prefixes and long tickers. Settings are kept, and the update is protected by the automatic rollback.
  • From v1.0.0: flash once with the web installer or over USB (new partition table since v1.1.0).

v1.8.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 21:09

What's new: the board's RGB LED and light sensor

The CYD ships with an RGB LED and a light sensor that the firmware never used. Now it does.

Status LED

The RGB LED on the back of the board becomes a status light, visible even when the screen is off at night:

  • pulses red while a CPU/RAM/disk/temperature alert is active
  • blinks in the level's color while a notification is on screen (blue info, green ok, orange warning, red error)
  • purple during a firmware update
  • off otherwise

On by default at 15% brightness (the LED is bright in a dark room). Both are in the setup portal and the web interface (Display section). POST /api/led?color=ff0000&seconds=3 lights it in any color, to check your board's LED wiring.

Auto brightness

Optional, off by default: the backlight follows the room light, between a configurable level in the dark and your normal brightness. Night mode still takes priority.

The sensor was calibrated on a real board (on the CYD the reading goes up in the dark: about 2900 with a hand over it, 1550 in a lit room, 1050 under a phone flashlight), and the screen's own light doesn't reach the sensor, so the brightness doesn't feed back on itself. Units vary: GET /api/status now shows the raw reading, and LDR_DARK_RAW / LDR_BRIGHT_RAW in user_config.h adjust the range.

Upgrading

  • From v1.1.x and later: upload cyd-pc-dashboard-v1.8.0-ota.bin from the panel's web interface (Firmware update), or curl -F firmware=@cyd-pc-dashboard-v1.8.0-ota.bin http://cyd-dashboard.local/api/update. No agent changes. Settings are kept, and the update is protected by the automatic rollback from v1.3.0.
  • From v1.0.0: flash once with the web installer or over USB (new partition table since v1.1.0).

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 20:45

What's new: one definition per setting

Every panel setting is now a single row in one table in the firmware: key, type, range, options, default, section and label. Saving and loading, validation, the setup portal and the web interface's form are all generated from it. Adding a setting used to mean touching five places; now it's one line.

What you'll notice:

  • Reorganized web settings form, in sections (Agent, Region, Tabs, Display, Night mode, Alerts, Web interface), with dropdowns that use readable names ("24h", "mdy: 10/12/2026", "Catppuccin Mocha"...).
  • The setup portal lists the accepted options for theme, language, rotation, clock and date format.
  • New GET /api/schema describes every setting (type, range, options), for anyone scripting the panel.

Behavior changes

  • Stricter validation: an out-of-range value sent to POST /api/settings (or typed in the portal) is now rejected and listed in rejected, instead of being silently adjusted. For example, "bright": 5 used to be stored as 10. The web form already enforces the ranges, so this only affects scripts.
  • The web interface password can now also be removed from the web interface, by typing - (same as the agent token).

Your saved settings carry over: the update was tested on a panel with non-default values in every kind of setting, and all of them were read back unchanged.

Upgrading

  • From v1.1.x and later: upload cyd-pc-dashboard-v1.7.0-ota.bin from the panel's web interface (Firmware update), or curl -F firmware=@cyd-pc-dashboard-v1.7.0-ota.bin http://cyd-dashboard.local/api/update. No agent changes. The update is protected by the automatic rollback from v1.3.0.
  • From v1.0.0: flash once with the web installer or over USB (new partition table since v1.1.0). Settings are kept.

v1.6.1

Choose a tag to compare

@github-actions github-actions released this 12 Oct 20:07

What's new: start the agent automatically on Linux and macOS

Until now only Windows had a one-click autostart. Now ./agent/install_autostart.sh does the same on Linux and macOS, without root:

  • Linux: registers a systemd user service that starts at login and restarts if the agent crashes. Logs with journalctl --user -u cyd-pc-dashboard-agent -f. Add --linger to start it at boot, before anyone logs in.
  • macOS: registers a launchd LaunchAgent that starts at login, logging to agent/agent.log. The first time, macOS may ask whether Python can accept incoming connections: allow it, or the panel can't reach the agent.

It uses agent/.venv if present (otherwise python3 from your PATH), checks that psutil is installed, and stops any agent you started by hand so they don't fight over the port. Run it again to update; ./agent/uninstall_autostart.sh removes it. --dry-run shows the generated service file and commands without changing anything.

CI now lints both scripts with shellcheck and checks the generated systemd unit and launchd plist on every push.

Upgrading

  • Firmware: unchanged since v1.6.0, nothing to flash if you're already on it. From v1.1.x and later, the *-ota.bin below works as usual through the panel's web interface. From v1.0.0, flash once with the web installer or over USB.
  • Agent: pull the repository (or copy the two new agent/*_autostart.sh scripts) and run ./agent/install_autostart.sh.

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 19:42

What's new: set up WiFi from the web installer

The panel now speaks Improv Wi-Fi over USB, so the web installer offers Connect to Wi-Fi right after flashing: pick your network in the browser and the panel joins it. No more joining the CYD-Dashboard hotspot from your phone. Since the agent is discovered automatically, there's usually nothing else to configure.

  • The installer's button also works on an already-flashed panel: plug it in, click it, choose the port, and you get Change Wi-Fi and Visit Device without reinstalling.
  • If the network you pick doesn't connect, the panel goes back to the setup portal (first setup) or to the network it was on (already running).
  • The phone-based setup portal still works exactly as before.
  • The serial debug commands (s, n, a, r, i) keep working alongside Improv.

For contributors: tools/improv_test.py exercises the whole protocol over serial without a browser, including how fast the panel answers after a reset.

Upgrading

  • From v1.1.x and later: upload cyd-pc-dashboard-v1.6.0-ota.bin from the panel's web interface (Firmware update), or curl -F firmware=@cyd-pc-dashboard-v1.6.0-ota.bin http://cyd-dashboard.local/api/update. No agent changes since v1.5.0.
  • From v1.0.0: flash once with the web installer or over USB (new partition table since v1.1.0). Settings are kept, and this time the installer can set up WiFi too.