-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtx_ultimate_10_spare.yaml
More file actions
53 lines (43 loc) · 1.29 KB
/
tx_ultimate_10_spare.yaml
File metadata and controls
53 lines (43 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
substitutions:
name: "tx-ultimate-10"
friendly_name: "Sonoff TX 10"
use_ip_address: 192.168.2.150 # Usato da esphome per monitor e upload
wifi_ssid: !secret wifi_dmz_ssid
wifi_password: !secret wifi_dmz_password
#esp32_ble_tracker:
# scan_parameters:
# active: True
# continuous: false
packages:
# Connessione MQTT
mqtt_client: !include includes/mqtt_client.yaml
# Configurazione di base
device_base: !include includes/tx_ultimate_base.yaml
# Configurazione leds
leds: !include includes/tx_ultimate_leds_4_zone.yaml
# Configurazione Custom multitouch
multitouch: !include includes/tx_ultimate_custom_multitouch.yaml
# Relè e luci locali
light_ing: !include
file: includes/tx_ultimate_light.yaml
vars:
id: relay_ing
name: "Relay luci esterne ingresso"
pin: ${relay_1_pin}
script:
- id: !extend on_swipe_right
then:
- mqtt.publish:
topic: sonoff_4ch_02/cmnd/ShutterStopOpen2
payload: ""
- mqtt.publish:
topic: sonoff_4ch_03/cmnd/ShutterStopOpen2
payload: ""
- id: !extend on_swipe_left
then:
- mqtt.publish:
topic: sonoff_4ch_02/cmnd/ShutterStopClose2
payload: ""
- mqtt.publish:
topic: sonoff_4ch_03/cmnd/ShutterStopClose2
payload: ""