Redesign dashboard zone card with live temps, AC status, and per-radiator state

Adds actual room-temperature capture for TRVs over MQTT and a background
Modbus poller for AC mode/fan/lock/room-temp, so the dashboard tile can show
real setpoint-vs-actual readings, an AC status block, and up to 3 radiator
icons per zone instead of just the setpoint.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-27 20:25:50 +00:00
parent ab14d4dfe1
commit 0929285651
9 changed files with 230 additions and 12 deletions

View file

@ -64,6 +64,15 @@ export interface DeviceSummary {
current_target_temp: string | null
target_origin: string | null
last_seen: string | null
// Dashboard live-status cache — shelly_trv populates current_room_temp/heating_active
// via MQTT (mqtt.js); mhi_modbus populates the rest via the AC poller (ac-poller.js).
current_room_temp: string | null
heating_active: boolean | null
power_state: 'on' | 'off' | null
current_mode: string | null
fan_speed: string | null
remote_locked: boolean | null
status_updated_at: string | null
}
export interface Device extends DeviceSummary {