Compare commits
19 Commits
6900ce0338
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 537552e1e8 | |||
| b5835bf731 | |||
| 5a9ff902dc | |||
| ac56e1556e | |||
| c5c8999f4d | |||
| 07373045fc | |||
| 848c33d3f7 | |||
| 1a01aa6d1b | |||
| 07ec7af140 | |||
| c01ea131fa | |||
| 9ebd5e07d8 | |||
| ce63bd15c7 | |||
| 357bb4f985 | |||
| 2f7bcaeff3 | |||
| 7275043f14 | |||
| 91390eb6f5 | |||
| 28b8188d11 | |||
| e178191a11 | |||
| 377d023249 |
347
automations.yaml
Executable file → Normal file
347
automations.yaml
Executable file → Normal file
@@ -1,48 +1,32 @@
|
||||
- id: '1589065904158'
|
||||
alias: Aquecimento Agua
|
||||
alias: Agua - Aquecimento
|
||||
description: ''
|
||||
trigger:
|
||||
- at: 06:30:00
|
||||
- at: 06:00:00
|
||||
platform: time
|
||||
- at: 08:00:00
|
||||
platform: time
|
||||
- at: '18:00:00'
|
||||
- at: '16:00:00'
|
||||
platform: time
|
||||
- at: '19:00:00'
|
||||
- at: '20:00:00'
|
||||
platform: time
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.auto_aquec_agua_enable
|
||||
state: 'on'
|
||||
action:
|
||||
- data: {}
|
||||
entity_id: switch.aquecimento_agua
|
||||
service: switch.toggle
|
||||
mode: single
|
||||
- id: '1589067784246'
|
||||
alias: Aquario
|
||||
description: ''
|
||||
trigger:
|
||||
- at: '15:00:00'
|
||||
platform: time
|
||||
condition: []
|
||||
action:
|
||||
- data: {}
|
||||
entity_id: light.luz_aquario
|
||||
service: light.turn_on
|
||||
- delay:
|
||||
hours: 4
|
||||
minutes: 0
|
||||
seconds: 0
|
||||
milliseconds: 0
|
||||
- data: {}
|
||||
entity_id: light.luz_aquario
|
||||
service: light.turn_off
|
||||
mode: single
|
||||
- id: '1578994958446'
|
||||
alias: Warn garage gate Open
|
||||
alias: Garagem - Warn gate Open
|
||||
description: ''
|
||||
trigger:
|
||||
- entity_id: cover.portao_garagem
|
||||
from: closed
|
||||
- entity_id: binary_sensor.portao_garagem_input
|
||||
from: 'on'
|
||||
platform: state
|
||||
to: open
|
||||
to: 'off'
|
||||
condition: []
|
||||
action:
|
||||
- data:
|
||||
@@ -50,13 +34,13 @@
|
||||
title: '*Portao da garagem*'
|
||||
service: notify.buttler
|
||||
- id: '1579542436595'
|
||||
alias: warn portao garagem closed
|
||||
alias: Garagem - warn gate closed
|
||||
description: ''
|
||||
trigger:
|
||||
- entity_id: cover.portao_garagem
|
||||
from: open
|
||||
- entity_id: binary_sensor.portao_garagem_input
|
||||
from: 'off'
|
||||
platform: state
|
||||
to: closed
|
||||
to: 'on'
|
||||
condition: []
|
||||
action:
|
||||
- data:
|
||||
@@ -64,7 +48,7 @@
|
||||
title: '*Portao da garagem*'
|
||||
service: notify.buttler
|
||||
- id: '1583841493592'
|
||||
alias: Notify when hacs needs update
|
||||
alias: System - Notify when hacs needs update
|
||||
description: ''
|
||||
trigger:
|
||||
- entity_id: sensor.hacs
|
||||
@@ -76,71 +60,6 @@
|
||||
message: System HACS needs updating
|
||||
title: '*HACS*'
|
||||
service: notify.buttler
|
||||
- id: '1590057590266'
|
||||
alias: Sistema Rega Valvula 1 - 22h
|
||||
description: ''
|
||||
trigger:
|
||||
- at: '22:00:00'
|
||||
platform: time
|
||||
condition: []
|
||||
action:
|
||||
- data: {}
|
||||
entity_id: switch.valvula_jardim_1
|
||||
service: switch.turn_on
|
||||
- delay: 00:10:00
|
||||
- data: {}
|
||||
entity_id: switch.valvula_jardim_1
|
||||
service: switch.turn_off
|
||||
mode: single
|
||||
- id: sisRega2
|
||||
alias: Sistema Rega Valvula 2 - 22h
|
||||
description: ''
|
||||
trigger:
|
||||
- at: '22:10:00'
|
||||
platform: time
|
||||
condition: []
|
||||
action:
|
||||
- data: {}
|
||||
entity_id: switch.valvula_jardim_2
|
||||
service: switch.turn_on
|
||||
- delay: 00:10:00
|
||||
- data: {}
|
||||
entity_id: switch.valvula_jardim_2
|
||||
service: switch.turn_off
|
||||
mode: single
|
||||
- id: sisRega3
|
||||
alias: Sistema Rega Valvula 3 - 22h
|
||||
description: ''
|
||||
trigger:
|
||||
- at: '22:20:00'
|
||||
platform: time
|
||||
condition: []
|
||||
action:
|
||||
- data: {}
|
||||
entity_id: switch.valvula_jardim_3
|
||||
service: switch.turn_on
|
||||
- delay: 00:10:00
|
||||
- data: {}
|
||||
entity_id: switch.valvula_jardim_3
|
||||
service: switch.turn_off
|
||||
mode: single
|
||||
- id: '1590425966320'
|
||||
alias: Watering Garden Manual cycle
|
||||
description: ''
|
||||
trigger: []
|
||||
condition: []
|
||||
action:
|
||||
- data: {}
|
||||
entity_id: automation.sistema_rega_valvula_1
|
||||
service: automation.trigger
|
||||
- delay: 00:10:00
|
||||
- data: {}
|
||||
entity_id: automation.sistema_rega_valvula_2
|
||||
service: automation.trigger
|
||||
- delay: 00:10:00
|
||||
- data: {}
|
||||
entity_id: automation.sistema_rega_valvula_3
|
||||
service: automation.trigger
|
||||
- id: '1598985491596'
|
||||
alias: WC Red luz demasiado tempo ligada +10'
|
||||
description: Avisa se luz Wc Vermelha acesa por mais de 10 minutos
|
||||
@@ -164,7 +83,7 @@
|
||||
message: Wc Vermelha luz acesa
|
||||
mode: single
|
||||
- id: '1603375184553'
|
||||
alias: 'Garagem luz 1 demasiado tempo ligada +10'' '
|
||||
alias: 'Garagem - Luz 1 demasiado tempo ligada +10'' '
|
||||
description: Avisa se luz Wc Vermelha acesa por mais de 10 minutos
|
||||
trigger:
|
||||
- entity_id: light.luz_garagem_1
|
||||
@@ -186,7 +105,7 @@
|
||||
message: Luz garagem 1 acesa
|
||||
mode: single
|
||||
- id: '1603375213791'
|
||||
alias: Garagem luz 2 demasiado tempo ligada +10'
|
||||
alias: Garagem - Luz 2 demasiado tempo ligada +10'
|
||||
description: Avisa se luz Wc Vermelha acesa por mais de 10 minutos
|
||||
trigger:
|
||||
- entity_id: light.luz_garagem_2
|
||||
@@ -230,12 +149,19 @@
|
||||
message: Luz WC Preto acesa
|
||||
mode: single
|
||||
- id: '1613783833916'
|
||||
alias: BomDiaEstores
|
||||
alias: Blinders - BomDiaEstores - Week
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: 07:30:00
|
||||
condition: []
|
||||
at: 07:00:00
|
||||
condition:
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
action:
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
@@ -246,7 +172,7 @@
|
||||
data:
|
||||
position: 20
|
||||
target:
|
||||
entity_id: cover.coverqprincipal
|
||||
entity_id: cover.coverquartoprincipal
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
position: 0
|
||||
@@ -254,7 +180,7 @@
|
||||
entity_id: cover.coverqclara
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
position: 90
|
||||
position: 80
|
||||
target:
|
||||
entity_id: cover.covercozinha
|
||||
- service: cover.set_cover_position
|
||||
@@ -266,11 +192,12 @@
|
||||
- cover.coversalaesq
|
||||
mode: single
|
||||
- id: '1614212887668'
|
||||
alias: Curious George
|
||||
alias: Blinders - Curious George
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '20:30:00'
|
||||
- platform: sun
|
||||
event: sunset
|
||||
offset: 00:15:00
|
||||
condition: []
|
||||
action:
|
||||
- service: cover.set_cover_position
|
||||
@@ -281,12 +208,12 @@
|
||||
- service: cover.close_cover
|
||||
data: {}
|
||||
target:
|
||||
entity_id: cover.coverqclara
|
||||
entity_id: cover.estoresquartocriancas
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
position: 15
|
||||
target:
|
||||
entity_id: cover.coverqprincipal
|
||||
entity_id: cover.coverquartoprincipal
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
position: 15
|
||||
@@ -301,11 +228,12 @@
|
||||
position: 25
|
||||
mode: single
|
||||
- id: '1614212907624'
|
||||
alias: Close Covers
|
||||
alias: Blinders - Close Covers
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '21:30:00'
|
||||
- platform: sun
|
||||
event: sunset
|
||||
offset: 01:00
|
||||
condition: []
|
||||
action:
|
||||
- service: cover.close_cover
|
||||
@@ -319,7 +247,7 @@
|
||||
- service: cover.close_cover
|
||||
data: {}
|
||||
target:
|
||||
entity_id: cover.coverqprincipal
|
||||
entity_id: cover.coverquartoprincipal
|
||||
- service: cover.close_cover
|
||||
data: {}
|
||||
target:
|
||||
@@ -329,14 +257,22 @@
|
||||
- service: cover.close_cover
|
||||
target:
|
||||
entity_id: cover.covercozinha
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1614588424982'
|
||||
alias: Let There be Light
|
||||
alias: Blinders - Let There be Light - Week
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: 08:30:00
|
||||
condition: []
|
||||
condition:
|
||||
- condition: time
|
||||
weekday:
|
||||
- fri
|
||||
- thu
|
||||
- wed
|
||||
- tue
|
||||
- mon
|
||||
action:
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
@@ -345,35 +281,184 @@
|
||||
entity_id: cover.coverescritorio
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
position: 70
|
||||
position: 60
|
||||
target:
|
||||
entity_id: cover.coverqprincipal
|
||||
entity_id: cover.coverquartoprincipal
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
position: 90
|
||||
position: 60
|
||||
target:
|
||||
entity_id:
|
||||
- cover.coversaladir
|
||||
- cover.coversalaesq
|
||||
- cover.covercozinha
|
||||
mode: single
|
||||
- id: '1615401312170'
|
||||
alias: Start Aleixo
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '10:00:00'
|
||||
condition:
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
at: '10:00'
|
||||
condition: []
|
||||
action:
|
||||
- service: vacuum.start
|
||||
target:
|
||||
entity_id: vacuum.xiaomi_vacuum_cleaner
|
||||
entity_id: vacuum.aleixo_s5_max
|
||||
mode: single
|
||||
- id: '1621620922521'
|
||||
alias: WC castanho luz demasiado tempo ligada +10'
|
||||
description: Avisa se luz Wc Castanho acesa por mais de 10 minutos
|
||||
trigger:
|
||||
- entity_id: switch.luzwccast
|
||||
for: 00:10:00
|
||||
from: 'off'
|
||||
platform: state
|
||||
to: 'on'
|
||||
condition: []
|
||||
action:
|
||||
- data:
|
||||
message: Wc Castanho luz acesa
|
||||
title: '*Luz WC Castanho *'
|
||||
service: notify.buttler
|
||||
- service: notify.whatsapp
|
||||
data:
|
||||
message: Luz WC Castanho acesa
|
||||
- service: notify.whatsapprita
|
||||
data:
|
||||
message: Luz WC Castanho acesa
|
||||
mode: single
|
||||
- id: '1640114920854'
|
||||
alias: Garagem - Turn light on at night
|
||||
description: ''
|
||||
trigger:
|
||||
- entity_id:
|
||||
- binary_sensor.portao_garagem_input
|
||||
from: 'on'
|
||||
platform: state
|
||||
condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: sun
|
||||
before: sunrise
|
||||
- condition: sun
|
||||
after: sunset
|
||||
action:
|
||||
- data:
|
||||
message: ligar luz
|
||||
title: ligar luz temp
|
||||
service: notify.buttler
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.luz_garagem_2
|
||||
data: {}
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 5
|
||||
seconds: 0
|
||||
milliseconds: 0
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.luz_garagem_2
|
||||
data: {}
|
||||
- service: notify.buttler
|
||||
data:
|
||||
message: luz desligada
|
||||
mode: single
|
||||
- id: '1653728289950'
|
||||
alias: Blinders - Let There be Light - Week End
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: 09:00:00
|
||||
condition:
|
||||
- condition: time
|
||||
weekday:
|
||||
- sun
|
||||
- sat
|
||||
action:
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
position: 90
|
||||
target:
|
||||
entity_id: cover.coverescritorio
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
position: 100
|
||||
target:
|
||||
entity_id:
|
||||
- cover.coverquartoprincipal
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
position: 100
|
||||
target:
|
||||
entity_id:
|
||||
- cover.coversaladir
|
||||
- cover.coversalaesq
|
||||
- cover.covercozinha
|
||||
mode: single
|
||||
- id: '1670971858798'
|
||||
alias: cameraSnapshot
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: vorion/send-camera-snapshot-notification-on-motion.yaml
|
||||
input:
|
||||
motion_sensor: binary_sensor.camera_escritorio_motion
|
||||
camera: camera.camera_escritorio
|
||||
notify_device: ba9c8a03328312c2fbd19b7b546d9495
|
||||
is_ios: true
|
||||
- id: '1672261360284'
|
||||
alias: turn lights at 30 past sunset
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunset
|
||||
offset: 00:30:00
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.luzes_fora
|
||||
state: 'on'
|
||||
action:
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id:
|
||||
- light.luz_muro_tras
|
||||
- light.luz_jardim_frente
|
||||
- light.luz_jardim_frente
|
||||
mode: single
|
||||
- id: '1690326047177'
|
||||
alias: Quarto Criancas - ligar luz mosquitos
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: 06:00:00
|
||||
- platform: time
|
||||
at: '18:00:00'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.auto_anti_mosquittos_criancas
|
||||
state: 'on'
|
||||
action:
|
||||
- service: switch.toggle
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.mosquitoqc
|
||||
mode: single
|
||||
- id: '1690533072208'
|
||||
alias: Quarto Principal - Anti Mosquittos
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: 06:00:00
|
||||
- platform: time
|
||||
at: '18:00:00'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.auto_anti_mosquittos_qprincipal
|
||||
state: 'on'
|
||||
action:
|
||||
- service: switch.toggle
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.mosquitoqp
|
||||
mode: single
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
# Configure a default setup of Home Assistant (frontend, api, etc)
|
||||
default_config:
|
||||
|
||||
@@ -7,6 +6,15 @@ default_config:
|
||||
# base_url: home.vferreira.pt:8123
|
||||
|
||||
# Text to speech
|
||||
|
||||
http:
|
||||
use_x_forwarded_for: true
|
||||
trusted_proxies:
|
||||
- 172.30.32.0/24
|
||||
- 127.0.0.1
|
||||
- 192.168.1.0/24
|
||||
- 10.0.20.0/24
|
||||
- ::1
|
||||
tts:
|
||||
- platform: google_translate
|
||||
|
||||
@@ -16,13 +24,7 @@ google_assistant:
|
||||
- switch
|
||||
- light
|
||||
|
||||
speedtestdotnet:
|
||||
scan_interval:
|
||||
minutes: 30
|
||||
monitored_conditions:
|
||||
- ping
|
||||
- download
|
||||
- upload
|
||||
mqtt: !include mqtt.yaml
|
||||
|
||||
notify:
|
||||
- name: Buttler
|
||||
@@ -33,31 +35,22 @@ notify:
|
||||
resource: https://api.callmebot.com/whatsapp.php
|
||||
data:
|
||||
source: HA
|
||||
phone: !secret phoneNumber #enter your phone number here
|
||||
apikey: !secret callMeBotAPIKey #enter your apikey here (see Setup above)
|
||||
phone: !secret phoneNumber #enter your phone number here
|
||||
apikey: !secret callMeBotAPIKey #enter your apikey here (see Setup above)
|
||||
- name: WhatsAppRita
|
||||
platform: rest
|
||||
resource: https://api.callmebot.com/whatsapp.php
|
||||
data:
|
||||
source: HA
|
||||
phone: !secret phoneNumberRita #enter your phone number here
|
||||
apikey: !secret callMeBotAPIKeyRita #enter your apikey here (see Setup above)
|
||||
|
||||
camera:
|
||||
- platform: ffmpeg
|
||||
name: Camera Garagem
|
||||
input: rtsp://valadimnfer:ditesM6rvMQmw8@192.168.1.70:554/stream2
|
||||
|
||||
spotify:
|
||||
client_id: !secret spotifyClientID
|
||||
client_secret: !secret spotifyClientSecret
|
||||
phone: !secret phoneNumberRita
|
||||
apikey: !secret callMeBotAPIKeyRita
|
||||
|
||||
telegram_bot:
|
||||
- platform: polling
|
||||
api_key: !secret telegram_bot_token
|
||||
allowed_chat_ids:
|
||||
- 564913435
|
||||
|
||||
|
||||
group: !include groups.yaml
|
||||
automation: !include automations.yaml
|
||||
script: !include scripts.yaml
|
||||
@@ -67,7 +60,10 @@ cover: !include cover.yaml
|
||||
light: !include light.yaml
|
||||
switch: !include switch.yaml
|
||||
media_player: !include mediaplayers.yaml
|
||||
vacuum:
|
||||
- platform: xiaomi_miio
|
||||
host: !secret aleixoIP
|
||||
token: !secret aleixoToken
|
||||
|
||||
utility_meter:
|
||||
energy:
|
||||
source: sensor.energy_aqua_hoje
|
||||
cycle: hourly
|
||||
|
||||
homekit:
|
||||
|
||||
45
cover.yaml
45
cover.yaml
@@ -1,13 +1,32 @@
|
||||
- platform: mqtt
|
||||
name: "Portao Garagem"
|
||||
state_topic: "garageGate/state"
|
||||
command_topic: "garageGate/cmd"
|
||||
qos: 1
|
||||
#payload_open: "push"
|
||||
#payload_close: "push"
|
||||
#payload_stop: "push"
|
||||
state_open: "ope"
|
||||
state_closed: "close"
|
||||
optimistic: true
|
||||
retain: true
|
||||
device_class: garage
|
||||
- platform: template
|
||||
covers:
|
||||
garage_door:
|
||||
device_class: garage
|
||||
friendly_name: "Garagem Portao"
|
||||
value_template: "{{is_state('binary_sensor.portao_garagem_input','On')}}"
|
||||
open_cover:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.portao_garagem_input
|
||||
state: "off"
|
||||
- service: switch.toggle
|
||||
target:
|
||||
entity_id: switch.portao_garagem
|
||||
close_cover:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.portao_garagem_input
|
||||
state: "on"
|
||||
- service: switch.toggle
|
||||
target:
|
||||
entity_id: switch.portao_garagem
|
||||
stop_cover:
|
||||
- service: switch.toggle
|
||||
target:
|
||||
entity_id: switch.portao_garagem
|
||||
icon_template: >-
|
||||
{% if is_state('binary_sensor.portao_garagem_input','on') %}
|
||||
mdi:garage
|
||||
{% elif is_state('binary_sensor.portao_garagem_input','off') %}
|
||||
mdi:garage-open
|
||||
{% else %}
|
||||
mdi:garage-alert-variant
|
||||
{% endif %}
|
||||
|
||||
47
groups.yaml
47
groups.yaml
@@ -29,7 +29,7 @@
|
||||
# icon: mdi:play-protected-content
|
||||
# entities:
|
||||
# - group.media
|
||||
|
||||
|
||||
# internet:
|
||||
# name: Internet
|
||||
# control: hidden
|
||||
@@ -61,20 +61,33 @@
|
||||
# - device_tracker.oneplus_3
|
||||
# - device_tracker.android6b624d787f17d7a5
|
||||
|
||||
sisHealth:
|
||||
name: Sistema
|
||||
entities:
|
||||
- sensor.cpu_speed
|
||||
- sensor.disk_use_percent_home
|
||||
- sensor.memory_free
|
||||
- sensor.last_boot
|
||||
- group.internet
|
||||
sisHealth:
|
||||
name: Sistema
|
||||
entities:
|
||||
- sensor.cpu_speed
|
||||
- sensor.disk_use_percent_home
|
||||
- sensor.memory_free
|
||||
- sensor.last_boot
|
||||
- group.internet
|
||||
|
||||
lightsout:
|
||||
name: Luzes Fora
|
||||
entities:
|
||||
- light.luz_varanda_sala
|
||||
- light.luz_varanda_quarto_principal
|
||||
- light.luz_hall_tras_fora
|
||||
- light.luz_jardim_frente
|
||||
- light.Luz_jardim_frente_lado
|
||||
lightsout:
|
||||
name: Luzes Fora
|
||||
entities:
|
||||
- light.luz_varanda_sala
|
||||
- light.luz_varanda_quarto_principal
|
||||
- light.luz_hall_tras_fora
|
||||
- light.luz_jardim_frente
|
||||
- light.Luz_jardim_frente_lado
|
||||
alllights:
|
||||
name: Todas Luzes
|
||||
entities:
|
||||
- light.luz_varanda_sala
|
||||
- light.luz_varanda_quarto_principal
|
||||
- light.luz_hall_tras_fora
|
||||
- light.luz_jardim_frente
|
||||
- light.Luz_jardim_frente_lado
|
||||
coverSala:
|
||||
name: Estores Sala
|
||||
entities:
|
||||
- cover.coversaladir
|
||||
- cover.coversalaesq
|
||||
|
||||
144
light.yaml
Executable file → Normal file
144
light.yaml
Executable file → Normal file
@@ -1,144 +0,0 @@
|
||||
- platform: mqtt
|
||||
name: "Luz Hall Quarto Principal"
|
||||
state_topic: "stat/tasmota_BC6546/POWER"
|
||||
command_topic: "cmnd/tasmota_BC6546/POWER"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Luz WC Vermelha"
|
||||
state_topic: "stat/Luzwcred/POWER"
|
||||
command_topic: "cmnd/Luzwcred/POWER"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Luz Aquario"
|
||||
command_topic: "cmnd/SonoffluzAquario/power"
|
||||
state_topic: "stat/SonoffluzAquario/POWER"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Luz Wc Preto"
|
||||
command_topic: "cmnd/tasmota_FD991E/power"
|
||||
state_topic: "stat/tasmota_FD991E/POWER"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Luz Escritorio"
|
||||
command_topic: "cmnd/LuzEscritorio/power"
|
||||
state_topic: "stat/LuzEscritorio/POWER"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Luz Jardim Frente Lado"
|
||||
command_topic: "mqttServer/14031717/light/14031717luzfrentelado/set"
|
||||
state_topic: "mqttServer/14031717/light/14031717luzfrentelado/state"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Luz Jardim Frente"
|
||||
command_topic: "mqttServer/14031717/light/14031717luzjardimfrente/set"
|
||||
state_topic: "mqttServer/14031717/light/14031717luzjardimfrente/state"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Luz Garagem 1"
|
||||
command_topic: "mqttServer/14029039/light/14029039luzgaragem1/set"
|
||||
state_topic: "mqttServer/14029039/light/14029039luzgaragem1/set"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Luz Garagem 2"
|
||||
command_topic: "mqttServer/14029039/light/14029039luzgaragem2/set"
|
||||
state_topic: "mqttServer/14029039/light/14029039luzgaragem2/state"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Luz Hall Tras Fora"
|
||||
command_topic: "mqttServer/14049798/light/14049798luzhallforatras1/set"
|
||||
state_topic: "mqttServer/14049798/light/14049798luzhallforatras1/state"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Luz Muro Tras"
|
||||
command_topic: "mqttServer/14049798/light/14049798luzmurostras/set"
|
||||
state_topic: "mqttServer/14049798/light/14049798luzmurostras/state"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: philips_ambilight
|
||||
name: TV Ambilight
|
||||
host: !secret philipstv_ip
|
||||
username: !secret philipstv_user
|
||||
password: !secret philipstv_pass
|
||||
|
||||
- platform: mqtt
|
||||
unique_id: luz_varanda_quarto_principal
|
||||
name: "Luz Varanda Quarto Principal"
|
||||
state_topic: "shellies/luzVarandaQP/relay/0"
|
||||
command_topic: "shellies/luzVarandaQP/relay/0/command"
|
||||
payload_on: 'on'
|
||||
payload_off: 'off'
|
||||
retain: false
|
||||
qos: 1
|
||||
|
||||
- platform: mqtt
|
||||
unique_id: luz_varanda_sala
|
||||
name: "Luz Varanda Sala"
|
||||
state_topic: "shellies/luzVarandaSala/relay/0"
|
||||
command_topic: "shellies/luzVarandaSala/relay/0/command"
|
||||
payload_on: 'on'
|
||||
payload_off: 'off'
|
||||
retain: false
|
||||
qos: 1
|
||||
|
||||
- platform: mqtt
|
||||
unique_id: luz_wc_castanha
|
||||
name: "Luz WC Castanha"
|
||||
state_topic: "shellies/luzWCcast/relay/0"
|
||||
command_topic: "shellies/luzWCcast/relay/0/command"
|
||||
payload_on: 'on'
|
||||
payload_off: 'off'
|
||||
retain: false
|
||||
qos: 1
|
||||
|
||||
- platform: mqtt
|
||||
unique_id: luz_hall_tras
|
||||
name: "Luz Hall Tras"
|
||||
state_topic: "shellies/luzHallTras/relay/0"
|
||||
command_topic: "shellies/luzHallTras/relay/0/command"
|
||||
payload_on: 'on'
|
||||
payload_off: 'off'
|
||||
retain: false
|
||||
qos: 1
|
||||
@@ -1,9 +1 @@
|
||||
#media player components
|
||||
- platform: mediaroom
|
||||
|
||||
- platform: philips_android_tv
|
||||
name: TV
|
||||
host: !secret philipstv_ip
|
||||
mac: !secret philipstv_mac
|
||||
username: !secret philipstv_user
|
||||
password: !secret philipstv_pass
|
||||
3
mqtt.yaml
Normal file
3
mqtt.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
light: !include mqtt_light.yaml
|
||||
switch: !include mqtt_switch.yaml
|
||||
sensor: !include mqtt_sensor.yaml
|
||||
119
mqtt_light.yaml
Executable file
119
mqtt_light.yaml
Executable file
@@ -0,0 +1,119 @@
|
||||
- state_topic: "stat/Luzwcred/POWER"
|
||||
name: "Luz WC Vermelha"
|
||||
command_topic: "cmnd/Luzwcred/POWER"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "stat/SonoffluzAquario/POWER"
|
||||
command_topic: "cmnd/SonoffluzAquario/power"
|
||||
name: "Luz Aquario"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "stat/tasmota_FD991E/POWER"
|
||||
name: "Luz Wc Preto"
|
||||
command_topic: "cmnd/tasmota_FD991E/power"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "stat/tasmota_BC6546/POWER"
|
||||
command_topic: "cmnd/tasmota_BC6546/POWER"
|
||||
name: "Luz Hall Quarto Principal"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "stat/LuzEscritorio/POWER"
|
||||
name: "Luz Escritorio"
|
||||
command_topic: "cmnd/LuzEscritorio/power"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "mqttServer/14031717/light/14031717luzfrentelado/state"
|
||||
name: "Luz Jardim Frente Lado"
|
||||
command_topic: "mqttServer/14031717/light/14031717luzfrentelado/set"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "mqttServer/14031717/light/14031717luzjardimfrente/state"
|
||||
name: "Luz Jardim Frente"
|
||||
command_topic: "mqttServer/14031717/light/14031717luzjardimfrente/set"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "mqttServer/14029039/light/14029039luzgaragem1/set"
|
||||
name: "Luz Garagem 1"
|
||||
command_topic: "mqttServer/14029039/light/14029039luzgaragem1/set"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "mqttServer/14029039/light/14029039luzgaragem2/state"
|
||||
command_topic: "mqttServer/14029039/light/14029039luzgaragem2/set"
|
||||
name: "Luz Garagem 2"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "mqttServer/14049798/light/14049798luzhallforatras1/state"
|
||||
name: "Luz Hall Tras Fora"
|
||||
command_topic: "mqttServer/14049798/light/14049798luzhallforatras1/set"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "mqttServer/14049798/light/14049798luzmurostras/state"
|
||||
name: "Luz Muro Tras"
|
||||
command_topic: "mqttServer/14049798/light/14049798luzmurostras/set"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "shellies/luzVarandaQP/relay/0"
|
||||
name: "Luz Varanda Quarto Principal"
|
||||
command_topic: "shellies/luzVarandaQP/relay/0/command"
|
||||
payload_on: "on"
|
||||
payload_off: "off"
|
||||
retain: false
|
||||
qos: 1
|
||||
|
||||
- state_topic: "shellies/luzVarandaSala/relay/0"
|
||||
name: "Luz Varanda Sala"
|
||||
command_topic: "shellies/luzVarandaSala/relay/0/command"
|
||||
payload_on: "on"
|
||||
payload_off: "off"
|
||||
retain: false
|
||||
qos: 1
|
||||
|
||||
- state_topic: "shellies/luzWCcast/relay/0"
|
||||
name: "Luz WC Castanha"
|
||||
command_topic: "shellies/luzWCcast/relay/0/command"
|
||||
payload_on: "on"
|
||||
payload_off: "off"
|
||||
retain: false
|
||||
qos: 1
|
||||
|
||||
- state_topic: "shellies/luzHallTras/relay/0"
|
||||
name: "Luz Hall Tras"
|
||||
command_topic: "shellies/luzHallTras/relay/0/command"
|
||||
payload_on: "on"
|
||||
payload_off: "off"
|
||||
retain: false
|
||||
qos: 1
|
||||
59
mqtt_sensor.yaml
Normal file
59
mqtt_sensor.yaml
Normal file
@@ -0,0 +1,59 @@
|
||||
- state_topic: "tele/soaquecepiso/SENSOR"
|
||||
name: "Aquecimento Piso Amperes"
|
||||
value_template: "{{ value_json['ENERGY'].Current }}"
|
||||
unit_of_measurement: "A"
|
||||
|
||||
- state_topic: "tele/soaquecepiso/SENSOR"
|
||||
name: "Aquecimento Piso Watts"
|
||||
value_template: "{{ value_json['ENERGY'].Power }}"
|
||||
unit_of_measurement: "W"
|
||||
|
||||
- state_topic: "tele/soaquecepiso/SENSOR"
|
||||
name: "Aquecimento Piso Volts"
|
||||
value_template: "{{ value_json['ENERGY'].Voltage }}"
|
||||
unit_of_measurement: "V"
|
||||
|
||||
- state_topic: "tele/soaquecepiso/SENSOR"
|
||||
name: "Aquecimento Piso Watts Hoje"
|
||||
value_template: "{{ value_json['ENERGY'].Today }}"
|
||||
unit_of_measurement: "W"
|
||||
|
||||
- state_topic: "tele/soaquecepiso/SENSOR"
|
||||
name: "Aquecimento Piso Watts Ontem"
|
||||
value_template: "{{ value_json['ENERGY'].Yesterday }}"
|
||||
unit_of_measurement: "W"
|
||||
|
||||
- state_topic: "tele/soaquecepiso/SENSOR"
|
||||
name: "Aquecimento Piso Watts Total"
|
||||
value_template: "{{ value_json['ENERGY'].Total }}"
|
||||
unit_of_measurement: "W"
|
||||
|
||||
- state_topic: "tele/soaqueceagua/SENSOR"
|
||||
name: "Aquecimento Agua Amperes"
|
||||
value_template: "{{ value_json['ENERGY'].Current }}"
|
||||
unit_of_measurement: "A"
|
||||
|
||||
- state_topic: "tele/soaqueceagua/SENSOR"
|
||||
name: "Aquecimento Agua Watts"
|
||||
value_template: "{{ value_json['ENERGY'].Power }}"
|
||||
unit_of_measurement: "W"
|
||||
|
||||
- state_topic: "tele/soaqueceagua/SENSOR"
|
||||
name: "Aquecimento Agua Volts"
|
||||
value_template: "{{ value_json['ENERGY'].Voltage }}"
|
||||
unit_of_measurement: "V"
|
||||
|
||||
- state_topic: "tele/soaqueceagua/SENSOR"
|
||||
name: "Aquecimento Agua Watts Hoje"
|
||||
value_template: "{{ value_json['ENERGY'].Today }}"
|
||||
unit_of_measurement: "W"
|
||||
|
||||
- state_topic: "tele/soaqueceagua/SENSOR"
|
||||
name: "Aquecimento Agua Watts Ontem"
|
||||
value_template: "{{ value_json['ENERGY'].Yesterday }}"
|
||||
unit_of_measurement: "W"
|
||||
|
||||
- state_topic: "tele/soaqueceagua/SENSOR"
|
||||
name: "Aquecimento Agua Watts Total"
|
||||
value_template: "{{ value_json['ENERGY'].Total }}"
|
||||
unit_of_measurement: "W"
|
||||
35
mqtt_switch.yaml
Normal file
35
mqtt_switch.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
- state_topic: "stat/soaquecepiso/POWER"
|
||||
name: "Aquecimento piso"
|
||||
command_topic: "cmnd/soaquecepiso/power"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "stat/soaqueceagua/POWER"
|
||||
name: "Aquecimento agua"
|
||||
command_topic: "cmnd/soaqueceagua/power"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- state_topic: "stat/tasmota_A9A998/POWER"
|
||||
name: "MosquitoQP"
|
||||
command_topic: "cmnd/tasmota_A9A998/POWER"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
retain: true
|
||||
|
||||
- state_topic: "stat/tasmota_A924F7/POWER"
|
||||
name: "MosquitoQC"
|
||||
command_topic: "cmnd/tasmota_A924F7/POWER"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
retain: true
|
||||
@@ -1,7 +1 @@
|
||||
'1593471301993':
|
||||
alias: Acionar Regua
|
||||
sequence:
|
||||
- service: automation.trigger
|
||||
target:
|
||||
entity_id: automation.sistema_rega_valvula_1_22h
|
||||
mode: single
|
||||
|
||||
|
||||
94
sensor.yaml
94
sensor.yaml
@@ -1,82 +1,12 @@
|
||||
- platform: cpuspeed
|
||||
- platform: systemmonitor
|
||||
resources:
|
||||
- type: disk_use_percent
|
||||
arg: /home
|
||||
- type: memory_free
|
||||
- type: last_boot
|
||||
- platform: mqtt
|
||||
name: "sensor aquario"
|
||||
state_topic: "tele/SonoffluzAquario/SENSOR"
|
||||
value_template: "{{ value_json['DS18B20'].Temperature }}"
|
||||
unit_of_measurement: 'C'
|
||||
- platform: mqtt
|
||||
name: "Temperatura Escritorio"
|
||||
state_topic: "tele/sonoffEscritorio/SENSOR"
|
||||
value_template: "{{ value_json['DHT11'].Temperature }}"
|
||||
unit_of_measurement: 'C'
|
||||
- platform: mqtt
|
||||
name: "Humidade Escritorio"
|
||||
state_topic: "tele/sonoffEscritorio/SENSOR"
|
||||
value_template: "{{ value_json['DHT11'].Humidity }}"
|
||||
unit_of_measurement: '%'
|
||||
- platform: mqtt
|
||||
name: "Aquecimento Piso Amperes"
|
||||
state_topic: "tele/soaquecepiso/SENSOR"
|
||||
value_template: "{{ value_json['ENERGY'].Current }}"
|
||||
unit_of_measurement: 'A'
|
||||
- platform: mqtt
|
||||
name: "Aquecimento Piso Watts"
|
||||
state_topic: "tele/soaquecepiso/SENSOR"
|
||||
value_template: "{{ value_json['ENERGY'].Power }}"
|
||||
unit_of_measurement: 'W'
|
||||
- platform: mqtt
|
||||
name: "Aquecimento Piso Volts"
|
||||
state_topic: "tele/soaquecepiso/SENSOR"
|
||||
value_template: "{{ value_json['ENERGY'].Voltage }}"
|
||||
unit_of_measurement: 'V'
|
||||
- platform: mqtt
|
||||
name: "Aquecimento Piso Watts Hoje"
|
||||
state_topic: "tele/soaquecepiso/SENSOR"
|
||||
value_template: "{{ value_json['ENERGY'].Today }}"
|
||||
unit_of_measurement: 'W'
|
||||
- platform: mqtt
|
||||
name: "Aquecimento Piso Watts Ontem"
|
||||
state_topic: "tele/soaquecepiso/SENSOR"
|
||||
value_template: "{{ value_json['ENERGY'].Yesterday }}"
|
||||
unit_of_measurement: 'W'
|
||||
- platform: mqtt
|
||||
name: "Aquecimento Piso Watts Total"
|
||||
state_topic: "tele/soaquecepiso/SENSOR"
|
||||
value_template: "{{ value_json['ENERGY'].Total }}"
|
||||
unit_of_measurement: 'W'
|
||||
- platform: mqtt
|
||||
name: "Aquecimento Agua Amperes"
|
||||
state_topic: "tele/soaqueceagua/SENSOR"
|
||||
value_template: "{{ value_json['ENERGY'].Current }}"
|
||||
unit_of_measurement: 'A'
|
||||
- platform: mqtt
|
||||
name: "Aquecimento Agua Watts"
|
||||
state_topic: "tele/soaqueceagua/SENSOR"
|
||||
value_template: "{{ value_json['ENERGY'].Power }}"
|
||||
unit_of_measurement: 'W'
|
||||
- platform: mqtt
|
||||
name: "Aquecimento Agua Volts"
|
||||
state_topic: "tele/soaqueceagua/SENSOR"
|
||||
value_template: "{{ value_json['ENERGY'].Voltage }}"
|
||||
unit_of_measurement: 'V'
|
||||
- platform: mqtt
|
||||
name: "Aquecimento Agua Watts Hoje"
|
||||
state_topic: "tele/soaqueceagua/SENSOR"
|
||||
value_template: "{{ value_json['ENERGY'].Today }}"
|
||||
unit_of_measurement: 'W'
|
||||
- platform: mqtt
|
||||
name: "Aquecimento Agua Watts Ontem"
|
||||
state_topic: "tele/soaqueceagua/SENSOR"
|
||||
value_template: "{{ value_json['ENERGY'].Yesterday }}"
|
||||
unit_of_measurement: 'W'
|
||||
- platform: mqtt
|
||||
name: "Aquecimento Agua Watts Total"
|
||||
state_topic: "tele/soaqueceagua/SENSOR"
|
||||
value_template: "{{ value_json['ENERGY'].Total }}"
|
||||
unit_of_measurement: 'W'
|
||||
- platform: integration
|
||||
source: sensor.aquecimento_agua_watts_hoje
|
||||
name: energy_aqua_hoje
|
||||
unit_prefix: k
|
||||
round: 2
|
||||
method: left
|
||||
- platform: systemmonitor
|
||||
resources:
|
||||
- type: disk_use_percent
|
||||
arg: /home
|
||||
- type: memory_free
|
||||
- type: last_boot
|
||||
80
switch.yaml
80
switch.yaml
@@ -1,81 +1 @@
|
||||
- platform: mqtt
|
||||
name: "Aquecimento piso"
|
||||
state_topic: "stat/soaquecepiso/POWER"
|
||||
command_topic: "cmnd/soaquecepiso/power"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Tomada escritorio"
|
||||
state_topic: "stat/sonoffEscritorio/POWER"
|
||||
command_topic: "cmnd/sonoffEscritorio/power"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Aquecimento agua"
|
||||
state_topic: "stat/soaqueceagua/POWER"
|
||||
command_topic: "cmnd/soaqueceagua/power"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Valvula jardim 1"
|
||||
state_topic: "stat/tasmota_8CA4C5/POWER1"
|
||||
command_topic: "cmnd/tasmota_8CA4C5/POWER1"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Valvula jardim 2"
|
||||
state_topic: "stat/tasmota_8CA4C5/POWER2"
|
||||
command_topic: "cmnd/tasmota_8CA4C5/POWER2"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Valvula jardim 3"
|
||||
state_topic: "stat/tasmota_8CA4C5/POWER3"
|
||||
command_topic: "cmnd/tasmota_8CA4C5/POWER3"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "LTVR1"
|
||||
state_topic: "stat/tasmota_A9A998/POWER"
|
||||
command_topic: "cmnd/tasmota_A9A998/POWER"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "LTVR2"
|
||||
state_topic: "stat/tasmota_A924F7/POWER"
|
||||
command_topic: "cmnd/tasmota_A924F7/POWER"
|
||||
qos: 1
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
retain: true
|
||||
Reference in New Issue
Block a user