v2.3.0 — Notification System, Hardware Integration & Remote Commands
🎉 v2.3.0 — Major Feature Release
🔔 Notification System
- Custom HTML/CSS toast overlay injected into Lovelace dashboard
- 5 priority levels: urgent (persistent + action button), high, default, low, min
- Color-coded borders with animated slide-in/out and progress bar
- Up to 3 stacked toasts with auto-dismiss
- Notification settings menu: enable, sound, DND, duration, melody
- Custom sounds: .wav/.ogg/.mp3/.flac from
~/.config/ha-linux-companion/sounds/ - Channels: auto-created from
data.channel, per-channel enable/sound/priority - Notification history with clear
🖥️ Hardware Integration
- System clock with date and CPU temperature in settings menu
- Hardware info panel: board model, CPU temp/freq, RAM, disk, OS, kernel, serial
- Color-coded progress bars for CPU, RAM, disk usage
- CPU governor selector: performance / powersave / ondemand / conservative / schedutil
- Display ON/OFF control
- Night scheduling: auto display off/on at configurable times
- Network info: WiFi SSID, signal strength, IP, gateway, DNS
- Audio output selector: switch between HDMI, jack, Bluetooth
- System reboot/shutdown with confirmation
- Update checker: shows latest stable and dev releases from GitHub
📡 Notification Commands
Control the panel remotely from any HA automation:
| Command | Description | Data |
|---|---|---|
command_screen_on |
Turn display on | — |
command_screen_off |
Turn display off | — |
command_screen_brightness_level |
Set brightness | brightness: 0-100 |
command_volume_level |
Set volume | volume_level: 0.0-1.0 |
command_dnd |
Toggle DND | dnd: true/false |
command_bluetooth |
BT on/off | bluetooth: turn_on/turn_off |
command_update_sensors |
Force sensor update | — |
command_open_url |
Navigate to URL | url: "https://..." |
command_navigate |
Navigate HA path | navigate: "/lovelace/0" |
command_restart_app |
Restart Electron | — |
command_reload_dashboard |
Reload dashboard | — |
command_set_wallpaper |
Set background | url: "https://..." |
command_set_theme |
Set HA theme | theme: "name" |
Example Automation
automation:
- alias: "Panel night mode"
trigger:
- platform: time
at: "23:00:00"
action:
- service: notify.mobile_app_pannello
data:
message: command_screen_off
- alias: "Panel morning"
trigger:
- platform: time
at: "07:00:00"
action:
- service: notify.mobile_app_pannello
data:
message: command_screen_on
- delay: 5
- service: notify.mobile_app_pannello
data:
message: command_screen_brightness_level
data:
brightness: 80Full Changelog
v2.0.0 → v2.3.0 — 10 commits on dev/notifications, now merged to main
- Toast notification overlay with priority levels
- Notification settings in overlay menu
- Custom notification sounds support
- Notification channels with auto-creation
- Hardware integration (clock, display, CPU, network, audio)
- Display night scheduling
- Notification commands for remote panel control
- Comprehensive README documentation
Assets
Source code available in the repository. Install via:
git clone https://github.com/SimoneB79/ha-linux-companion.git
cd ha-linux-companion
npm install
npm start