feat: unify card runtime and event-driven web ui
Some checks failed
CI / Backend Checks (push) Failing after 36s
CI / Frontend Checks (push) Failing after 40s

This commit is contained in:
kacper 2026-04-06 15:42:53 -04:00
parent 0edf8c3fef
commit 4dfb7ca3cc
105 changed files with 17382 additions and 8505 deletions

View file

@ -0,0 +1,19 @@
{
"id": "live-calendar-timeline-weather",
"kind": "text",
"title": "Today Calendar Weather",
"content": "",
"question": "",
"choices": [],
"response_value": "",
"slot": "live-calendar-timeline-weather",
"lane": "context",
"priority": 89,
"state": "active",
"template_key": "calendar-timeline-weather-live",
"context_summary": "",
"chat_id": "web",
"snooze_until": "",
"created_at": "2026-04-02T00:00:00+00:00",
"updated_at": "2026-04-02T00:00:00+00:00"
}

View file

@ -0,0 +1,16 @@
{
"title": "Today Calendar Weather",
"subtitle": "Family Calendar",
"tool_name": "mcp_home_assistant_calendar_get_events",
"calendar_names": [
"Family Calendar"
],
"refresh_ms": 900000,
"min_start_hour": 6,
"max_end_hour": 22,
"min_window_hours": 6,
"slot_height": 24,
"empty_text": "No events for today.",
"weather_tool_name": "exec",
"weather_command": "python3 /home/kacper/nanobot/scripts/card_upcoming_conditions.py --nws-entity weather.korh --uv-entity weather.openweathermap_2 --forecast-type hourly --limit 48"
}

View file

@ -0,0 +1,17 @@
{
"id": "live-outdoor-aqi",
"kind": "text",
"title": "Outdoor AQI",
"question": "",
"choices": [],
"response_value": "",
"slot": "live-outdoor-aqi",
"lane": "context",
"priority": 24,
"state": "active",
"template_key": "sensor-live",
"context_summary": "",
"chat_id": "web",
"created_at": "2026-04-05T20:40:00-04:00",
"updated_at": "2026-04-05T20:40:00-04:00"
}

View file

@ -0,0 +1,17 @@
{
"title": "Outdoor AQI",
"subtitle": "Outdoor air quality",
"tool_name": "mcp_home_assistant_GetLiveContext",
"match_name": "Worcester Summer St Air quality index",
"device_class": "aqi",
"unit": "AQI",
"refresh_ms": 300000,
"value_decimals": 0,
"alert_only": true,
"alert_score_elevated": 90,
"alert_score_high": 99,
"thresholds": {
"good_max": 100,
"elevated_max": 150
}
}

View file

@ -4,9 +4,14 @@
"tool_name": "mcp_home_assistant_GetLiveContext",
"forecast_tool_name": "exec",
"forecast_command": "python3 /home/kacper/nanobot/scripts/card_upcoming_conditions.py --nws-entity weather.korh --uv-entity weather.openweathermap_2 --forecast-type hourly --limit 4",
"provider_prefix": "OpenWeatherMap",
"temperature_name": "OpenWeatherMap Temperature",
"humidity_name": "OpenWeatherMap Humidity",
"provider_prefix": "Worcester Summer St",
"temperature_name": "Worcester Summer St Temperature",
"humidity_name": "Worcester Summer St Humidity",
"uv_name": "OpenWeatherMap UV index",
"condition_label": "Weather",
"refresh_ms": 86400000
"morning_start_hour": 6,
"morning_end_hour": 11,
"morning_score": 84,
"default_score": 38,
"refresh_ms": 300000
}