diff --git a/config/dashboards/infrastructure/partials/kiosk_sections.yaml b/config/dashboards/infrastructure/partials/kiosk_sections.yaml
index 74eb4d56..8c2d30a4 100644
--- a/config/dashboards/infrastructure/partials/kiosk_sections.yaml
+++ b/config/dashboards/infrastructure/partials/kiosk_sections.yaml
@@ -53,7 +53,12 @@
icon: mdi:monitor-dashboard
variables:
ok_state: 'off'
+ critical_entity_ids:
+ - binary_sensor.kitchen_kiosk_needs_attention
+ warning_entity_ids:
+ - update.kitchen_show_update
healthy_text: ONLINE
+ warning_text: UPDATE AVAILABLE
alert_text: NEEDS ATTENTION
state_display: >
[[[ return String(entity?.attributes?.status ?? entity?.state ?? 'unknown').toUpperCase(); ]]]
diff --git a/config/dashboards/kiosk_satellite_staging/partials/home_sections.yaml b/config/dashboards/kiosk_satellite_staging/partials/home_sections.yaml
index c829fd74..c2e560f7 100644
--- a/config/dashboards/kiosk_satellite_staging/partials/home_sections.yaml
+++ b/config/dashboards/kiosk_satellite_staging/partials/home_sections.yaml
@@ -9,7 +9,12 @@
# Notes: Three-row landscape layout uses full-width clock and alert banners around the camera row.
# Notes: Camera cards use automatic streaming to limit idle tablet load.
# Notes: Native Garage and Front Door views take over for their matching live states.
-# Notes: The lower panel is display-only and mirrors read-only household fact entities.
+# Notes: Nearby rain or lightning starts a five-minute NOAA radar view only while the sun is above the horizon.
+# Notes: After radar returns to the ambient wall, Storms Approaching offers another five-minute replay from the lower banner.
+# Notes: Actionable banner slides open one shared full-screen detail surface and return automatically to the ambient wall.
+# Notes: Family detail centers only the selected person; Phyn detail includes a confirmed main-valve restore action.
+# Notes: The large-format lower panel otherwise mirrors read-only household fact entities.
+# Notes: The clock uses oversized time text and places live conditions beneath the current-weather icon.
######################################################################
# Clock and camera wall
@@ -29,8 +34,10 @@
"frontlawn driveway"
"ambient ambient"
align-items: stretch
- grid-gap: 10px
- margin: 0
+ grid-gap: 6px
+ margin: 0 36px
+ padding: 0
+ "--masonry-view-card-margin": 0px
mediaquery:
"(max-width: 700px)":
grid-template-columns: 1fr
@@ -74,6 +81,45 @@
}
clock-weather-card-today {
height: 126px !important;
+ position: relative !important;
+ }
+ clock-weather-card-today-left {
+ align-items: flex-start !important;
+ justify-content: center !important;
+ }
+ clock-weather-card-today-left .grow-img {
+ width: 96px !important;
+ height: 96px !important;
+ flex: 0 0 96px !important;
+ }
+ clock-weather-card-today-right,
+ clock-weather-card-today-right-wrap {
+ position: static !important;
+ }
+ clock-weather-card-today-right-wrap {
+ height: 126px !important;
+ justify-content: center !important;
+ }
+ clock-weather-card-today-right-wrap-top {
+ position: absolute !important;
+ left: 0;
+ bottom: 3px;
+ width: 35% !important;
+ height: 24px !important;
+ font-size: 18px !important;
+ font-weight: 600 !important;
+ line-height: 24px !important;
+ text-align: center !important;
+ }
+ clock-weather-card-today-right-wrap-center {
+ min-height: 78px !important;
+ font-size: 76px !important;
+ font-weight: 500 !important;
+ line-height: 1 !important;
+ }
+ clock-weather-card-today-right-wrap-bottom {
+ font-size: 16px !important;
+ line-height: 20px !important;
}
clock-weather-card-forecast {
max-height: 126px;
@@ -129,12 +175,19 @@
- binary_sensor.garage_phyn_pinhole_leak_alert
- binary_sensor.garage_phyn_recurring_flow_alert
- binary_sensor.garage_phyn_temperature_alert
+ - valve.phyn_shutoff_valve
+ - sensor.phyn_current_water_pressure
+ - sensor.phyn_average_water_flow_rate
- sensor.nws_alerts_alerts
- group.garage_doors
- group.entry_points
- group.locks
- binary_sensor.front_door_packages_present
- sensor.rheem_wh_available_hot_water
+ - binary_sensor.rheem_wh_running
+ - sensor.rheem_wh_tank_health
+ - sensor.rheem_wh_compressor_health
+ - water_heater.rheem_wh
- input_boolean.garbage_cans_out
- input_datetime.water_delivery_date
- sensor.water_softener_salt_days_since_last_add
@@ -152,6 +205,12 @@
- sensor.stacey_location_display
- sensor.justin_location_display
- sensor.paige_location_display
+ - binary_sensor.kiosk_rain_radar_weather_event
+ - binary_sensor.kiosk_rain_radar_active
+ - timer.kitchen_kiosk_radar_display
+ - input_text.kitchen_kiosk_detail_view
+ - timer.kitchen_kiosk_detail_display
+ - camera.frontdoorbell
custom_fields:
ambient: >
[[[
@@ -166,6 +225,41 @@
};
const items = [];
const now = new Date();
+ const detailValue = valid(state('input_text.kitchen_kiosk_detail_view'))
+ ? state('input_text.kitchen_kiosk_detail_view')
+ : 'none';
+ const [detailType, detailSubject = ''] = detailValue.split('|');
+ const detailActive = state('timer.kitchen_kiosk_detail_display') === 'active' && detailType !== 'none';
+ const callScript = (service, data = {}) =>
+ hass.callService('script', service, data);
+ const closeDetail = (event) => {
+ event?.stopPropagation();
+ hass.callService('timer', 'cancel', {}, {
+ entity_id: 'timer.kitchen_kiosk_detail_display'
+ });
+ };
+
+ const radarWeatherEvent = states['binary_sensor.kiosk_rain_radar_weather_event'];
+ const radarDisplayTimer = states['timer.kitchen_kiosk_radar_display'];
+ const radarReplayReady =
+ radarWeatherEvent?.state === 'on' &&
+ state('binary_sensor.kiosk_rain_radar_active') !== 'on' &&
+ radarDisplayTimer?.state === 'idle' &&
+ new Date(radarDisplayTimer.last_changed).getTime() >
+ new Date(radarWeatherEvent.last_changed).getTime();
+ if (radarReplayReady) {
+ items.push({
+ kicker: 'WEATHER RADAR',
+ title: 'Storms Approaching',
+ detail: 'Tap for radar',
+ icon: 'mdi:radar',
+ accent: '#0288d1',
+ action: {
+ service: 'kitchen_kiosk_show_event',
+ data: {event_type: 'radar'}
+ }
+ });
+ }
const phynAlerts = [
'binary_sensor.garage_phyn_battery_alert',
@@ -177,16 +271,21 @@
'binary_sensor.garage_phyn_recurring_flow_alert',
'binary_sensor.garage_phyn_temperature_alert'
].filter((entityId) => state(entityId) === 'on');
- if (phynAlerts.length > 0) {
+ const phynValveState = state('valve.phyn_shutoff_valve');
+ if (phynAlerts.length > 0 || (valid(phynValveState) && phynValveState !== 'open')) {
const alertNames = phynAlerts.map((entityId) =>
states[entityId]?.attributes?.friendly_name || pretty(entityId.split('.')[1])
);
items.push({
kicker: 'WATER SYSTEM',
- title: 'Phyn needs attention',
- detail: alertNames.join(' · '),
+ title: phynValveState === 'closed' ? 'Main water is off' : 'Phyn needs attention',
+ detail: `${alertNames.join(' · ') || `Valve is ${pretty(phynValveState)}`} · Tap for water details`,
icon: 'mdi:water-alert-outline',
- accent: '#c62828'
+ accent: '#c62828',
+ action: {
+ service: 'kitchen_kiosk_show_detail',
+ data: {detail_type: 'phyn'}
+ }
});
}
@@ -247,7 +346,14 @@
title: alert.Event || `${weatherAlertCount} active alerts`,
detail: limitAlertText(detail),
icon: 'mdi:weather-lightning-rainy',
- accent: severityColors[severity]
+ accent: severityColors[severity],
+ action: {
+ service: 'kitchen_kiosk_show_detail',
+ data: {
+ detail_type: 'weather',
+ detail_subject: String(alert.ID || index)
+ }
+ }
});
});
} else if (Number.isFinite(weatherAlertCount) && weatherAlertCount > 0) {
@@ -256,7 +362,11 @@
title: `${weatherAlertCount} active ${weatherAlertCount === 1 ? 'alert' : 'alerts'}`,
detail: 'Alert details are temporarily unavailable',
icon: 'mdi:weather-lightning-rainy',
- accent: severityColors.Unknown
+ accent: severityColors.Unknown,
+ action: {
+ service: 'kitchen_kiosk_show_detail',
+ data: {detail_type: 'weather', detail_subject: '0'}
+ }
});
}
@@ -284,7 +394,11 @@
title: openEntries.length === 1 ? 'Door or window open' : `${openEntries.length} openings detected`,
detail: entryDetail || 'Check the exterior doors and windows',
icon: 'mdi:door-open',
- accent: '#ef6c00'
+ accent: '#ef6c00',
+ action: {
+ service: 'kitchen_kiosk_show_detail',
+ data: {detail_type: 'entry_points'}
+ }
});
}
@@ -302,9 +416,13 @@
items.push({
kicker: 'FRONT DOOR',
title: 'Package waiting',
- detail: 'Remember to bring it inside',
+ detail: 'Tap for the front door view',
icon: 'mdi:package-variant-closed',
- accent: '#8e5a2b'
+ accent: '#8e5a2b',
+ action: {
+ service: 'kitchen_kiosk_show_detail',
+ data: {detail_type: 'package'}
+ }
});
}
@@ -313,9 +431,13 @@
items.push({
kicker: 'HOT WATER',
title: 'Hot water is running low',
- detail: `${Math.round(hotWater)}% available — keep showers short`,
+ detail: `${Math.round(hotWater)}% available · Tap for recovery details`,
icon: 'mdi:water-thermometer-outline',
- accent: '#0277bd'
+ accent: '#0277bd',
+ action: {
+ service: 'kitchen_kiosk_show_detail',
+ data: {detail_type: 'hot_water'}
+ }
});
}
@@ -428,7 +550,11 @@
title: `${name} - ${location || pretty(personState)}`,
detail: `Since ${since}`,
icon: 'mdi:map-marker-account-outline',
- accent: '#6a1b9a'
+ accent: '#6a1b9a',
+ action: {
+ service: 'kitchen_kiosk_show_detail',
+ data: {detail_type: 'family', detail_subject: personId}
+ }
});
}
});
@@ -443,11 +569,208 @@
});
}
+ const formatSince = (entity) => {
+ const changed = new Date(entity?.last_changed);
+ if (!Number.isFinite(changed.getTime())) return 'recently';
+ const minutes = Math.max(0, Math.floor((Date.now() - changed.getTime()) / 60000));
+ if (minutes < 1) return 'just now';
+ if (minutes < 60) return `${minutes} min ago`;
+ const hours = Math.floor(minutes / 60);
+ return `${hours} hr${hours === 1 ? '' : 's'} ago`;
+ };
+ const renderDetail = () => {
+ let kicker = 'HOUSEHOLD DETAIL';
+ let title = 'Current status';
+ let icon = 'mdi:information-outline';
+ let body = html`
This detail is no longer active.
`;
+
+ if (detailType === 'weather') {
+ const alert = uniqueWeatherAlerts.find((candidate, index) =>
+ String(candidate.ID || index) === detailSubject
+ ) || uniqueWeatherAlerts[0];
+ kicker = `NWS WEATHER ALERT · ${String(alert?.Severity || 'Unknown').toUpperCase()}`;
+ title = alert?.Event || 'Weather alert';
+ icon = 'mdi:weather-lightning-rainy';
+ if (alert) {
+ const sections = [
+ ['WHAT', alertSection(alert.Description, 'WHAT')],
+ ['WHERE', alertSection(alert.Description, 'WHERE')],
+ ['WHEN', alertSection(alert.Description, 'WHEN')],
+ ['IMPACTS', alertSection(alert.Description, 'IMPACTS')]
+ ].filter(([, value]) => value);
+ const instructions = limitAlertText(alert.Instruction, 220);
+ body = html`
+ ${cleanAlertText(alert.Headline)}
+
+ ${sections.map(([label, value]) => html`
+
+ `)}
+
+ ${instructions ? html`
+
+ STAY SAFE · ${instructions}
+
+ ` : ''}
+ `;
+ }
+ } else if (detailType === 'package') {
+ const camera = states['camera.frontdoorbell'];
+ const packageEntity = states['binary_sensor.front_door_packages_present'];
+ const picture = String(camera?.attributes?.entity_picture || '');
+ kicker = 'FRONT DOOR';
+ title = 'Package waiting';
+ icon = 'mdi:package-variant-closed';
+ body = html`
+
+ ${picture ? html`
 ? '&' : '?'}kiosk=${Date.now()})
