Skip to content

v2.3.0-dev — Hardware Integration & Notification Commands

Pre-release
Pre-release

Choose a tag to compare

@SimoneB79 SimoneB79 released this 26 May 07:53
· 9 commits to dev/notifications since this release

🖥️ Hardware Integration & 📡 Notification Commands

System Clock

  • Time, date, CPU temperature displayed in settings menu header
  • Updates every second (clock) and 30s (temperature)

Display Controls

  • Monitor ON/OFF via vcgencmd / xset dpms
  • Night scheduling: auto display off/on at configurable times
  • Settings persisted in ~/.config/ha-linux-companion/schedule.json

Hardware Info Panel

  • Board model, CPU temp (color-coded bar), frequency
  • RAM usage with progress bar
  • Disk usage with progress bar
  • Uptime, serial number, OS, kernel, arch
  • Electron and Node.js versions

CPU Governor

  • Selectable: performance, powersave, ondemand, conservative, schedutil

Network Info

  • WiFi SSID, signal strength (% and dBm)
  • IP address, gateway, DNS, interface name

Audio Output Selector

  • Switch between HDMI, jack 3.5mm, Bluetooth via PulseAudio
  • Shows current default with ✓

System Power

  • Reboot and Shutdown buttons (with confirmation dialog)

Update Channel

  • Checks GitHub releases API for stable and dev versions
  • Shows current version badge with update notification

Notification Commands

Control the panel remotely from HA automations:

Command Description
command_screen_on Turn display on
command_screen_off Turn display off
command_screen_brightness_level Set brightness (data.brightness 0-100)
command_volume_level Set volume (data.volume_level 0.0-1.0)
command_dnd Toggle DND (data.dnd true/false)
command_bluetooth BT on/off (data.bluetooth turn_on/turn_off)
command_update_sensors Force sensor update
command_open_url Navigate to URL
command_navigate Navigate HA path
command_restart_app Restart Electron
command_reload_dashboard Reload dashboard
command_set_wallpaper Set background (data.url)
command_set_theme Set HA theme (data.theme)

Commands work via both WebSocket push and HTTP push.

Commits since v2.1.0-dev

  • 1d005f9 v2.2.0-dev — Hardware integration, system clock, display scheduling, network info
  • e3d59d4 Move clock inside settings menu panel
  • 3a58ed3 v2.3.0-dev — Notification commands (HA-remotable panel control)
  • 830d63e docs: update README