AutomationDataset/GuidoJeuken-6512/description-ready.json

170 lines
7.9 KiB
JSON

[
{
"id": "'1727726999508'",
"automation": "- id: '1727726999508'\n alias: increment HP Timings\n description: Taktungen der WP hochzählen\n mode: single\n triggers:\n - entity_id:\n - sensor.eu08l_hp1_operating_state\n to: '1'\n id: Heating\n trigger: state\n - entity_id:\n - sensor.eu08l_hp1_operating_state\n to: '2'\n id: HotWater\n trigger: state\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - Heating\n sequence:\n - action: counter.increment\n metadata: {}\n data: {}\n target:\n entity_id:\n - counter.eu08l_heat_pump_cycling\n - counter.eu08l_heat_pump_cycling_daily\n - conditions:\n - condition: trigger\n id:\n - HotWater\n sequence:\n - action: counter.increment\n metadata: {}\n data: {}\n target:\n entity_id:\n - counter.eu08l_hot_water_cycling\n - counter.eu08l_hot_water_cycling_daily",
"config": [
{
"name": "heat pump operating state",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.eu08l_hp1_operating_state",
"device_id": null
}
},
{
"name": "heat pump cycling counter",
"room": null,
"type": "counter",
"id": {
"entity_id": "counter.eu08l_heat_pump_cycling",
"device_id": null
}
},
{
"name": "heat pump cycling daily counter",
"room": null,
"type": "counter",
"id": {
"entity_id": "counter.eu08l_heat_pump_cycling_daily",
"device_id": null
}
},
{
"name": "hot water cycling counter",
"room": null,
"type": "counter",
"id": {
"entity_id": "counter.eu08l_hot_water_cycling",
"device_id": null
}
},
{
"name": "hot water cycling daily counter",
"room": null,
"type": "counter",
"id": {
"entity_id": "counter.eu08l_hot_water_cycling_daily",
"device_id": null
}
}
]
},
{
"id": "'1727727092095'",
"automation": "- id: '1727727092095'\n alias: reset counter for daily HP timing\n description: Zähler für daily tacktung WP resetten\n triggers:\n - at: 00:00:00\n trigger: time\n conditions: []\n actions:\n - action: counter.reset\n metadata: {}\n data: {}\n target:\n entity_id:\n - counter.eu08l_heat_pump_cycling_daily\n - counter.eu08l_hot_water_cycling_daily\n mode: single",
"config": [
{
"name": "heat pump cycling counter",
"room": null,
"type": "counter",
"id": {
"entity_id": "counter.eu08l_heat_pump_cycling",
"device_id": null
}
},
{
"name": "heat pump cycling daily counter",
"room": null,
"type": "counter",
"id": {
"entity_id": "counter.eu08l_heat_pump_cycling_daily",
"device_id": null
}
},
{
"name": "hot water cycling counter",
"room": null,
"type": "counter",
"id": {
"entity_id": "counter.eu08l_hot_water_cycling",
"device_id": null
}
},
{
"name": "hot water cycling daily counter",
"room": null,
"type": "counter",
"id": {
"entity_id": "counter.eu08l_hot_water_cycling_daily",
"device_id": null
}
}
]
},
{
"id": "'6543235'",
"automation": "- id: '6543235'\n alias: set Lambda Raumtemp\n description: ''\n triggers:\n - minutes: /5\n trigger: time_pattern\n enabled: false\n - entity_id:\n - sensor.thermometer_wohnzimmer_temperature\n trigger: state\n enabled: false\n conditions: []\n actions:\n - data:\n hub: EU08L\n address: 5004\n value:\n - '{{ (float(states(''sensor.thermometer_wohnzimmer_temperature'')) *10 ) |round(0) }}'\n action: modbus.write_register\n mode: single",
"config": [
{
"name": "living room thermometer temperature",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.thermometer_wohnzimmer_temperature",
"device_id": null
}
}
]
},
{
"id": "e126b5f600a14eb0a31023668e251a08",
"automation": "- id: e126b5f600a14eb0a31023668e251a08\n alias: Verbrauch nach Betriebsmodus akkumulieren\n description: ''\n triggers:\n - trigger: time_pattern\n seconds: /10\n enabled: false\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: sensor.eu08l_hp1_operating_state\n state: '1'\n sequence:\n - target:\n entity_id: input_number.eu08l_energy_heating_sum\n data:\n value: '{{ states(''input_number.eu08l_energy_heating_sum'') | float(0)\n + ((states(''sensor.eu08l_hp1_compressor_power_consumption_accumulated'')\n | float(0) / 1000) - states(''input_number.eu08l_last_consumption'') |\n float(0)) }}'\n action: input_number.set_value\n - conditions:\n - condition: state\n entity_id: sensor.eu08l_hp1_operating_state\n state: '2'\n sequence:\n - target:\n entity_id: input_number.eu08l_energy_hot_water_sum\n data:\n value: '{{ states(''input_number.eu08l_energy_hot_water_sum'') | float(0)\n + ((states(''sensor.eu08l_hp1_compressor_power_consumption_accumulated'')\n | float(0) / 1000) - states(''input_number.eu08l_last_consumption'')\n | float(0)) }}'\n action: input_number.set_value\n default:\n - target:\n entity_id: input_number.eu08l_energy_rest_sum\n data:\n value: '{{ states(''input_number.eu08l_energy_rest_sum'') | float(0) + ((states(''sensor.eu08l_hp1_compressor_power_consumption_accumulated'')\n | float(0) / 1000) - states(''input_number.eu08l_last_consumption'') |\n float(0)) }}'\n action: input_number.set_value\n - action: input_number.set_value\n metadata: {}\n data:\n value: \"{% if states('sensor.eu08l_hp1_compressor_power_consumption_accumulated')\\\n \\ | float(0) > 0 %}\\n {{ states('sensor.eu08l_hp1_compressor_power_consumption_accumulated')\\\n \\ | float(0) / 1000 }}\\n{% else %}\\n {{ states('input_number.eu08l_last_consumption')\\\n \\ | float(0)}}\\n{% endif %}\"\n target:\n entity_id: input_number.eu08l_last_consumption\n mode: single",
"config": [
{
"name": "heat pump operating state",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.eu08l_hp1_operating_state",
"device_id": null
}
},
{
"name": "energy heating sum",
"room": null,
"type": "input_number",
"id": {
"entity_id": "input_number.eu08l_energy_heating_sum",
"device_id": null
}
},
{
"name": "last consumption",
"room": null,
"type": "input_number",
"id": {
"entity_id": "input_number.eu08l_last_consumption",
"device_id": null
}
},
{
"name": "compressor power consumption accumulated",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.eu08l_hp1_compressor_power_consumption_accumulated",
"device_id": null
}
},
{
"name": "energy hot water sum",
"room": null,
"type": "input_number",
"id": {
"entity_id": "input_number.eu08l_energy_hot_water_sum",
"device_id": null
}
},
{
"name": "energy rest sum",
"room": null,
"type": "input_number",
"id": {
"entity_id": "input_number.eu08l_energy_rest_sum",
"device_id": null
}
}
]
}
]