158 lines
14 KiB
JSON
158 lines
14 KiB
JSON
[
|
|
{
|
|
"id": "Wohnraumlüftung Manuell",
|
|
"automation": "- alias: Wohnraumlüftung Manuell\n description: ''\n triggers:\n - entity_id:\n - input_select.wohnraunluftung_ein_aus_manuell\n trigger: state\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Ein\n sequence:\n - action: automation.turn_on\n data: {}\n target:\n entity_id: automation.wohnraumluftung_steuerung\n - conditions:\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Aus\n sequence:\n - action: automation.turn_off\n data: {}\n target:\n entity_id: automation.wohnraumluftung_steuerung\n - type: turn_off\n device_id: 36ac62ccf31778b9362e20c11de7696a\n entity_id: dac54d12465125424a46f187a23dd7ca\n domain: fan\n - type: turn_off\n device_id: 36ac62ccf31778b9362e20c11de7696a\n entity_id: f7e955bee1c89f94b18c1192ed089eee\n domain: fan\n - conditions:\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Manuell\n sequence:\n - action: automation.turn_off\n metadata: {}\n data:\n stop_actions: true\n target:\n entity_id: automation.wohnraumluftung_steuerung\n - action: fan.set_percentage\n metadata: {}\n data:\n percentage: 30\n target:\n entity_id:\n - fan.beluftungsanlage_esp32_abluftl_fter\n - fan.beluftungsanlage_esp32_zuluftl_fter\n - conditions:\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Sommer\n sequence:\n - action: automation.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: automation.wohnraumluftung_steuerung\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "Wohnraumlüftung Ein/Aus Manuell Select",
|
|
"room": "living_room",
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.wohnraunluftung_ein_aus_manuell",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Wohnraumluftung Steuerung Automation",
|
|
"room": "living_room",
|
|
"type": "automation",
|
|
"id": {
|
|
"entity_id": "automation.wohnraumluftung_steuerung",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Ventilation System Exhaust Fan",
|
|
"room": "living_room",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.beluftungsanlage_esp32_abluftl_fter",
|
|
"device_id": "36ac62ccf31778b9362e20c11de7696a"
|
|
}
|
|
},
|
|
{
|
|
"name": "Ventilation System Supply Fan",
|
|
"room": "living_room",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.beluftungsanlage_esp32_zuluftl_fter",
|
|
"device_id": "36ac62ccf31778b9362e20c11de7696a"
|
|
}
|
|
},
|
|
{
|
|
"name": "Ventilation Fan 1",
|
|
"room": "living_room",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "dac54d12465125424a46f187a23dd7ca",
|
|
"device_id": "36ac62ccf31778b9362e20c11de7696a"
|
|
}
|
|
},
|
|
{
|
|
"name": "Ventilation Fan 2",
|
|
"room": "living_room",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "f7e955bee1c89f94b18c1192ed089eee",
|
|
"device_id": "36ac62ccf31778b9362e20c11de7696a"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Wohnraumlüftung Steuerung",
|
|
"automation": "- alias: Wohnraumlüftung Steuerung\n description: Regelt die Lüftungsanlage basierend auf Temperatur, Luftfeuchte und\n dem höchsten CO2-Wert\n triggers:\n - id: co2_steuerung_zeit\n trigger: time_pattern\n seconds: /55\n alias: jede 55 Sekunden Auslösen\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - co2_steuerung_zeit\n - condition: numeric_state\n entity_id: sensor.hum_temp_bad_humidity\n above: 70\n - condition: or\n conditions:\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Ein\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Sommer\n - condition: not\n conditions:\n - condition: time\n after: '20:15:00'\n before: 07:00:00\n weekday:\n - sun\n - sat\n - fri\n - thu\n - wed\n - tue\n - mon\n sequence:\n - action: fan.set_percentage\n metadata: {}\n data:\n percentage: 31\n target:\n entity_id:\n - fan.beluftungsanlage_esp32_abluftl_fter\n - fan.beluftungsanlage_esp32_zuluftl_fter\n alias: Luftfeuchte Bad über 70 Tag\n - conditions:\n - condition: trigger\n id:\n - co2_steuerung_zeit\n - condition: numeric_state\n entity_id: sensor.hum_temp_bad_humidity\n above: 70\n - condition: or\n conditions:\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Ein\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Sommer\n - condition: time\n after: '20:15:00'\n before: 07:00:00\n weekday:\n - sun\n - sat\n - fri\n - thu\n - wed\n - tue\n - mon\n sequence:\n - action: fan.set_percentage\n metadata: {}\n data:\n percentage: 24\n target:\n entity_id:\n - fan.beluftungsanlage_esp32_abluftl_fter\n - fan.beluftungsanlage_esp32_zuluftl_fter\n alias: Luftfeuchte Bad über 70 Nacht\n - conditions:\n - condition: trigger\n id:\n - co2_steuerung_zeit\n - condition: not\n conditions:\n - condition: numeric_state\n entity_id: sensor.hum_temp_bad_humidity\n above: 70\n - condition: or\n conditions:\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Sommer\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Ein\n - condition: or\n conditions:\n - condition: template\n value_template: \"{% set co2_max = max(states('sensor.netatmo_basis_co2')\\\n \\ | float,\\n states('sensor.netatmo_oben_co2') | float)\\\n \\ %}\\n{{ co2_max < 500 }}\"\n - condition: template\n value_template: '{{ states(''sensor.wohnzimmer_aussen_temperatur'') | float\n > states(''sensor.netatmo_basis_temperature'') | float }}'\n sequence:\n - action: fan.turn_off\n metadata: {}\n data: {}\n target:\n entity_id:\n - fan.beluftungsanlage_esp32_abluftl_fter\n - fan.beluftungsanlage_esp32_zuluftl_fter\n alias: co2 unter 500\n - conditions:\n - condition: trigger\n id:\n - co2_steuerung_zeit\n - condition: not\n conditions:\n - condition: time\n after: '20:15:00'\n before: 07:00:00\n weekday:\n - sun\n - sat\n - fri\n - thu\n - wed\n - tue\n - mon\n - condition: numeric_state\n entity_id: sensor.hum_temp_bad_humidity\n above: 70\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Ein\n sequence:\n - data:\n percentage: \"{% set co2_max = max(states('sensor.netatmo_basis_co2') | float,\\\n \\ states('sensor.netatmo_oben_co2') | float) %} {% if co2_max <=500 %}\\n\\\n \\ 9\\n{% elif co2_max >= 1500 %}\\n 31\\n \\n{% else %}\\n {{ ((co2_max\\\n \\ - 500) / (1500 - 500) * (31 - 9) + 9) | round }}\\n{% endif %}\\n\"\n action: fan.set_percentage\n target:\n device_id: 36ac62ccf31778b9362e20c11de7696a\n entity_id:\n - fan.beluftungsanlage_esp32_abluftl_fter\n - fan.beluftungsanlage_esp32_zuluftl_fter\n - delay:\n hours: 0\n minutes: 0\n seconds: 2\n milliseconds: 0\n - action: fan.set_percentage\n target:\n entity_id: fan.beluftungsanlage_esp32_abluftl_fter\n data:\n percentage: '{{ (state_attr(''fan.beluftungsanlage_esp32_zuluftl_fter'',\n ''percentage'') | int + 1) }}'\n alias: Standard Automatikbetrieb\n - conditions:\n - condition: trigger\n id:\n - co2_steuerung_zeit\n - condition: not\n conditions:\n - condition: time\n after: '20:15:00'\n before: 07:00:00\n weekday:\n - sun\n - sat\n - fri\n - thu\n - wed\n - tue\n - mon\n - condition: numeric_state\n entity_id: sensor.hum_temp_bad_humidity\n above: 70\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Sommer\n sequence:\n - data:\n percentage: \"{% set co2_max = max(states('sensor.netatmo_basis_co2') | float,\\\n \\ states('sensor.netatmo_oben_co2') | float) %} {% if co2_max <=500 %}\\n\\\n \\ 9\\n{% elif co2_max >= 1500 %}\\n 31\\n{% else %}\\n {{ ((co2_max - 500)\\\n \\ / (1500 - 500) * (31 - 9) + 9) | round }}\\n{% endif %}\\n\"\n action: fan.set_percentage\n target:\n device_id: 36ac62ccf31778b9362e20c11de7696a\n entity_id:\n - fan.beluftungsanlage_esp32_abluftl_fter\n - type: turn_off\n device_id: 36ac62ccf31778b9362e20c11de7696a\n entity_id: dac54d12465125424a46f187a23dd7ca\n domain: fan\n alias: Sommerbetrieb\n - conditions:\n - condition: trigger\n id:\n - co2_steuerung_zeit\n - condition: time\n after: '20:15:00'\n before: 07:00:00\n weekday:\n - sun\n - sat\n - fri\n - thu\n - wed\n - tue\n - mon\n - condition: not\n conditions:\n - condition: trigger\n id:\n - co2_unter_500\n - condition: numeric_state\n entity_id: sensor.hum_temp_bad_humidity\n above: 70\n - condition: or\n conditions:\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Ein\n - condition: state\n entity_id: input_select.wohnraunluftung_ein_aus_manuell\n state: Sommer\n sequence:\n - data:\n percentage: \"{% set co2_max = max(states('sensor.netatmo_basis_co2') | float,\\\n \\ states('sensor.netatmo_oben_co2') | float) %} {% if co2_max <=500 %}\\n\\\n \\ 8\\n{% elif co2_max >= 1500 %}\\n 12\\n \\n{% else %}\\n {{ ((co2_max\\\n \\ - 500) / (1500 - 500) * (12 - 8) + 8) | round }}\\n{% endif %}\\n\"\n action: fan.set_percentage\n target:\n device_id: 36ac62ccf31778b9362e20c11de7696a\n entity_id:\n - fan.beluftungsanlage_esp32_abluftl_fter\n - fan.beluftungsanlage_esp32_zuluftl_fter\n - delay:\n hours: 0\n minutes: 0\n seconds: 2\n milliseconds: 0\n - action: fan.set_percentage\n target:\n entity_id: fan.beluftungsanlage_esp32_abluftl_fter\n data:\n percentage: '{{ (state_attr(''fan.beluftungsanlage_esp32_zuluftl_fter'',\n ''percentage'') | int + 1) }}'\n alias: Nachtbetrieb\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "Wohnraumlüftung Ein/Aus Manuell Select",
|
|
"room": "living_room",
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.wohnraunluftung_ein_aus_manuell",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Ventilation System Exhaust Fan",
|
|
"room": "living_room",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.beluftungsanlage_esp32_abluftl_fter",
|
|
"device_id": "36ac62ccf31778b9362e20c11de7696a"
|
|
}
|
|
},
|
|
{
|
|
"name": "Ventilation System Supply Fan",
|
|
"room": "living_room",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.beluftungsanlage_esp32_zuluftl_fter",
|
|
"device_id": "36ac62ccf31778b9362e20c11de7696a"
|
|
}
|
|
},
|
|
{
|
|
"name": "Ventilation Fan 1",
|
|
"room": "living_room",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "dac54d12465125424a46f187a23dd7ca",
|
|
"device_id": "36ac62ccf31778b9362e20c11de7696a"
|
|
}
|
|
},
|
|
{
|
|
"name": "Ventilation Fan 2",
|
|
"room": "living_room",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "f7e955bee1c89f94b18c1192ed089eee",
|
|
"device_id": "36ac62ccf31778b9362e20c11de7696a"
|
|
}
|
|
},
|
|
{
|
|
"name": "Bathroom Humidity Temperature Sensor",
|
|
"room": "bathroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.hum_temp_bad_humidity",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Netatmo Base CO2 Sensor",
|
|
"room": "living_room",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.netatmo_basis_co2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Netatmo Base Temperature Sensor",
|
|
"room": "living_room",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.netatmo_basis_temperature",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Netatmo Upstairs CO2 Sensor",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.netatmo_oben_co2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Living Room Outside Temperature Sensor",
|
|
"room": "living_room",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.wohnzimmer_aussen_temperatur",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |