Compare commits
2 Commits
55d1805f97
...
d1a4d22980
| Author | SHA1 | Date | |
|---|---|---|---|
| d1a4d22980 | |||
| 8aed71dc2f |
@@ -1 +1 @@
|
|||||||
2025.1.4
|
2025.2.3
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
- id: "1729875991469"
|
- id: '1729875991469'
|
||||||
alias: BagnoOvest-save-energy
|
alias: BagnoOvest-save-energy
|
||||||
description: Thermostat will close upon window open
|
description: Thermostat will close upon window open
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
@@ -6,27 +6,27 @@
|
|||||||
input:
|
input:
|
||||||
window_sensor: binary_sensor.bagnoovest_finestra_contact
|
window_sensor: binary_sensor.bagnoovest_finestra_contact
|
||||||
climate_target: climate.bagnoovest_termosifone
|
climate_target: climate.bagnoovest_termosifone
|
||||||
- id: "1729887529602"
|
- id: '1729887529602'
|
||||||
alias: BagnoPT-save-energy
|
alias: BagnoPT-save-energy
|
||||||
description: ""
|
description: ''
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/heat_save.yaml
|
path: homeassistant/heat_save.yaml
|
||||||
input:
|
input:
|
||||||
window_sensor: binary_sensor.bagnopt_finestra_contact
|
window_sensor: binary_sensor.bagnopt_finestra_contact
|
||||||
climate_target: climate.bagnopt_termosifone
|
climate_target: climate.bagnopt_termosifone
|
||||||
ext_temp_limit: 17
|
ext_temp_limit: 17
|
||||||
- id: "1729887632269"
|
- id: '1729887632269'
|
||||||
alias: SoggiornoPT-save-energy
|
alias: SoggiornoPT-save-energy
|
||||||
description: ""
|
description: ''
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/heat_save.yaml
|
path: homeassistant/heat_save.yaml
|
||||||
input:
|
input:
|
||||||
window_sensor: binary_sensor.soggiornopt_finestrasud_contact
|
window_sensor: binary_sensor.soggiornopt_finestrasud_contact
|
||||||
climate_target: climate.soggiornopt_termosifonesud
|
climate_target: climate.soggiornopt_termosifonesud
|
||||||
ext_temp_limit: 17
|
ext_temp_limit: 17
|
||||||
- id: "1731705145404"
|
- id: '1731705145404'
|
||||||
alias: Luce Automatica Scala Mansarda
|
alias: Luce Automatica Scala Mansarda
|
||||||
description: ""
|
description: ''
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/motion_light_dual_ng.yaml
|
path: homeassistant/motion_light_dual_ng.yaml
|
||||||
input:
|
input:
|
||||||
@@ -34,9 +34,9 @@
|
|||||||
motion_entity2: binary_sensor.presenza_bassa_scala_mansarda_occupancy
|
motion_entity2: binary_sensor.presenza_bassa_scala_mansarda_occupancy
|
||||||
light_target:
|
light_target:
|
||||||
device_id: 702137a6f2c17b89fdb0598f7003743c
|
device_id: 702137a6f2c17b89fdb0598f7003743c
|
||||||
- id: "1731705400752"
|
- id: '1731705400752'
|
||||||
alias: Luce Automatica Scala Taverna
|
alias: Luce Automatica Scala Taverna
|
||||||
description: ""
|
description: ''
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/motion_light_dual_ng.yaml
|
path: homeassistant/motion_light_dual_ng.yaml
|
||||||
input:
|
input:
|
||||||
@@ -46,9 +46,9 @@
|
|||||||
device_id: 226779fb30bd68c5a2784ccd762d90e9
|
device_id: 226779fb30bd68c5a2784ccd762d90e9
|
||||||
use_sun: false
|
use_sun: false
|
||||||
dont_disturb: false
|
dont_disturb: false
|
||||||
- id: "1732739522749"
|
- id: '1732739522749'
|
||||||
alias: Luce Automatica Taverna Garage
|
alias: Luce Automatica Taverna Garage
|
||||||
description: ""
|
description: ''
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/motion_light_trix_ng.yaml
|
path: homeassistant/motion_light_trix_ng.yaml
|
||||||
input:
|
input:
|
||||||
@@ -60,17 +60,17 @@
|
|||||||
use_sun: false
|
use_sun: false
|
||||||
dont_disturb: false
|
dont_disturb: false
|
||||||
no_motion_wait: 40
|
no_motion_wait: 40
|
||||||
- id: "1736805701473"
|
- id: '1736805701473'
|
||||||
alias: P1confort-light
|
alias: P1confort-light
|
||||||
description: ""
|
description: ''
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/confort_light.yaml
|
path: homeassistant/confort_light.yaml
|
||||||
input:
|
input:
|
||||||
light_target:
|
light_target:
|
||||||
device_id: e0397b54f1c2d1514be403e2996ca368
|
device_id: e0397b54f1c2d1514be403e2996ca368
|
||||||
- id: "1738366774549"
|
- id: '1738366774549'
|
||||||
alias: Test-motion-light-ng
|
alias: Test-motion-light-ng
|
||||||
description: ""
|
description: ''
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/motion_light_dual_ng.yaml
|
path: homeassistant/motion_light_dual_ng.yaml
|
||||||
input:
|
input:
|
||||||
@@ -80,32 +80,18 @@
|
|||||||
device_id: 9f46c5b7c07f1495e0f4bf8d6f72a525
|
device_id: 9f46c5b7c07f1495e0f4bf8d6f72a525
|
||||||
no_motion_wait: 0
|
no_motion_wait: 0
|
||||||
dont_disturb: false
|
dont_disturb: false
|
||||||
- id: "1738426726761"
|
- id: '1738426726761'
|
||||||
alias: Test-Pulsante01
|
alias: Test-Pulsante01
|
||||||
description: ""
|
description: ''
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/button_action.yaml
|
path: homeassistant/button_action.yaml
|
||||||
input:
|
input:
|
||||||
light_target:
|
light_target:
|
||||||
entity_id: light.test_lamp1
|
entity_id: light.test_lamp1
|
||||||
- id: "1738952270274"
|
- id: '1739185900251'
|
||||||
alias: Test-EVcharge-process
|
|
||||||
description: ""
|
|
||||||
use_blueprint:
|
|
||||||
path: homeassistant/evcharge-process.yaml
|
|
||||||
input:
|
|
||||||
evcharge_entity1: switch.evcharge_front
|
|
||||||
evcharge_entity1_power: sensor.evcharge_front_power
|
|
||||||
evcharge_entity2: switch.evcharge_back
|
|
||||||
evcharge_entity2_power: sensor.evcharge_back_power
|
|
||||||
use_entity1: input_boolean.evcharge_front_request
|
|
||||||
use_entity2: input_boolean.evcharge_back_request
|
|
||||||
start_button: input_button.evcharge_start
|
|
||||||
- id: "1739185900251"
|
|
||||||
alias: EVcharge-process
|
alias: EVcharge-process
|
||||||
description:
|
description: 'Charge sequentially via both front and back plugs depending on EVcharge
|
||||||
"Charge sequentially via both front and back plugs depending on EVcharge
|
request flags '
|
||||||
request flags "
|
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/evcharge-process.yaml
|
path: homeassistant/evcharge-process.yaml
|
||||||
input:
|
input:
|
||||||
@@ -116,3 +102,8 @@
|
|||||||
use_entity1: input_boolean.evcharge_front_request
|
use_entity1: input_boolean.evcharge_front_request
|
||||||
use_entity2: input_boolean.evcharge_back_request
|
use_entity2: input_boolean.evcharge_back_request
|
||||||
start_button: input_button.evcharge_start
|
start_button: input_button.evcharge_start
|
||||||
|
- id: '1739393696392'
|
||||||
|
alias: Power-load-high
|
||||||
|
description: ''
|
||||||
|
use_blueprint:
|
||||||
|
path: homeassistant/power-load-high.yaml
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ variables:
|
|||||||
|
|
||||||
# here list of mobile APP to be notified
|
# here list of mobile APP to be notified
|
||||||
recipient_list:
|
recipient_list:
|
||||||
- notify.mobile_app_ttrabatt_iphone15
|
- notify.mobile_app_tiziano_iphone15pro
|
||||||
- notify.mobile_app_emanuele_s24
|
- notify.mobile_app_emanuele_s24
|
||||||
|
|
||||||
actions:
|
actions:
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ triggers:
|
|||||||
trigger_variables:
|
trigger_variables:
|
||||||
sensor_status: !input window_sensor
|
sensor_status: !input window_sensor
|
||||||
|
|
||||||
|
variables:
|
||||||
|
thermostat_name: !input climate_target
|
||||||
conditions:
|
conditions:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.esterno_temperature
|
entity_id: sensor.esterno_temperature
|
||||||
@@ -56,12 +58,12 @@ actions:
|
|||||||
hvac_mode: "off"
|
hvac_mode: "off"
|
||||||
target:
|
target:
|
||||||
entity_id: !input climate_target
|
entity_id: !input climate_target
|
||||||
- action: notify.mobile_app_ttrabatt_iphone15
|
- action: notify.mobile_app_tiziano_iphone15pro
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
message: >
|
message: >
|
||||||
Thermostat OFF
|
{{ thermostat_name }} - OFF
|
||||||
title: HA template 'heat_save' DEBUG
|
title: Heat Save Control
|
||||||
# if finestra is closed
|
# if finestra is closed
|
||||||
- conditions: >
|
- conditions: >
|
||||||
{{ is_state( sensor_status, 'off') }}
|
{{ is_state( sensor_status, 'off') }}
|
||||||
@@ -72,18 +74,18 @@ actions:
|
|||||||
hvac_mode: "heat"
|
hvac_mode: "heat"
|
||||||
target:
|
target:
|
||||||
entity_id: !input climate_target
|
entity_id: !input climate_target
|
||||||
- action: notify.mobile_app_ttrabatt_iphone15
|
- action: notify.mobile_app_tiziano_iphone15pro
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
message: >
|
message: >
|
||||||
Thermostat HEAT
|
{{ thermostat_name }} - ON
|
||||||
title: HA template 'heat_save' DEBUG
|
title: Heat Save Control
|
||||||
|
|
||||||
default:
|
default:
|
||||||
sequence:
|
sequence:
|
||||||
- action: notify.mobile_app_ttrabatt_iphone15
|
- action: notify.mobile_app_tiziano_iphone15pro
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
title: HA template 'heat_save' ERROR
|
title: Heat Save Control ERROR
|
||||||
message: >
|
message: >
|
||||||
Bad Conditions state {{ states( sensor_status ) }}
|
Bad Conditions state {{ states( sensor_status ) }}
|
||||||
|
|||||||
52
blueprints/automation/homeassistant/power-load-high.yaml
Normal file
52
blueprints/automation/homeassistant/power-load-high.yaml
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
blueprint:
|
||||||
|
name: Power-load-high
|
||||||
|
description: Send alert in case of High Power Load
|
||||||
|
domain: automation
|
||||||
|
author: Tiziano Trabattoni
|
||||||
|
# input:
|
||||||
|
# window_sensor:
|
||||||
|
# name: Window Status
|
||||||
|
# description: Identifies the Window Sensor Device for Opened Status
|
||||||
|
# selector:
|
||||||
|
# entity:
|
||||||
|
# filter:
|
||||||
|
# - device_class: door
|
||||||
|
# domain: binary_sensor
|
||||||
|
|
||||||
|
variables:
|
||||||
|
recipient_list:
|
||||||
|
- notify.mobile_app_tiziano_iphone15pro
|
||||||
|
# - notify.mobile_app_emanuele_s24
|
||||||
|
|
||||||
|
triggers:
|
||||||
|
- trigger: numeric_state
|
||||||
|
entity_id: sensor.pw_load_power
|
||||||
|
for:
|
||||||
|
hours: 0
|
||||||
|
minutes: 0
|
||||||
|
seconds: 2
|
||||||
|
value_template: "{{ ( ( (state.state | float ) * 1000) | int ) }}"
|
||||||
|
above: input_number.power_site_limit
|
||||||
|
id: overpower
|
||||||
|
# - trigger: state
|
||||||
|
# entity_id: input_number.power_site_limit
|
||||||
|
|
||||||
|
conditions: []
|
||||||
|
actions:
|
||||||
|
- if:
|
||||||
|
condition: trigger # trigger
|
||||||
|
# value_template: "{{ true }}"
|
||||||
|
id: overpower
|
||||||
|
then:
|
||||||
|
sequence:
|
||||||
|
repeat:
|
||||||
|
for_each: "{{ recipient_list }}"
|
||||||
|
|
||||||
|
sequence:
|
||||||
|
- action: "{{ repeat.item }}"
|
||||||
|
metadata: {}
|
||||||
|
data:
|
||||||
|
title: CARICO ECCESSIVO - SPEGNERE QUALCOSA
|
||||||
|
message: >-
|
||||||
|
"Scollegare qualcosa {{ ( ( (states('sensor.pw_load_power') | float) * 1000 ) | int ) }} W."
|
||||||
|
mode: single
|
||||||
@@ -29,6 +29,8 @@ recorder:
|
|||||||
# log INFO level messages
|
# log INFO level messages
|
||||||
logger:
|
logger:
|
||||||
default: info
|
default: info
|
||||||
|
logs:
|
||||||
|
custom_components.mikrotik_router: debug
|
||||||
|
|
||||||
# influxdb: !include influxdb_feed.yaml
|
# influxdb: !include influxdb_feed.yaml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user