` : ''}
+
+ Last checked ${packageEntity?.attributes?.last_run || 'recently'}
+
+
+ `;
+ } else if (detailType === 'family') {
+ const person = states[detailSubject];
+ const locationEntityId = {
+ 'person.carlo': 'sensor.carlo_location_display',
+ 'person.stacey': 'sensor.stacey_location_display',
+ 'person.justin': 'sensor.justin_location_display',
+ 'person.paige': 'sensor.paige_location_display'
+ }[detailSubject];
+ const latitude = Number(person?.attributes?.latitude);
+ const longitude = Number(person?.attributes?.longitude);
+ const personName = person?.attributes?.friendly_name || pretty(detailSubject.split('.')[1]);
+ const rawLocation = pretty(state(locationEntityId));
+ const withoutName = rawLocation.replace(new RegExp(`^${personName}\s+`, 'i'), '');
+ const location = withoutName.replace(/\s*\(since\s+[^)]+\)\s*$/i, '').trim();
+ const mapUrl = Number.isFinite(latitude) && Number.isFinite(longitude)
+ ? `https://www.openstreetmap.org/export/embed.html?bbox=${longitude - 0.018}%2C${latitude - 0.012}%2C${longitude + 0.018}%2C${latitude + 0.012}&layer=mapnik&marker=${latitude}%2C${longitude}`
+ : '';
+ kicker = 'FAMILY LOCATION';
+ title = `${personName} · ${location || pretty(person?.state)}`;
+ icon = 'mdi:map-marker-account-outline';
+ body = mapUrl ? html`
+
+
+
Updated ${formatSince(person)}
+
+ ` : html`Location coordinates are unavailable.
`;
+ } else if (detailType === 'entry_points') {
+ const openEntries = (states['group.entry_points']?.attributes?.entity_id || [])
+ .map((entityId) => states[entityId])
+ .filter((entry) => entry?.state === 'on');
+ kicker = 'ENTRY POINTS';
+ title = `${openEntries.length} ${openEntries.length === 1 ? 'opening' : 'openings'} detected`;
+ icon = 'mdi:door-open';
+ body = html`
+
+ ${openEntries.map((entry) => html`
+
+
+
+
${entry.attributes?.friendly_name || 'Open entry'}
+
Open ${formatSince(entry)}
+
+
+ `)}
+
+ `;
+ } else if (detailType === 'phyn') {
+ const valveState = state('valve.phyn_shutoff_valve');
+ const flow = Number.parseFloat(state('sensor.phyn_average_water_flow_rate'));
+ const pressure = Number.parseFloat(state('sensor.phyn_current_water_pressure'));
+ const alerts = phynAlerts.map((entityId) =>
+ states[entityId]?.attributes?.friendly_name || pretty(entityId.split('.')[1])
+ );
+ kicker = 'PHYN WATER SYSTEM';
+ title = valveState === 'closed' ? 'Main water is off' : 'Water system needs attention';
+ icon = 'mdi:water-alert-outline';
+ body = html`
+
+
+ MAIN VALVE${pretty(valveState)}
+
+
+ FLOW${Number.isFinite(flow) ? `${flow.toFixed(1)} gal/min` : 'Unknown'}
+
+
+ PRESSURE${Number.isFinite(pressure) ? `${pressure.toFixed(0)} psi` : 'Unknown'}
+
+
+
+ ${alerts.length ? alerts.join(' · ') : 'No active Phyn alert text is available.'}
+
+ ${valveState === 'closed' ? html`
+
+ ` : html`Main water is ${pretty(valveState)}
`}
+ `;
+ } else if (detailType === 'hot_water') {
+ const available = Number.parseFloat(state('sensor.rheem_wh_available_hot_water'));
+ const heater = states['water_heater.rheem_wh'];
+ const running = state('binary_sensor.rheem_wh_running') === 'on';
+ const target = Number.parseFloat(heater?.attributes?.temperature);
+ const mode = pretty(heater?.attributes?.operation_mode || heater?.state);
+ const tankHealth = Number.parseFloat(state('sensor.rheem_wh_tank_health'));
+ const compressorHealth = Number.parseFloat(state('sensor.rheem_wh_compressor_health'));
+ kicker = 'HOT WATER RECOVERY';
+ title = running ? 'Heating now' : 'Standing by';
+ icon = 'mdi:water-boiler';
+ body = html`
+
+
${Number.isFinite(available) ? Math.round(available) : '--'}%
+
HOT WATER AVAILABLE
+
+
MODE${mode}
+
TARGET${Number.isFinite(target) ? `${Math.round(target)}°F` : 'Unknown'}
+
TANK HEALTH${Number.isFinite(tankHealth) ? `${Math.round(tankHealth)}%` : 'Unknown'}
+
COMPRESSOR${Number.isFinite(compressorHealth) ? `${Math.round(compressorHealth)}%` : 'Unknown'}
+
+
+ `;
+ }
+
+ return html`
+ event.stopPropagation()}>
+
+
${body}
+
+ `;
+ };
+
const secondsPerSlide = 10;
const duration = items.length * secondsPerSlide;
const phase = Math.floor(now.getTime() / 1000) % duration;
const slot = 100 / items.length;
const fade = Math.min(4, slot * 0.18);
+ const handleAmbientTap = (event) => {
+ const visibleSlides = [...event.currentTarget.querySelectorAll('.kitchen-ambient-slide')]
+ .map((slide, index) => ({
+ index,
+ opacity: Number.parseFloat(getComputedStyle(slide).opacity) || 0
+ }))
+ .sort((left, right) => right.opacity - left.opacity);
+ const activeItem = items[visibleSlides[0]?.index ?? 0] || items[0];
+ if (!activeItem?.action) return;
+ event.stopPropagation();
+ callScript(activeItem.action.service, activeItem.action.data);
+ };
return html`
-
+
${items.map((item, index) => html`
@@ -545,11 +1076,13 @@
`)}
+ ${detailActive ? renderDetail() : ''}
`;
]]]
styles:
card:
- - height: 185px
+ - height: 235px
+ - padding: 0
- overflow: hidden
- border-radius: 18px
- background: linear-gradient(120deg, rgba(33, 150, 243, 0.08), rgba(103, 58, 183, 0.08))
@@ -561,5 +1094,40 @@
ambient:
- width: 100%
- height: 100%
+ - pointer-events: auto
view_layout:
grid-area: ambient
+
+ # NOAA is the single radar path; native Kiosk Satellite camera overlays retain priority.
+ - type: conditional
+ conditions:
+ - entity: binary_sensor.kiosk_rain_radar_active
+ state: "on"
+ card:
+ type: custom:weather-radar-card
+ data_source: NOAA
+ map_style: Dark
+ zoom_level: 7
+ past_minutes: 20
+ frame_stride_minutes: 5
+ frame_delay: 650
+ restart_delay: 1400
+ smooth_animation: true
+ smooth_overlap: 0
+ motion_compensation: false
+ static_map: true
+ double_tap_action: none
+ show_zoom: false
+ show_playback: false
+ show_recenter: false
+ show_scale: true
+ show_range: false
+ show_color_bar: true
+ show_progress_bar: true
+ show_loading_spinner: true
+ show_alerts: false
+ show_lightning: false
+ height: 560px
+ width: 100%
+ view_layout:
+ grid-area: 1 / 1 / 4 / 3
diff --git a/config/dashboards/kiosk_satellite_staging/views/01_home.yaml b/config/dashboards/kiosk_satellite_staging/views/01_home.yaml
index 994b4237..7a7100c4 100644
--- a/config/dashboards/kiosk_satellite_staging/views/01_home.yaml
+++ b/config/dashboards/kiosk_satellite_staging/views/01_home.yaml
@@ -8,15 +8,14 @@
# -------------------------------------------------------------------
# Related Issue: 1875
# Notes: The Kitchen Show is the reference implementation for this shared view.
+# Notes: Panel mode removes unused top padding while the inner layout preserves safe side margins.
+# Notes: The Kitchen Show uses a fixed dark theme for maximum distance readability.
# Notes: Device-specific kiosk controls stay out of the shared dashboard.
######################################################################
title: Home
path: home
icon: mdi:cctv
-theme: kiosk_satellite_auto
-type: sections
-max_columns: 4
-dense_section_placement: true
-sections: !include /config/dashboards/kiosk_satellite_staging/partials/home_sections.yaml
-cards: []
+theme: kiosk_satellite_dark
+type: panel
+cards: !include /config/dashboards/kiosk_satellite_staging/partials/home_sections.yaml
diff --git a/config/dashboards/resources.yaml b/config/dashboards/resources.yaml
index 7a8342fc..0e845adf 100644
--- a/config/dashboards/resources.yaml
+++ b/config/dashboards/resources.yaml
@@ -26,6 +26,8 @@
url: /hacsfiles/lovelace-mushroom/mushroom.js?hacstag=4443503755010
- type: module
url: /hacsfiles/clock-weather-card/clock-weather-card.js?hacstag=522634019292
+- type: module
+ url: /hacsfiles/weather-radar-card/weather-radar-card.js?hacstag=487680971372
- type: module
url: /hacsfiles/lovelace-card-mod/card-mod.js?hacstag=190927524420
- type: module
diff --git a/config/packages/kiosk_tablet.yaml b/config/packages/kiosk_tablet.yaml
index 619a7757..3d61c9b2 100644
--- a/config/packages/kiosk_tablet.yaml
+++ b/config/packages/kiosk_tablet.yaml
@@ -14,12 +14,17 @@
# Notes: Kitchen Show uses Kiosk Satellite discovery entities; no screensaver helper is required.
# Notes: Kitchen Show stays dark while the house is empty or asleep and wakes only for occupied-house events.
# Notes: Garage takes over while either door is moving/open; Front Door takes over while unlocked.
-# Notes: New Kiosk Satellite releases dispatch Joanna to install and verify the Kitchen Show update.
+# Notes: At 07:00, a pending new Kiosk Satellite release dispatches Joanna once for install and verification.
# Notes: Wake events only restore brightness/focus; URL reloads require page drift.
# Notes: Fully auto-reload on screen-on/screensaver-stop is disabled to avoid motion wake reload loops.
# Notes: Startup recovery waits for HA's initial websocket state burst to settle.
# Notes: Brightness recovery only runs when both SleepIQ in-bed sensors are off.
# Notes: Fully availability/page/app/power plus Kitchen last-seen/update/screenshot freshness feed Systems telemetry.
+# Notes: Kitchen updates are advisory telemetry and do not raise kiosk or Systems fault rollups.
+# Notes: Kiosk attention sensors expose only their stable status attribute so recorder preserves problem transitions without heartbeat churn.
+# Notes: Nearby daytime rain or lightning starts a five-minute NOAA radar view; the ambient banner offers daylight replay while the event remains active.
+# Notes: Actionable Kitchen banner slides open one shared short-lived detail surface; camera events retain priority.
+# Notes: Phyn detail can restore a closed main valve only after an explicit on-screen confirmation.
# Video: https://youtu.be/ChgEu0IDWzc
######################################################################
@@ -27,6 +32,22 @@ input_text:
kitchen_show_kiosk_satellite_last_dispatched_version:
name: "Kitchen Show Kiosk Satellite Last Dispatched Version"
max: 32
+ kitchen_kiosk_detail_view:
+ name: "Kitchen Kiosk Detail View"
+ initial: none
+ max: 128
+
+timer:
+ kitchen_kiosk_radar_display:
+ name: "Kitchen Kiosk Radar Display"
+ duration: "00:05:00"
+ restore: true
+ icon: mdi:radar
+ kitchen_kiosk_detail_display:
+ name: "Kitchen Kiosk Detail Display"
+ duration: "00:03:00"
+ restore: false
+ icon: mdi:card-text-outline
automation:
- alias: "Bedroom Kiosk Tablet - Return to Kiosk View"
@@ -206,6 +227,9 @@ automation:
entity_id: button.kitchen_show_postpone_screensaver
- service: script.kitchen_kiosk_apply_camera_policy
default:
+ - service: timer.cancel
+ target:
+ entity_id: timer.kitchen_kiosk_detail_display
- service: button.press
target:
entity_id: button.kitchen_show_close_camera_view
@@ -213,8 +237,51 @@ automation:
target:
entity_id: light.kitchen_show_screen
+ - alias: "Kitchen Kiosk Satellite - Daylight Radar Trigger"
+ id: 411dc0c0-a291-48e7-a493-2481a8d9477d
+ description: "Show NOAA radar for five minutes when a nearby daytime rain or lightning event begins."
+ mode: restart
+ trigger:
+ - platform: state
+ entity_id: binary_sensor.kiosk_rain_radar_weather_event
+ to: "on"
+
+ condition:
+ - condition: state
+ entity_id: binary_sensor.kiosk_rain_radar_weather_event
+ state: "on"
+ - condition: state
+ entity_id: timer.kitchen_kiosk_radar_display
+ state: idle
+
+ action:
+ - service: script.kitchen_kiosk_show_event
+ data:
+ event_type: radar
+
+ - alias: "Kitchen Kiosk Satellite - Clear Detail View"
+ id: 17bef67a-f68e-4b57-b04c-c2b890fafb77
+ description: "Clear transient banner detail state after timeout or household shutdown."
+ mode: restart
+ trigger:
+ - platform: event
+ event_type: timer.finished
+ event_data:
+ entity_id: timer.kitchen_kiosk_detail_display
+ - platform: event
+ event_type: timer.cancelled
+ event_data:
+ entity_id: timer.kitchen_kiosk_detail_display
+ action:
+ - service: input_text.set_value
+ target:
+ entity_id: input_text.kitchen_kiosk_detail_view
+ data:
+ value: none
+
- alias: "Kitchen Kiosk Satellite - Refresh Systems Snapshot"
id: e920cab1-59d3-4d45-8aad-67170127504f
+ description: "Reconcile an active startup storm, then refresh the Systems dashboard screenshot."
mode: single
max_exceeded: silent
trigger:
@@ -225,7 +292,17 @@ automation:
minutes: "/15"
id: periodic
action:
- - delay: "{{ '00:02:00' if trigger.id == 'startup' else '00:00:00' }}"
+ - delay: "{{ '00:03:00' if trigger.id == 'startup' else '00:00:00' }}"
+ - choose:
+ - conditions:
+ - condition: trigger
+ id: startup
+ sequence:
+ - service: automation.trigger
+ target:
+ entity_id: automation.kitchen_kiosk_satellite_daylight_radar_trigger
+ data:
+ skip_condition: false
- condition: template
value_template: >-
{% set last_seen = as_timestamp(states('sensor.kitchen_show_last_seen'), 0) %}
@@ -236,17 +313,17 @@ automation:
- alias: "Kitchen Kiosk Satellite - Update Joanna Dispatch"
id: 199e30f0-e28c-4842-953d-a65bc4b4e1d3
- description: "Dispatch Joanna when a new Kiosk Satellite release is available for the Kitchen Show."
+ description: "At 07:00, dispatch Joanna once when a new Kiosk Satellite release is pending for the Kitchen Show."
mode: single
max_exceeded: silent
trigger:
- - platform: state
- entity_id: update.kitchen_show_update
- from: "off"
- to: "on"
- for: "00:02:00"
+ - platform: time
+ at: "07:00:00"
condition:
+ - condition: state
+ entity_id: update.kitchen_show_update
+ state: "on"
- condition: template
value_template: >-
{% set installed = state_attr('update.kitchen_show_update', 'installed_version') | default('', true) | string %}
@@ -437,6 +514,38 @@ template:
{% endif %}
- binary_sensor:
+ - name: "Kiosk Rain Radar Weather Event"
+ unique_id: kiosk_rain_radar_weather_event
+ icon: mdi:radar
+ delay_on: "00:02:00"
+ state: >-
+ {% set invalid = ['unknown', 'unavailable', 'none', ''] %}
+ {% set precip = states('sensor.pirateweather_precip') | lower %}
+ {% set intensity = states('sensor.pirateweather_precip_intensity') | float(0) %}
+ {% set storm_distance_state = states('sensor.pirateweather_nearest_storm_distance') %}
+ {% set storm_distance_miles = storm_distance_state | float(999) %}
+ {% set lightning_count = states('sensor.blitzortung_lightning_counter') | int(0) %}
+ {% set lightning_distance_state = states('sensor.blitzortung_lightning_distance') %}
+ {% set lightning_distance_miles = lightning_distance_state | float(9999) / 1.609344 %}
+ {{ is_state('binary_sensor.kitchen_kiosk_should_be_on', 'on')
+ and is_state('sun.sun', 'above_horizon')
+ and (
+ precip == 'rain'
+ or intensity > 0.2
+ or (storm_distance_state not in invalid and storm_distance_miles <= 10)
+ or (lightning_count > 0
+ and lightning_distance_state not in invalid
+ and lightning_distance_miles <= 10)
+ ) }}
+
+ - name: "Kiosk Rain Radar Active"
+ unique_id: kiosk_rain_radar_active
+ icon: mdi:radar
+ state: >-
+ {{ is_state('binary_sensor.kitchen_kiosk_should_be_on', 'on')
+ and is_state('sun.sun', 'above_horizon')
+ and is_state('timer.kitchen_kiosk_radar_display', 'active') }}
+
- name: "Kitchen Kiosk Should Be On"
unique_id: kitchen_kiosk_should_be_on
icon: mdi:monitor-eye
@@ -504,9 +613,6 @@ template:
{% else %}
online
{% endif %}
- current_page: "{{ states('sensor.alarm_panel_1_current_page') }}"
- foreground_app: "{{ states('sensor.alarm_panel_1_foreground_app') }}"
- battery: "{{ states('sensor.alarm_panel_1_battery') }}"
- name: "Kitchen Kiosk Needs Attention"
unique_id: kitchen_kiosk_needs_attention
@@ -528,7 +634,6 @@ template:
or remote_admin in invalid
or '/dashboard-kiosk-satellite-staging/home' not in page
or (battery < 20 and not is_state('binary_sensor.kitchen_show_charging', 'on'))
- or is_state('update.kitchen_show_update', 'on')
or screenshot_stale }}
attributes:
status: >-
@@ -546,17 +651,13 @@ template:
page drift
{% elif battery < 20 and not is_state('binary_sensor.kitchen_show_charging', 'on') %}
low battery
- {% elif is_state('update.kitchen_show_update', 'on') %}
- update available
{% elif screenshot == 0 or (as_timestamp(now()) - screenshot) > 2700 %}
screenshot stale
+ {% elif is_state('update.kitchen_show_update', 'on') %}
+ update available
{% else %}
online
{% endif %}
- last_seen: "{{ states('sensor.kitchen_show_last_seen') }}"
- last_screenshot: "{{ states('sensor.kitchen_show_last_screenshot') }}"
- current_page: "{{ states('sensor.kitchen_show_current_page') }}"
- battery: "{{ states('sensor.kitchen_show_battery') }}"
- name: "Kiosk Devices Need Attention"
unique_id: kiosk_devices_need_attention
@@ -609,8 +710,9 @@ script:
- condition: template
value_template: >-
{{ states('sensor.kitchen_show_active_camera_view') != desired_view }}
- - service: script.kitchen_kiosk_show_camera
+ - service: script.kitchen_kiosk_show_event
data:
+ event_type: camera
show_button: "{{ desired_button }}"
default:
- choose:
@@ -627,25 +729,169 @@ script:
target:
entity_id: button.kitchen_show_bring_to_front
- kitchen_kiosk_show_camera:
- alias: "Kitchen Kiosk - Show Camera"
+ kitchen_kiosk_show_event:
+ alias: "Kitchen Kiosk - Show Display Event"
mode: restart
fields:
+ event_type:
+ name: Event type
+ description: Event renderer to show on the Kitchen kiosk.
+ required: true
+ selector:
+ select:
+ options:
+ - radar
+ - camera
+ - detail
show_button:
name: Camera view button
description: Kiosk Satellite MQTT button for the native camera view.
- required: true
+ required: false
selector:
entity:
domain: button
sequence:
+ - condition: template
+ value_template: >-
+ {{ event_type in ['camera', 'detail']
+ or (
+ event_type == 'radar'
+ and is_state('binary_sensor.kitchen_kiosk_should_be_on', 'on')
+ and is_state('sun.sun', 'above_horizon')
+ and is_state('binary_sensor.kiosk_rain_radar_weather_event', 'on')
+ ) }}
- service: light.turn_on
target:
entity_id: light.kitchen_show_screen
- service: button.press
target:
- entity_id: button.kitchen_show_bring_to_front
- - delay: "00:00:01"
+ entity_id: button.kitchen_show_postpone_screensaver
- service: button.press
target:
- entity_id: "{{ show_button }}"
+ entity_id: button.kitchen_show_bring_to_front
+ - choose:
+ - conditions:
+ - condition: template
+ value_template: "{{ event_type == 'radar' }}"
+ sequence:
+ - service: timer.cancel
+ target:
+ entity_id: timer.kitchen_kiosk_detail_display
+ - service: timer.start
+ target:
+ entity_id: timer.kitchen_kiosk_radar_display
+ data:
+ duration: "00:05:00"
+ - conditions:
+ - condition: template
+ value_template: "{{ event_type == 'camera' }}"
+ sequence:
+ - service: timer.cancel
+ target:
+ entity_id: timer.kitchen_kiosk_detail_display
+ - condition: template
+ value_template: >-
+ {{ show_button is defined and show_button | string | length > 0 }}
+ - delay: "00:00:01"
+ - service: button.press
+ target:
+ entity_id: "{{ show_button }}"
+
+ kitchen_kiosk_show_detail:
+ alias: "Kitchen Kiosk - Show Banner Detail"
+ mode: restart
+ fields:
+ detail_type:
+ name: Detail type
+ description: Contextual detail renderer requested by the active banner slide.
+ required: true
+ selector:
+ select:
+ options:
+ - weather
+ - package
+ - family
+ - entry_points
+ - phyn
+ - hot_water
+ detail_subject:
+ name: Detail subject
+ description: Optional alert ID or person entity for the detail renderer.
+ required: false
+ selector:
+ text:
+ variables:
+ normalized_type: "{{ detail_type | default('', true) | lower }}"
+ normalized_subject: "{{ detail_subject | default('', true) | string }}"
+ allowed_people:
+ - person.carlo
+ - person.stacey
+ - person.justin
+ - person.paige
+ phyn_alert_entities:
+ - binary_sensor.garage_phyn_battery_alert
+ - binary_sensor.garage_phyn_freeze_warning_alert
+ - binary_sensor.garage_phyn_high_pressure_alert
+ - binary_sensor.garage_phyn_leak_alert
+ - binary_sensor.garage_phyn_offline_leak_shutoff_alert
+ - binary_sensor.garage_phyn_pinhole_leak_alert
+ - binary_sensor.garage_phyn_recurring_flow_alert
+ - binary_sensor.garage_phyn_temperature_alert
+ detail_is_valid: >-
+ {% set phyn_alert = expand(phyn_alert_entities)
+ | selectattr('state', 'eq', 'on') | list | count > 0 %}
+ {{ is_state('binary_sensor.kitchen_kiosk_should_be_on', 'on')
+ and (
+ (normalized_type == 'weather' and states('sensor.nws_alerts_alerts') | int(0) > 0)
+ or (normalized_type == 'package' and is_state('binary_sensor.front_door_packages_present', 'on'))
+ or (normalized_type == 'family'
+ and normalized_subject in allowed_people
+ and states(normalized_subject) not in ['home', 'unknown', 'unavailable'])
+ or (normalized_type == 'entry_points' and is_state('group.entry_points', 'on'))
+ or (normalized_type == 'phyn'
+ and (phyn_alert or states('valve.phyn_shutoff_valve') != 'open'))
+ or (normalized_type == 'hot_water'
+ and states('sensor.rheem_wh_available_hot_water') | float(100) < 30)
+ ) }}
+ detail_duration: >-
+ {{ '00:05:00' if normalized_type in ['weather', 'phyn'] else '00:03:00' }}
+ detail_value: >-
+ {{ normalized_type ~ ('|' ~ normalized_subject if normalized_subject | length > 0 else '') }}
+ sequence:
+ - condition: template
+ value_template: "{{ detail_is_valid }}"
+ - service: timer.cancel
+ target:
+ entity_id: timer.kitchen_kiosk_radar_display
+ - service: input_text.set_value
+ target:
+ entity_id: input_text.kitchen_kiosk_detail_view
+ data:
+ value: "{{ detail_value }}"
+ - service: timer.start
+ target:
+ entity_id: timer.kitchen_kiosk_detail_display
+ data:
+ duration: "{{ detail_duration }}"
+ - service: script.kitchen_kiosk_show_event
+ data:
+ event_type: detail
+
+ kitchen_kiosk_restore_phyn_water:
+ alias: "Kitchen Kiosk - Restore Phyn Water"
+ mode: single
+ sequence:
+ - condition: state
+ entity_id: timer.kitchen_kiosk_detail_display
+ state: active
+ - condition: template
+ value_template: >-
+ {{ states('input_text.kitchen_kiosk_detail_view').split('|')[0] == 'phyn'
+ and is_state('valve.phyn_shutoff_valve', 'closed') }}
+ - service: valve.open_valve
+ target:
+ entity_id: valve.phyn_shutoff_valve
+ - service: script.send_to_logbook
+ data:
+ topic: WATER
+ message: "Kitchen Show requested that the Phyn main water valve be turned on."
diff --git a/config/themes/kiosk_satellite.yaml b/config/themes/kiosk_satellite.yaml
index 6e3bf4a9..01f167e4 100644
--- a/config/themes/kiosk_satellite.yaml
+++ b/config/themes/kiosk_satellite.yaml
@@ -3,10 +3,11 @@
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
-# Kiosk Satellite Theme - Automatic day and night palette
-# Follows the Kiosk Satellite client theme schedule for shared kiosk views.
+# Kiosk Satellite Themes - Automatic and fixed-dark palettes
+# Supports scheduled clients while keeping the Kitchen Show permanently dark.
# -------------------------------------------------------------------
-# Notes: Kitchen Show switches light/dark variants at 07:00/19:00 device time.
+# Notes: kiosk_satellite_auto follows the client-selected light/dark mode.
+# Notes: kiosk_satellite_dark keeps the Kitchen Show dark at all times.
######################################################################
kiosk_satellite_auto:
@@ -27,3 +28,12 @@ kiosk_satellite_auto:
secondary-text-color: "#aab6c5"
divider-color: "rgba(255, 255, 255, 0.12)"
lovelace-background: "#0b0f14"
+
+kiosk_satellite_dark:
+ primary-background-color: "#0b0f14"
+ secondary-background-color: "#111821"
+ card-background-color: "#151d27"
+ primary-text-color: "#f3f6fa"
+ secondary-text-color: "#aab6c5"
+ divider-color: "rgba(255, 255, 255, 0.12)"
+ lovelace-background: "#0b0f14"
diff --git a/config/www/bedroom-kiosk.html b/config/www/bedroom-kiosk.html
index cfe6bf05..5731d84e 100644
--- a/config/www/bedroom-kiosk.html
+++ b/config/www/bedroom-kiosk.html
@@ -1,4 +1,5 @@
+
@@ -39,7 +40,7 @@
flex-direction: column;
justify-content: center;
min-width: 0;
- padding: 12px 24px;
+ padding: 8px 24px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 16px;
@@ -47,10 +48,10 @@
}
.headline {
overflow: hidden;
- margin: 0 0 8px;
- font-size: 28px;
+ margin: 0 0 5px;
+ font-size: 34px;
font-weight: 700;
- line-height: 1.12;
+ line-height: 1.08;
text-overflow: ellipsis;
white-space: nowrap;
}
@@ -59,8 +60,8 @@
overflow: hidden;
margin: 0;
color: var(--muted);
- font-size: 18px;
- line-height: 1.25;
+ font-size: 22px;
+ line-height: 1.18;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
@@ -92,7 +93,7 @@
padding: 10px 16px;
color: #fff;
background: var(--overlay);
- font-size: 21px;
+ font-size: 24px;
font-weight: 700;
}
#event-view {
@@ -102,7 +103,7 @@
background: #000;
}
#event-view.front-door #event-image { object-fit: contain; }
- #event-label { padding: 14px 22px; font-size: 28px; }
+ #event-label { padding: 14px 22px; font-size: 36px; }
#connection {
position: fixed;
top: 0;