Files
home-assistant-config/.storage/lovelace.dashboard_grow
T
2026-05-21 11:12:07 +02:00

872 lines
34 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"version": 1,
"minor_version": 1,
"key": "lovelace.dashboard_grow",
"data": {
"config": {
"views": [
{
"title": "Mission Control",
"type": "sections",
"max_columns": 2,
"badges": [
{
"type": "entity",
"entity": "sensor.spider_farmer_80f1b2b3b64a_temperature",
"color": "#ff6b35"
},
{
"type": "entity",
"entity": "sensor.spider_farmer_80f1b2b3b64a_humidity",
"color": "#00bfff"
},
{
"type": "entity",
"entity": "sensor.spider_farmer_80f1b2b3b64a_vpd",
"color": "#ff9800"
},
{
"type": "entity",
"entity": "sensor.spider_farmer_80f1b2b3b64a_co2",
"color": "#a855f7"
},
{
"type": "entity",
"entity": "sensor.spider_farmer_80f1b2b3b64a_ppfd",
"color": "#fbbf24"
},
{
"type": "entity",
"entity": "sensor.grow_tent_power",
"color": "#facc15"
}
],
"sections": [
{
"type": "grid",
"cards": [
{
"type": "heading",
"heading": "🌿 Monitoring & Klima"
},
{
"type": "heading",
"heading": "🎥 Kamera & Überwachung",
"heading_style": "title"
},
{
"type": "custom:advanced-camera-card",
"cameras": [
{
"camera_entity": "camera.tapo_c100_mainstream",
"live_provider": "ha"
}
],
"view": {
"default": "live"
},
"menu": {
"buttons": {
"frigate": {
"enabled": false
},
"timeline": {
"enabled": false
},
"iris": {
"enabled": true
}
}
},
"live": {
"zoomable": false,
"draggable": false,
"transition_effect": "none",
"display": {}
}
},
{
"type": "heading",
"heading": "🌱 Pflanzenstatus",
"heading_style": "title"
},
{
"type": "horizontal-stack",
"cards": [
{
"type": "custom:stack-in-card",
"cards": [
{
"type": "custom:mushroom-template-card",
"primary": "P1",
"secondary": "{{ '⚠️' if is_state('plant.grow_plant_1', 'problem') else '✅' }}",
"icon": "mdi:cannabis",
"icon_color": "{{ 'red' if is_state('plant.grow_plant_1', 'problem') else 'green' }}",
"layout": "vertical"
},
{
"type": "custom:mushroom-chips-card",
"alignment": "center",
"chips": [
{
"type": "entity",
"entity": "sensor.grow_plant_1_soil_moisture",
"icon": "mdi:water-percent"
},
{
"type": "entity",
"entity": "sensor.grow_plant_1_soil_fertility",
"icon": "mdi:sprout"
}
]
}
]
},
{
"type": "custom:stack-in-card",
"cards": [
{
"type": "custom:mushroom-template-card",
"primary": "P2",
"secondary": "{{ '⚠️' if is_state('plant.grow_plant_2', 'problem') else '✅' }}",
"icon": "mdi:cannabis",
"icon_color": "{{ 'red' if is_state('plant.grow_plant_2', 'problem') else 'green' }}",
"layout": "vertical"
},
{
"type": "custom:mushroom-chips-card",
"alignment": "center",
"chips": [
{
"type": "entity",
"entity": "sensor.grow_plant_2_soil_moisture",
"icon": "mdi:water-percent"
},
{
"type": "entity",
"entity": "sensor.grow_plant_2_soil_fertility",
"icon": "mdi:sprout"
}
]
}
]
},
{
"type": "custom:stack-in-card",
"cards": [
{
"type": "custom:mushroom-template-card",
"primary": "P3",
"secondary": "{{ '⚠️' if is_state('plant.grow_plant_3', 'problem') else '✅' }}",
"icon": "mdi:cannabis",
"icon_color": "{{ 'red' if is_state('plant.grow_plant_3', 'problem') else 'green' }}",
"layout": "vertical"
},
{
"type": "custom:mushroom-chips-card",
"alignment": "center",
"chips": [
{
"type": "entity",
"entity": "sensor.grow_plant_3_soil_moisture",
"icon": "mdi:water-percent"
},
{
"type": "entity",
"entity": "sensor.grow_plant_3_soil_fertility",
"icon": "mdi:sprout"
}
]
}
]
},
{
"type": "custom:stack-in-card",
"cards": [
{
"type": "custom:mushroom-template-card",
"primary": "P4",
"secondary": "{{ '⚠️' if is_state('plant.grow_plant_4', 'problem') else '✅' }}",
"icon": "mdi:cannabis",
"icon_color": "{{ 'red' if is_state('plant.grow_plant_4', 'problem') else 'green' }}",
"layout": "vertical"
},
{
"type": "custom:mushroom-chips-card",
"alignment": "center",
"chips": [
{
"type": "entity",
"entity": "sensor.grow_plant_4_soil_moisture",
"icon": "mdi:water-percent"
},
{
"type": "entity",
"entity": "sensor.grow_plant_4_soil_fertility",
"icon": "mdi:sprout"
}
]
}
]
},
{
"type": "custom:stack-in-card",
"cards": [
{
"type": "custom:mushroom-template-card",
"primary": "P5",
"secondary": "{{ '⚠️' if is_state('plant.grow_plant_5', 'problem') else '✅' }}",
"icon": "mdi:cannabis",
"icon_color": "{{ 'red' if is_state('plant.grow_plant_5', 'problem') else 'green' }}",
"layout": "vertical"
},
{
"type": "custom:mushroom-chips-card",
"alignment": "center",
"chips": [
{
"type": "entity",
"entity": "sensor.grow_plant_5_soil_moisture",
"icon": "mdi:water-percent"
},
{
"type": "entity",
"entity": "sensor.grow_plant_5_soil_fertility",
"icon": "mdi:sprout"
}
]
}
]
}
]
},
{
"type": "heading",
"heading": "📊 Sensorübersicht",
"heading_style": "title"
},
{
"square": false,
"type": "grid",
"cards": [
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.spider_farmer_80f1b2b3b64a_temperature",
"name": "°C Zelt",
"icon": "mdi:thermometer",
"icon_color": "#ff6b35"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.grow_env_sensor_1_temperature",
"name": "°C Boden",
"icon": "mdi:thermometer-lines",
"icon_color": "#ff8c42"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.0x00158d0002c9fa8b_temperature",
"name": "°C Garage",
"icon": "mdi:thermometer-low",
"icon_color": "#4a9eff"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.spider_farmer_80f1b2b3b64a_humidity",
"name": "rH Zelt",
"icon": "mdi:water-percent",
"icon_color": "#00bfff"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.grow_env_sensor_1_humidity",
"name": "rH Boden",
"icon": "mdi:water-percent",
"icon_color": "#29d8ff"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.0x00158d0002c9fa8b_humidity",
"name": "rH Garage",
"icon": "mdi:water-percent",
"icon_color": "#1a4b6e"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.spider_farmer_80f1b2b3b64a_vpd",
"name": "VPD",
"icon": "mdi:cloud-percent",
"icon_color": "#ff9800"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.spider_farmer_80f1b2b3b64a_co2",
"name": "CO₂",
"icon": "mdi:molecule-co2",
"icon_color": "#a855f7"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.spider_farmer_80f1b2b3b64a_ppfd",
"name": "PPFD",
"icon": "mdi:white-balance-sunny",
"icon_color": "#fbbf24"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.grow_env_sensor_1_pressure",
"name": "hPa Boden",
"icon": "mdi:gauge",
"icon_color": "#94a3b8"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.0x00158d0002c9fa8b_pressure",
"name": "hPa Garage",
"icon": "mdi:gauge-low",
"icon_color": "#64748b"
}
],
"columns": 3
},
{
"type": "heading",
"heading": "📈 Klimaverlauf (48h)",
"heading_style": "title"
},
{
"type": "custom:apexcharts-card",
"graph_span": "48h",
"header": {
"show": true,
"title": "🌡️ Temperatur & Luftfeuchte"
},
"yaxis": [
{
"id": "temp",
"min": 10,
"max": 35,
"apex_config": {
"tickAmount": 5
}
},
{
"id": "hum",
"opposite": true,
"min": 20,
"max": 100,
"apex_config": {
"tickAmount": 5
}
}
],
"series": [
{
"entity": "sensor.spider_farmer_80f1b2b3b64a_temperature",
"name": "Zelt Temp",
"yaxis_id": "temp",
"stroke_width": 3,
"color": "#ff6b35",
"group_by": {
"func": "avg",
"duration": "10m"
}
},
{
"entity": "sensor.0x00158d0002c9fa8b_temperature",
"name": "Garage Temp",
"yaxis_id": "temp",
"stroke_width": 2,
"color": "#ff8c42",
"group_by": {
"func": "avg",
"duration": "10m"
}
},
{
"entity": "sensor.spider_farmer_80f1b2b3b64a_humidity",
"name": "Zelt Hum",
"yaxis_id": "hum",
"stroke_width": 3,
"color": "#00bfff",
"group_by": {
"func": "avg",
"duration": "10m"
}
},
{
"entity": "sensor.0x00158d0002c9fa8b_humidity",
"name": "Garage Hum",
"yaxis_id": "hum",
"stroke_width": 2,
"color": "#1a4b6e",
"group_by": {
"func": "avg",
"duration": "10m"
}
}
],
"apex_config": {
"stroke": {
"curve": "smooth",
"dashArray": [
0,
5,
0,
5
]
},
"legend": {
"show": true
},
"grid": {
"borderColor": "#333",
"strokeDashArray": 4
}
}
},
{
"type": "custom:apexcharts-card",
"graph_span": "48h",
"header": {
"show": true,
"title": "🟡 PPFD"
},
"yaxis": [
{
"id": "µmol/m²/s",
"min": 200,
"max": 1000,
"apex_config": {
"tickAmount": 5
}
}
],
"series": [
{
"entity": "sensor.spider_farmer_80f1b2b3b64a_ppfd",
"name": "PPFD",
"yaxis_id": "µmol/m²/s",
"stroke_width": 3,
"color": "#fbbf24",
"group_by": {
"func": "avg",
"duration": "10m"
}
}
],
"apex_config": {
"stroke": {
"curve": "smooth"
},
"annotations": {
"yaxis": [
{
"y": 400,
"borderColor": "#22c55e",
"fillColor": "#22c55e",
"opacity": 0.15,
"label": {
"text": "Keimling",
"style": {
"background": "#22c55e",
"color": "#000"
}
}
},
{
"y": 600,
"borderColor": "#fbbf24",
"fillColor": "#fbbf24",
"opacity": 0.1,
"label": {
"text": "Wachstum",
"style": {
"background": "#fbbf24",
"color": "#000"
}
}
},
{
"y": 1000,
"borderColor": "#fbbf24",
"fillColor": "#fbbf24",
"opacity": 0.1,
"label": {
"text": "Blüte",
"style": {
"background": "#fbbf24",
"color": "#000"
}
}
}
]
},
"legend": {
"show": true
},
"grid": {
"borderColor": "#333",
"strokeDashArray": 4
}
}
},
{
"type": "custom:apexcharts-card",
"graph_span": "48h",
"header": {
"show": true,
"title": "⚪ VPD (kPa)"
},
"yaxis": [
{
"id": "vpd",
"min": 0,
"max": 2.5,
"decimals": 2,
"apex_config": {
"tickAmount": 5
}
}
],
"series": [
{
"entity": "sensor.spider_farmer_80f1b2b3b64a_vpd",
"name": "VPD",
"yaxis_id": "vpd",
"stroke_width": 3,
"color": "#ff9800",
"group_by": {
"func": "avg",
"duration": "10m"
}
}
],
"apex_config": {
"stroke": {
"curve": "smooth"
},
"annotations": {
"yaxis": [
{
"y": 0.8,
"y2": 1.2,
"borderColor": "#22c55e",
"fillColor": "#22c55e",
"opacity": 0.15,
"label": {
"text": "Optimum Veg",
"style": {
"background": "#22c55e",
"color": "#000"
}
}
},
{
"y": 1.2,
"y2": 1.6,
"borderColor": "#fbbf24",
"fillColor": "#fbbf24",
"opacity": 0.1,
"label": {
"text": "Optimum Blüte",
"style": {
"background": "#fbbf24",
"color": "#000"
}
}
}
]
},
"legend": {
"show": true
},
"grid": {
"borderColor": "#333",
"strokeDashArray": 4
}
}
},
{
"type": "custom:apexcharts-card",
"graph_span": "48h",
"header": {
"show": true,
"title": "🟣 CO₂ (ppm)"
},
"yaxis": [
{
"id": "co2",
"min": 300,
"max": 2000,
"apex_config": {
"tickAmount": 5
}
}
],
"series": [
{
"entity": "sensor.spider_farmer_80f1b2b3b64a_co2",
"name": "CO₂",
"yaxis_id": "co2",
"stroke_width": 3,
"color": "#a855f7",
"group_by": {
"func": "avg",
"duration": "10m"
}
}
],
"apex_config": {
"stroke": {
"curve": "smooth"
},
"annotations": {
"yaxis": [
{
"y": 800,
"y2": 1200,
"borderColor": "#a855f7",
"fillColor": "#a855f7",
"opacity": 0.12,
"label": {
"text": "Optimum",
"style": {
"background": "#a855f7",
"color": "#fff"
}
}
}
]
},
"legend": {
"show": true
},
"grid": {
"borderColor": "#333",
"strokeDashArray": 4
}
}
}
]
},
{
"type": "grid",
"cards": [
{
"type": "heading",
"heading": "⚙️ Steuerung & Planung"
},
{
"type": "heading",
"heading": "📅 Grow Planer",
"heading_style": "title"
},
{
"type": "custom:mushroom-entity-card",
"entity": "input_datetime.grow_startdatum",
"name": "Startdatum",
"icon": "mdi:calendar-start",
"icon_color": "#22c55e"
},
{
"type": "custom:stack-in-card",
"cards": [
{
"type": "markdown",
"content": "{% set start_state = states('input_datetime.grow_startdatum') %} {% if start_state not in ['unknown', 'unavailable'] %}\n {% set start = as_timestamp(start_state) %}\n {% set heute = as_timestamp(now().strftime('%Y-%m-%d')) %}\n {% set tage = ((heute - start) / 86400) | int %}\n {% set start_dt = start_state | as_datetime %}\n ### 🌱 Aktueller Tag: {{ tage }}\n | Phase | Zeitraum | Status |\n | :--- | :--- | :--- |\n | 🥚 **Keimung** | bis {{ (start_dt + timedelta(days=5)).strftime('%d.%m.') }} | {{ '🟢 Aktiv' if tage <= 5 else '✅ OK' }} |\n | 🌿 **Sämling** | bis {{ (start_dt + timedelta(days=19)).strftime('%d.%m.') }} | {{ '⏳' if tage < 6 else ('🟢 Aktiv' if tage <= 19 else '✅ OK') }} |\n | 💪 **Wachstum** | {{ (start_dt + timedelta(days=20)).strftime('%d.%m.') }} {{ (start_dt + timedelta(days=35)).strftime('%d.%m.') }} | {{ '⏳' if tage < 20 else ('🟢 Aktiv' if tage <= 35 else '✅ OK') }} |\n | 🌸 **Blüte** | {{ (start_dt + timedelta(days=36)).strftime('%d.%m.') }} {{ (start_dt + timedelta(days=90)).strftime('%d.%m.') }} | {{ '⏳' if tage < 36 else ('🟢 Aktiv' if tage <= 90 else '✅ OK') }} |\n\n 🍀 **Ernte ca.: {{ (start_dt + timedelta(days=80)).strftime('%d.%m.%Y') }}**\n ---\n 🌿 **Sorten:** 2× Amnesia XXL · 2× Sticky Orange · 1× Purple Skunk\n{% endif %}\n"
}
]
},
{
"type": "heading",
"heading": "🚀 Grow Plan Status",
"heading_style": "title"
},
{
"type": "tile",
"entity": "binary_sensor.spider_farmer_80f1b2b3b64a_growth_plan_running",
"name": "Growth Plan aktiv",
"color": "#22c55e",
"vertical": false,
"features_position": "bottom"
},
{
"type": "tile",
"entity": "sensor.spider_farmer_80f1b2b3b64a_growth_progress",
"name": "Fortschritt",
"icon": "mdi:progress-clock",
"color": "#22c55e",
"vertical": false,
"features_position": "bottom"
},
{
"type": "glance",
"title": "Plan Details",
"show_name": true,
"show_icon": true,
"entities": [
{
"entity": "sensor.spider_farmer_80f1b2b3b64a_growth_plan_day",
"name": "Tag",
"icon": "mdi:counter"
},
{
"entity": "sensor.spider_farmer_80f1b2b3b64a_growth_plan_total_days",
"name": "Gesamt",
"icon": "mdi:calendar-range"
},
{
"entity": "sensor.spider_farmer_80f1b2b3b64a_growth_plan_remaining",
"name": "Verbleibend",
"icon": "mdi:calendar-clock"
},
{
"entity": "binary_sensor.spider_farmer_80f1b2b3b64a_day_mode",
"name": "Tagmodus",
"icon": "mdi:weather-sunny"
},
{
"entity": "binary_sensor.spider_farmer_80f1b2b3b64a_day_environment_active",
"name": "Tag-Env",
"icon": "mdi:leaf"
}
]
},
{
"type": "heading",
"heading": "💡 Equipment & Steuerung",
"heading_style": "title"
},
{
"type": "horizontal-stack",
"cards": [
{
"type": "custom:mushroom-light-card",
"entity": "light.spider_farmer_80f1b2b3b64a_primary_light",
"name": "Light",
"show_brightness_control": true,
"use_light_color": true
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.spider_farmer_80f1b2b3b64a_ppfd",
"name": "PPFD",
"icon": "mdi:white-balance-sunny",
"icon_color": "#fbbf24"
},
{
"type": "custom:mushroom-fan-card",
"entity": "fan.spider_farmer_80f1b2b3b64a_blower",
"name": "Blower",
"show_percentage_control": true
}
]
},
{
"type": "horizontal-stack",
"cards": [
{
"type": "custom:mushroom-fan-card",
"entity": "fan.spider_farmer_80f1b2b3b64a_fan",
"name": "Fan",
"tap_action": {
"action": "more-info"
}
},
{
"type": "custom:mushroom-entity-card",
"entity": "fan.spider_farmer_80f1b2b3b64a_heater",
"name": "Heater",
"icon": "mdi:fire",
"icon_color": "#ff6b35"
}
]
},
{
"type": "heading",
"heading": "⚡ Stromverbrauch",
"heading_style": "title"
},
{
"type": "glance",
"show_name": true,
"show_icon": true,
"entities": [
{
"entity": "sensor.grow_tent_power",
"name": "Watt",
"icon": "mdi:flash"
},
{
"entity": "sensor.grow_tent_current",
"name": "Ampere",
"icon": "mdi:current-ac"
},
{
"entity": "sensor.grow_tent_voltage",
"name": "Volt",
"icon": "mdi:sine-wave"
},
{
"entity": "binary_sensor.grow_tent_consumer_connected",
"name": "Status",
"icon": "mdi:power-plug"
}
]
},
{
"type": "heading",
"heading": "🔧 Gerätediagnose",
"heading_style": "title"
},
{
"type": "grid",
"columns": 3,
"square": false,
"cards": [
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.spider_farmer_80f1b2b3b64a_wifi_rssi",
"name": "WiFi Signal",
"icon": "mdi:wifi",
"icon_color": "#60a5fa"
},
{
"type": "custom:mushroom-entity-card",
"entity": "binary_sensor.spider_farmer_80f1b2b3b64a_wifi_connected",
"name": "WiFi Status",
"icon": "mdi:wifi-check",
"icon_color": "#22c55e"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.spider_farmer_80f1b2b3b64a_uptime",
"name": "Uptime",
"icon": "mdi:timer-outline",
"icon_color": "#94a3b8"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.spider_farmer_80f1b2b3b64a_free_memory",
"name": "RAM frei",
"icon": "mdi:memory",
"icon_color": "#94a3b8"
},
{
"type": "custom:mushroom-entity-card",
"entity": "sensor.spider_farmer_80f1b2b3b64a_firmware_version",
"name": "Firmware",
"icon": "mdi:chip",
"icon_color": "#94a3b8"
}
]
}
]
}
]
}
]
}
}
}