mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-10 20:50:02 +02:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cfa89d128e | ||
|
|
acfc4aea01 | ||
|
|
56a32dfa83 | ||
|
|
c11ffdd002 | ||
|
|
a86adfce01 | ||
|
|
18d722454b | ||
|
|
b3f4062e9a | ||
|
|
18a71c4371 |
@@ -1,368 +0,0 @@
|
|||||||
switch:
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_01_out01
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 15
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_01 [cover_open_01_out01, cover_close_01_out02]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_01_out02
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 14
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_01
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_02_out03
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 13
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_02 [cover_open_02_out03, cover_close_02_out04]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_02_out04
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 12
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_02
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_03_out05
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 11
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_03 [cover_open_03_out05, cover_close_03_out06]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_03_out06
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 10
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_03
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_04_out07
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 9
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_04 [cover_open_04_out07, cover_close_04_out08]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_04_out08
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 8
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_04
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_05_out09
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 15
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_05 [cover_open_05_out09, cover_close_05_out10]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_05_out10
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 14
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_05
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_06_out11
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 13
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_06 [cover_open_06_out11, cover_close_06_out12]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_06_out12
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 12
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_06
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_07_out13
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 11
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_07 [cover_open_07_out13, cover_close_07_out14]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_07_out14
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 10
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_07
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_08_out15
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 9
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_08 [cover_open_08_out15, cover_close_08_out16]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_08_out16
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 8
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_08
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_09_out17
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 0
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_09 [cover_open_09_out17, cover_close_09_out18]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_09_out18
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 1
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_09
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_10_out19
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 2
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_10 [cover_open_10_out19, cover_close_10_out20]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_10_out20
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 3
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_10
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_11_out21
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 4
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_11 [cover_open_11_out21, cover_close_11_out22]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_11_out22
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 5
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_11
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_12_out23
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 6
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_12 [cover_open_12_out23, cover_close_12_out24]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_12_out24
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 7
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_12
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_13_out25
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 0
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_13 [cover_open_13_out25, cover_close_13_out26]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_13_out26
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 1
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_13
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_14_out27
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 2
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_14 [cover_open_14_out27, cover_close_14_out28]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_14_out28
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 3
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_14
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_15_out29
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 4
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_15 [cover_open_15_out29, cover_close_15_out30]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_15_out30
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 5
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_15
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_16_out31
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 6
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_16 [cover_open_16_out31, cover_close_16_out32]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_16_out32
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 7
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_16
|
|
||||||
restore_mode: always off
|
|
||||||
@@ -1,287 +0,0 @@
|
|||||||
output:
|
|
||||||
- platform: gpio
|
|
||||||
id: out_01
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 15
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
- platform: gpio
|
|
||||||
id: out_02
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 14
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_03
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 13
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_04
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 12
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_05
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 11
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_06
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 10
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_07
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 9
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_08
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 8
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_09
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 15
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_10
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 14
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_11
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 13
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_12
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 12
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_13
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 11
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_14
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 10
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_15
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 9
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_16
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 8
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_17
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 0
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_18
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 1
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_19
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 2
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_20
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 3
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_21
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 4
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_22
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 5
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_23
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 6
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_24
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 7
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_25
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 0
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_26
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 1
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_27
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 2
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_28
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 3
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_29
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 4
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_30
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 5
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_31
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 6
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_32
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 7
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
@@ -1,329 +0,0 @@
|
|||||||
switch:
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_01_out01
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 15
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_01 [cover_open_01_out01, cover_close_01_out02]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_01_out02
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 14
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_01
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_02_out03
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 13
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_02 [cover_open_02_out03, cover_close_02_out04]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_02_out04
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 12
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_02
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_03_out05
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 11
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_03 [cover_open_03_out05, cover_close_03_out06]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_03_out06
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 10
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_03
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_04_out07
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 9
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_04 [cover_open_04_out07, cover_close_04_out08]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_04_out08
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 8
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_04
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_05_out09
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 15
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_05 [cover_open_05_out09, cover_close_05_out10]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_05_out10
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 14
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_05
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_06_out11
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 13
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_06 [cover_open_06_out11, cover_close_06_out12]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_06_out12
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 12
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_06
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_07_out13
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 11
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_07 [cover_open_07_out13, cover_close_07_out14]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_07_out14
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 10
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_07
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_open_08_out15
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 9
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: &cover_interlock_08 [cover_open_08_out15, cover_close_08_out16]
|
|
||||||
interlock_wait_time: 5ms
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: cover_close_08_out16
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 8
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
interlock: *cover_interlock_08
|
|
||||||
restore_mode: always off
|
|
||||||
|
|
||||||
output:
|
|
||||||
- platform: gpio
|
|
||||||
id: out_17
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 0
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_18
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 1
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_19
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 2
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_20
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 3
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_21
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 4
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_22
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 5
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_23
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 6
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_24
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_left
|
|
||||||
number: 7
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_25
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 0
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_26
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 1
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_27
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 2
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_28
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 3
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_29
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 4
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_30
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 5
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_31
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 6
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
|
||||||
id: out_32
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 7
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
23
boards/cover/out01_02.yaml
Normal file
23
boards/cover/out01_02.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_01_out01
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 15
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_01 [cover_open_01_out01, cover_close_01_out02]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_01_out02
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 14
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_01
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out03_04.yaml
Normal file
23
boards/cover/out03_04.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_02_out03
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 13
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_02 [cover_open_02_out03, cover_close_02_out04]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_02_out04
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 12
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_02
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out05_06.yaml
Normal file
23
boards/cover/out05_06.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_03_out05
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 11
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_03 [cover_open_03_out05, cover_close_03_out06]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_03_out06
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 10
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_03
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out07_08.yaml
Normal file
23
boards/cover/out07_08.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_04_out07
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 9
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_04 [cover_open_04_out07, cover_close_04_out08]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_04_out08
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 8
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_04
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out09_10.yaml
Normal file
23
boards/cover/out09_10.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_05_out09
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 15
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_05 [cover_open_05_out09, cover_close_05_out10]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_05_out10
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 14
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_05
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out11_12.yaml
Normal file
23
boards/cover/out11_12.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_06_out11
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 13
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_06 [cover_open_06_out11, cover_close_06_out12]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_06_out12
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 12
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_06
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out13_14.yaml
Normal file
23
boards/cover/out13_14.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_07_out13
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 11
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_07 [cover_open_07_out13, cover_close_07_out14]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_07_out14
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 10
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_07
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out15_16.yaml
Normal file
23
boards/cover/out15_16.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_08_out15
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 9
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_08 [cover_open_08_out15, cover_close_08_out16]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_08_out16
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 8
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_08
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out17_18.yaml
Normal file
23
boards/cover/out17_18.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_09_out17
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 0
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_09 [cover_open_09_out17, cover_close_09_out18]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_09_out18
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 1
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_09
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out19_20.yaml
Normal file
23
boards/cover/out19_20.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_10_out19
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 2
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_10 [cover_open_10_out19, cover_close_10_out20]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_10_out20
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 3
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_10
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out21_22.yaml
Normal file
23
boards/cover/out21_22.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_11_out21
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 4
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_11 [cover_open_11_out21, cover_close_11_out22]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_11_out22
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 5
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_11
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out23_24.yaml
Normal file
23
boards/cover/out23_24.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_12_out23
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 6
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_12 [cover_open_12_out23, cover_close_12_out24]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_12_out24
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 7
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_12
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out25_26.yaml
Normal file
23
boards/cover/out25_26.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_13_out25
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 0
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_13 [cover_open_13_out25, cover_close_13_out26]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_13_out26
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 1
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_13
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out27_28.yaml
Normal file
23
boards/cover/out27_28.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_14_out27
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 2
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_14 [cover_open_14_out27, cover_close_14_out28]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_14_out28
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 3
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_14
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out29_30.yaml
Normal file
23
boards/cover/out29_30.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_15_out29
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 4
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_15 [cover_open_15_out29, cover_close_15_out30]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_15_out30
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 5
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_15
|
||||||
|
restore_mode: always off
|
||||||
23
boards/cover/out31_32.yaml
Normal file
23
boards/cover/out31_32.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_open_16_out31
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 6
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: &cover_interlock_16 [cover_open_16_out31, cover_close_16_out32]
|
||||||
|
interlock_wait_time: 5ms
|
||||||
|
restore_mode: always off
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: cover_close_16_out32
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 7
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
interlock: *cover_interlock_16
|
||||||
|
restore_mode: always off
|
||||||
42
boards/dimmer_output.yaml
Normal file
42
boards/dimmer_output.yaml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
output:
|
||||||
|
- platform: ledc
|
||||||
|
pin: 33
|
||||||
|
frequency: 1000Hz
|
||||||
|
inverted: false
|
||||||
|
id: chl01
|
||||||
|
- platform: ledc
|
||||||
|
pin: 32
|
||||||
|
frequency: 1000Hz
|
||||||
|
inverted: false
|
||||||
|
id: chl02
|
||||||
|
- platform: ledc
|
||||||
|
pin: 12
|
||||||
|
frequency: 1000Hz
|
||||||
|
inverted: false
|
||||||
|
id: chl03
|
||||||
|
- platform: ledc
|
||||||
|
pin: 14
|
||||||
|
frequency: 1000Hz
|
||||||
|
inverted: false
|
||||||
|
id: chl04
|
||||||
|
|
||||||
|
- platform: ledc
|
||||||
|
pin: 13
|
||||||
|
frequency: 1000Hz
|
||||||
|
inverted: false
|
||||||
|
id: chr01
|
||||||
|
- platform: ledc
|
||||||
|
pin: 15
|
||||||
|
frequency: 1000Hz
|
||||||
|
inverted: false
|
||||||
|
id: chr02
|
||||||
|
- platform: ledc
|
||||||
|
pin: 2
|
||||||
|
frequency: 1000Hz
|
||||||
|
inverted: false
|
||||||
|
id: chr03
|
||||||
|
- platform: ledc
|
||||||
|
pin: 17
|
||||||
|
frequency: 1000Hz
|
||||||
|
inverted: false
|
||||||
|
id: chr04
|
||||||
17
boards/output/out01_02.yaml
Normal file
17
boards/output/out01_02.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_01
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 15
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
- platform: gpio
|
||||||
|
id: out_02
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 14
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out03_04.yaml
Normal file
18
boards/output/out03_04.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_03
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 13
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_04
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 12
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out05_06.yaml
Normal file
18
boards/output/out05_06.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_05
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 11
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_06
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 10
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out07_08.yaml
Normal file
18
boards/output/out07_08.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_07
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 9
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_08
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 8
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out09_10.yaml
Normal file
18
boards/output/out09_10.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_09
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 15
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_10
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 14
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out11_12.yaml
Normal file
18
boards/output/out11_12.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_11
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 13
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_12
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 12
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out13_14.yaml
Normal file
18
boards/output/out13_14.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_13
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 11
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_14
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 10
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out15_16.yaml
Normal file
18
boards/output/out15_16.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_15
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 9
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_16
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 8
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out17_18.yaml
Normal file
18
boards/output/out17_18.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_17
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 0
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_18
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 1
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out19_20.yaml
Normal file
18
boards/output/out19_20.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_19
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 2
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_20
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 3
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out21_22.yaml
Normal file
18
boards/output/out21_22.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_21
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 4
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_22
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 5
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out23_24.yaml
Normal file
18
boards/output/out23_24.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_23
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 6
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_24
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_left
|
||||||
|
number: 7
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out25_26.yaml
Normal file
18
boards/output/out25_26.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_25
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 0
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_26
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 1
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out27_28.yaml
Normal file
18
boards/output/out27_28.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_27
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 2
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_28
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 3
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out29_30.yaml
Normal file
18
boards/output/out29_30.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_29
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 4
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_30
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 5
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
18
boards/output/out31_32.yaml
Normal file
18
boards/output/out31_32.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
id: out_31
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 6
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
|
|
||||||
|
- platform: gpio
|
||||||
|
id: out_32
|
||||||
|
pin:
|
||||||
|
pcf8574: pcf_right
|
||||||
|
number: 7
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: true
|
||||||
@@ -46,8 +46,9 @@ packages:
|
|||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -38,15 +38,16 @@ packages:
|
|||||||
'devices_v0_7/i2c.yaml',
|
'devices_v0_7/i2c.yaml',
|
||||||
'devices_v0_7-v0_9/ina219.yaml',
|
'devices_v0_7-v0_9/ina219.yaml',
|
||||||
'devices_v0_7-v0_9/lm75b.yaml',
|
'devices_v0_7-v0_9/lm75b.yaml',
|
||||||
'devices_v0_7-v0_9/pcf.yaml',
|
'devices_v0_7-v0_9/pcf_with_mcp.yaml',
|
||||||
'boards/24x16_output.yaml',
|
'boards/24x16_output.yaml',
|
||||||
# 'devices_v0_7-v0_9/one_wire.yaml',
|
# 'devices_v0_7-v0_9/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.4.0
|
ref: v1.6.0
|
||||||
files: [
|
files: [
|
||||||
'devices/buzzer.yaml',
|
'devices/buzzer.yaml',
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
@@ -40,15 +40,31 @@ packages:
|
|||||||
'devices_v0_5-v0_6/ina219.yaml',
|
'devices_v0_5-v0_6/ina219.yaml',
|
||||||
'devices_v0_5-v0_6/lm75b.yaml',
|
'devices_v0_5-v0_6/lm75b.yaml',
|
||||||
'devices_v0_5-v0_6/pcf.yaml',
|
'devices_v0_5-v0_6/pcf.yaml',
|
||||||
'boards/32x10_output.yaml',
|
'boards/output/out01_02.yaml',
|
||||||
|
'boards/output/out03_04.yaml',
|
||||||
|
'boards/output/out05_06.yaml',
|
||||||
|
'boards/output/out07_08.yaml',
|
||||||
|
'boards/output/out09_10.yaml',
|
||||||
|
'boards/output/out11_12.yaml',
|
||||||
|
'boards/output/out13_14.yaml',
|
||||||
|
'boards/output/out15_16.yaml',
|
||||||
|
'boards/output/out17_18.yaml',
|
||||||
|
'boards/output/out19_20.yaml',
|
||||||
|
'boards/output/out21_22.yaml',
|
||||||
|
'boards/output/out23_24.yaml',
|
||||||
|
'boards/output/out25_26.yaml',
|
||||||
|
'boards/output/out27_28.yaml',
|
||||||
|
'boards/output/out29_30.yaml',
|
||||||
|
'boards/output/out31_32.yaml',
|
||||||
# 'devices_v0_5-v0_6/one_wire.yaml',
|
# 'devices_v0_5-v0_6/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
baud_rate: 0 #IMPORTANT FOR V0.5-V0.6 TO GET MODBUS WORKING
|
baud_rate: 0 #IMPORTANT FOR V0.5-V0.6 TO GET MODBUS WORKING
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.2.0
|
ref: v1.6.0
|
||||||
files: [
|
files: [
|
||||||
'devices/buzzer.yaml',
|
'devices/buzzer.yaml',
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
@@ -39,7 +39,22 @@ packages:
|
|||||||
'devices_v0_7-v0_9/ina219.yaml',
|
'devices_v0_7-v0_9/ina219.yaml',
|
||||||
'devices_v0_7-v0_9/lm75b.yaml',
|
'devices_v0_7-v0_9/lm75b.yaml',
|
||||||
'devices_v0_7-v0_9/pcf.yaml',
|
'devices_v0_7-v0_9/pcf.yaml',
|
||||||
'boards/32x10_output.yaml',
|
'boards/output/out01_02.yaml',
|
||||||
|
'boards/output/out03_04.yaml',
|
||||||
|
'boards/output/out05_06.yaml',
|
||||||
|
'boards/output/out07_08.yaml',
|
||||||
|
'boards/output/out09_10.yaml',
|
||||||
|
'boards/output/out11_12.yaml',
|
||||||
|
'boards/output/out13_14.yaml',
|
||||||
|
'boards/output/out15_16.yaml',
|
||||||
|
'boards/output/out17_18.yaml',
|
||||||
|
'boards/output/out19_20.yaml',
|
||||||
|
'boards/output/out21_22.yaml',
|
||||||
|
'boards/output/out23_24.yaml',
|
||||||
|
'boards/output/out25_26.yaml',
|
||||||
|
'boards/output/out27_28.yaml',
|
||||||
|
'boards/output/out29_30.yaml',
|
||||||
|
'boards/output/out31_32.yaml',
|
||||||
# 'devices_v0_7-v0_9/one_wire.yaml',
|
# 'devices_v0_7-v0_9/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -47,11 +62,12 @@ logger:
|
|||||||
api:
|
api:
|
||||||
reboot_timeout: 0s
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
local: true
|
local: true
|
||||||
|
version: 3
|
||||||
|
|
||||||
time:
|
time:
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.2.0
|
ref: v1.6.0
|
||||||
files: [
|
files: [
|
||||||
'devices/buzzer.yaml',
|
'devices/buzzer.yaml',
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
@@ -39,7 +39,22 @@ packages:
|
|||||||
'devices_v0_7-v0_9/ina219.yaml',
|
'devices_v0_7-v0_9/ina219.yaml',
|
||||||
'devices_v0_7-v0_9/lm75b.yaml',
|
'devices_v0_7-v0_9/lm75b.yaml',
|
||||||
'devices_v0_7-v0_9/pcf.yaml',
|
'devices_v0_7-v0_9/pcf.yaml',
|
||||||
'boards/32x10_output.yaml',
|
'boards/output/out01_02.yaml',
|
||||||
|
'boards/output/out03_04.yaml',
|
||||||
|
'boards/output/out05_06.yaml',
|
||||||
|
'boards/output/out07_08.yaml',
|
||||||
|
'boards/output/out09_10.yaml',
|
||||||
|
'boards/output/out11_12.yaml',
|
||||||
|
'boards/output/out13_14.yaml',
|
||||||
|
'boards/output/out15_16.yaml',
|
||||||
|
'boards/output/out17_18.yaml',
|
||||||
|
'boards/output/out19_20.yaml',
|
||||||
|
'boards/output/out21_22.yaml',
|
||||||
|
'boards/output/out23_24.yaml',
|
||||||
|
'boards/output/out25_26.yaml',
|
||||||
|
'boards/output/out27_28.yaml',
|
||||||
|
'boards/output/out29_30.yaml',
|
||||||
|
'boards/output/out31_32.yaml',
|
||||||
# 'devices_v0_7-v0_9/one_wire.yaml',
|
# 'devices_v0_7-v0_9/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -47,7 +62,7 @@ logger:
|
|||||||
api:
|
api:
|
||||||
reboot_timeout: 0s
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.4.0
|
ref: v1.6.0
|
||||||
files: [
|
files: [
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
'devices_v0_4/display.yaml',
|
'devices_v0_4/display.yaml',
|
||||||
@@ -39,13 +39,29 @@ packages:
|
|||||||
'devices_v0_4/ina219.yaml',
|
'devices_v0_4/ina219.yaml',
|
||||||
'devices_v0_4/lm75b.yaml',
|
'devices_v0_4/lm75b.yaml',
|
||||||
'devices_v0_4/pcf.yaml',
|
'devices_v0_4/pcf.yaml',
|
||||||
'boards/32x10_output.yaml',
|
'boards/output/out01_02.yaml',
|
||||||
|
'boards/output/out03_04.yaml',
|
||||||
|
'boards/output/out05_06.yaml',
|
||||||
|
'boards/output/out07_08.yaml',
|
||||||
|
'boards/output/out09_10.yaml',
|
||||||
|
'boards/output/out11_12.yaml',
|
||||||
|
'boards/output/out13_14.yaml',
|
||||||
|
'boards/output/out15_16.yaml',
|
||||||
|
'boards/output/out17_18.yaml',
|
||||||
|
'boards/output/out19_20.yaml',
|
||||||
|
'boards/output/out21_22.yaml',
|
||||||
|
'boards/output/out23_24.yaml',
|
||||||
|
'boards/output/out25_26.yaml',
|
||||||
|
'boards/output/out27_28.yaml',
|
||||||
|
'boards/output/out29_30.yaml',
|
||||||
|
'boards/output/out31_32.yaml',
|
||||||
# 'devices_v0_4/time.yaml',
|
# 'devices_v0_4/time.yaml',
|
||||||
# 'devices_v0_7/one_wire.yaml',
|
# 'devices_v0_7/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
- platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.4.0
|
ref: v1.6.0
|
||||||
files: [
|
files: [
|
||||||
'devices/buzzer.yaml',
|
'devices/buzzer.yaml',
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
@@ -40,14 +40,30 @@ packages:
|
|||||||
'devices_v0_5-v0_6/ina219.yaml',
|
'devices_v0_5-v0_6/ina219.yaml',
|
||||||
'devices_v0_5-v0_6/lm75b.yaml',
|
'devices_v0_5-v0_6/lm75b.yaml',
|
||||||
'devices_v0_5-v0_6/pcf.yaml',
|
'devices_v0_5-v0_6/pcf.yaml',
|
||||||
'boards/32x10_output.yaml',
|
'boards/output/out01_02.yaml',
|
||||||
|
'boards/output/out03_04.yaml',
|
||||||
|
'boards/output/out05_06.yaml',
|
||||||
|
'boards/output/out07_08.yaml',
|
||||||
|
'boards/output/out09_10.yaml',
|
||||||
|
'boards/output/out11_12.yaml',
|
||||||
|
'boards/output/out13_14.yaml',
|
||||||
|
'boards/output/out15_16.yaml',
|
||||||
|
'boards/output/out17_18.yaml',
|
||||||
|
'boards/output/out19_20.yaml',
|
||||||
|
'boards/output/out21_22.yaml',
|
||||||
|
'boards/output/out23_24.yaml',
|
||||||
|
'boards/output/out25_26.yaml',
|
||||||
|
'boards/output/out27_28.yaml',
|
||||||
|
'boards/output/out29_30.yaml',
|
||||||
|
'boards/output/out31_32.yaml',
|
||||||
# 'devices_v0_5-v0_6/one_wire.yaml',
|
# 'devices_v0_5-v0_6/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.4.0
|
ref: v1.6.0
|
||||||
files: [
|
files: [
|
||||||
'devices/buzzer.yaml',
|
'devices/buzzer.yaml',
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
@@ -39,14 +39,30 @@ packages:
|
|||||||
'devices_v0_7-v0_9/ina219.yaml',
|
'devices_v0_7-v0_9/ina219.yaml',
|
||||||
'devices_v0_7-v0_9/lm75b.yaml',
|
'devices_v0_7-v0_9/lm75b.yaml',
|
||||||
'devices_v0_7-v0_9/pcf.yaml',
|
'devices_v0_7-v0_9/pcf.yaml',
|
||||||
'boards/32x10_output.yaml',
|
'boards/output/out01_02.yaml',
|
||||||
|
'boards/output/out03_04.yaml',
|
||||||
|
'boards/output/out05_06.yaml',
|
||||||
|
'boards/output/out07_08.yaml',
|
||||||
|
'boards/output/out09_10.yaml',
|
||||||
|
'boards/output/out11_12.yaml',
|
||||||
|
'boards/output/out13_14.yaml',
|
||||||
|
'boards/output/out15_16.yaml',
|
||||||
|
'boards/output/out17_18.yaml',
|
||||||
|
'boards/output/out19_20.yaml',
|
||||||
|
'boards/output/out21_22.yaml',
|
||||||
|
'boards/output/out23_24.yaml',
|
||||||
|
'boards/output/out25_26.yaml',
|
||||||
|
'boards/output/out27_28.yaml',
|
||||||
|
'boards/output/out29_30.yaml',
|
||||||
|
'boards/output/out31_32.yaml',
|
||||||
# 'devices_v0_7-v0_9/one_wire.yaml',
|
# 'devices_v0_7-v0_9/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ logger:
|
|||||||
api:
|
api:
|
||||||
reboot_timeout: 0s
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.4.0
|
ref: v1.6.0
|
||||||
files: [
|
files: [
|
||||||
'devices/buzzer.yaml',
|
'devices/buzzer.yaml',
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
@@ -40,14 +40,30 @@ packages:
|
|||||||
'devices_v0_5-v0_6/ina219.yaml',
|
'devices_v0_5-v0_6/ina219.yaml',
|
||||||
'devices_v0_5-v0_6/lm75b.yaml',
|
'devices_v0_5-v0_6/lm75b.yaml',
|
||||||
'devices_v0_5-v0_6/pcf.yaml',
|
'devices_v0_5-v0_6/pcf.yaml',
|
||||||
'boards/8_covers_16_output.yaml',
|
'boards/cover/out01_02.yaml',
|
||||||
|
'boards/cover/out03_04.yaml',
|
||||||
|
'boards/cover/out05_06.yaml',
|
||||||
|
'boards/cover/out07_08.yaml',
|
||||||
|
'boards/cover/out09_10.yaml',
|
||||||
|
'boards/cover/out11_12.yaml',
|
||||||
|
'boards/cover/out13_14.yaml',
|
||||||
|
'boards/cover/out15_16.yaml',
|
||||||
|
'boards/output/out17_18.yaml',
|
||||||
|
'boards/output/out19_20.yaml',
|
||||||
|
'boards/output/out21_22.yaml',
|
||||||
|
'boards/output/out23_24.yaml',
|
||||||
|
'boards/output/out25_26.yaml',
|
||||||
|
'boards/output/out27_28.yaml',
|
||||||
|
'boards/output/out29_30.yaml',
|
||||||
|
'boards/output/out31_32.yaml',
|
||||||
# 'devices_v0_5-v0_6/one_wire.yaml',
|
# 'devices_v0_5-v0_6/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.2.0
|
ref: v1.6.0
|
||||||
files: [
|
files: [
|
||||||
'devices/buzzer.yaml',
|
'devices/buzzer.yaml',
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
@@ -39,15 +39,30 @@ packages:
|
|||||||
'devices_v0_7-v0_9/ina219.yaml',
|
'devices_v0_7-v0_9/ina219.yaml',
|
||||||
'devices_v0_7-v0_9/lm75b.yaml',
|
'devices_v0_7-v0_9/lm75b.yaml',
|
||||||
'devices_v0_7-v0_9/pcf.yaml',
|
'devices_v0_7-v0_9/pcf.yaml',
|
||||||
'boards/32x10_output.yaml',
|
'boards/cover/out01_02.yaml',
|
||||||
'boards/8_covers_16_output.yaml',
|
'boards/cover/out03_04.yaml',
|
||||||
|
'boards/cover/out05_06.yaml',
|
||||||
|
'boards/cover/out07_08.yaml',
|
||||||
|
'boards/cover/out09_10.yaml',
|
||||||
|
'boards/cover/out11_12.yaml',
|
||||||
|
'boards/cover/out13_14.yaml',
|
||||||
|
'boards/cover/out15_16.yaml',
|
||||||
|
'boards/output/out17_18.yaml',
|
||||||
|
'boards/output/out19_20.yaml',
|
||||||
|
'boards/output/out21_22.yaml',
|
||||||
|
'boards/output/out23_24.yaml',
|
||||||
|
'boards/output/out25_26.yaml',
|
||||||
|
'boards/output/out27_28.yaml',
|
||||||
|
'boards/output/out29_30.yaml',
|
||||||
|
'boards/output/out31_32.yaml',
|
||||||
# 'devices_v0_7-v0_9/one_wire.yaml',
|
# 'devices_v0_7-v0_9/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.4.0
|
ref: v1.6.0
|
||||||
files: [
|
files: [
|
||||||
'devices/buzzer.yaml',
|
'devices/buzzer.yaml',
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
@@ -40,14 +40,30 @@ packages:
|
|||||||
'devices_v0_5-v0_6/ina219.yaml',
|
'devices_v0_5-v0_6/ina219.yaml',
|
||||||
'devices_v0_5-v0_6/lm75b.yaml',
|
'devices_v0_5-v0_6/lm75b.yaml',
|
||||||
'devices_v0_5-v0_6/pcf.yaml',
|
'devices_v0_5-v0_6/pcf.yaml',
|
||||||
'boards/8_covers_16_output.yaml',
|
'boards/cover/out01_02.yaml',
|
||||||
|
'boards/cover/out03_04.yaml',
|
||||||
|
'boards/cover/out05_06.yaml',
|
||||||
|
'boards/cover/out07_08.yaml',
|
||||||
|
'boards/cover/out09_10.yaml',
|
||||||
|
'boards/cover/out11_12.yaml',
|
||||||
|
'boards/cover/out13_14.yaml',
|
||||||
|
'boards/cover/out15_16.yaml',
|
||||||
|
'boards/output/out17_18.yaml',
|
||||||
|
'boards/output/out19_20.yaml',
|
||||||
|
'boards/output/out21_22.yaml',
|
||||||
|
'boards/output/out23_24.yaml',
|
||||||
|
'boards/output/out25_26.yaml',
|
||||||
|
'boards/output/out27_28.yaml',
|
||||||
|
'boards/output/out29_30.yaml',
|
||||||
|
'boards/output/out31_32.yaml',
|
||||||
# 'devices_v0_7/one_wire.yaml',
|
# 'devices_v0_7/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.2.0
|
ref: v1.6.0
|
||||||
files: [
|
files: [
|
||||||
'devices/buzzer.yaml',
|
'devices/buzzer.yaml',
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
@@ -39,14 +39,30 @@ packages:
|
|||||||
'devices_v0_7-v0_9/ina219.yaml',
|
'devices_v0_7-v0_9/ina219.yaml',
|
||||||
'devices_v0_7-v0_9/lm75b.yaml',
|
'devices_v0_7-v0_9/lm75b.yaml',
|
||||||
'devices_v0_7-v0_9/pcf.yaml',
|
'devices_v0_7-v0_9/pcf.yaml',
|
||||||
'boards/8_covers_16_output.yaml',
|
'boards/cover/out01_02.yaml',
|
||||||
|
'boards/cover/out03_04.yaml',
|
||||||
|
'boards/cover/out05_06.yaml',
|
||||||
|
'boards/cover/out07_08.yaml',
|
||||||
|
'boards/cover/out09_10.yaml',
|
||||||
|
'boards/cover/out11_12.yaml',
|
||||||
|
'boards/cover/out13_14.yaml',
|
||||||
|
'boards/cover/out15_16.yaml',
|
||||||
|
'boards/output/out17_18.yaml',
|
||||||
|
'boards/output/out19_20.yaml',
|
||||||
|
'boards/output/out21_22.yaml',
|
||||||
|
'boards/output/out23_24.yaml',
|
||||||
|
'boards/output/out25_26.yaml',
|
||||||
|
'boards/output/out27_28.yaml',
|
||||||
|
'boards/output/out29_30.yaml',
|
||||||
|
'boards/output/out31_32.yaml',
|
||||||
# 'devices_v0_7-v0_9/one_wire.yaml',
|
# 'devices_v0_7-v0_9/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.4.0
|
ref: v1.6.0
|
||||||
files: [
|
files: [
|
||||||
'devices/buzzer.yaml',
|
'devices/buzzer.yaml',
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
@@ -40,14 +40,30 @@ packages:
|
|||||||
'devices_v0_5-v0_6/ina219.yaml',
|
'devices_v0_5-v0_6/ina219.yaml',
|
||||||
'devices_v0_5-v0_6/lm75b.yaml',
|
'devices_v0_5-v0_6/lm75b.yaml',
|
||||||
'devices_v0_5-v0_6/pcf.yaml',
|
'devices_v0_5-v0_6/pcf.yaml',
|
||||||
'boards/16_cover_pcf.yaml',
|
'boards/cover/out01_02.yaml',
|
||||||
|
'boards/cover/out03_04.yaml',
|
||||||
|
'boards/cover/out05_06.yaml',
|
||||||
|
'boards/cover/out07_08.yaml',
|
||||||
|
'boards/cover/out09_10.yaml',
|
||||||
|
'boards/cover/out11_12.yaml',
|
||||||
|
'boards/cover/out13_14.yaml',
|
||||||
|
'boards/cover/out15_16.yaml',
|
||||||
|
'boards/cover/out17_18.yaml',
|
||||||
|
'boards/cover/out19_20.yaml',
|
||||||
|
'boards/cover/out21_22.yaml',
|
||||||
|
'boards/cover/out23_24.yaml',
|
||||||
|
'boards/cover/out25_26.yaml',
|
||||||
|
'boards/cover/out27_28.yaml',
|
||||||
|
'boards/cover/out29_30.yaml',
|
||||||
|
'boards/cover/out31_32.yaml',
|
||||||
# 'devices_v0_5-v0_6/one_wire.yaml',
|
# 'devices_v0_5-v0_6/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ dashboard_import:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.2.0
|
ref: v1.6.0
|
||||||
files: [
|
files: [
|
||||||
'devices/buzzer.yaml',
|
'devices/buzzer.yaml',
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
@@ -39,14 +39,30 @@ packages:
|
|||||||
'devices_v0_7-v0_9/ina219.yaml',
|
'devices_v0_7-v0_9/ina219.yaml',
|
||||||
'devices_v0_7-v0_9/lm75b.yaml',
|
'devices_v0_7-v0_9/lm75b.yaml',
|
||||||
'devices_v0_7-v0_9/pcf.yaml',
|
'devices_v0_7-v0_9/pcf.yaml',
|
||||||
'boards/16_cover_pcf.yaml',
|
'boards/cover/out01_02.yaml',
|
||||||
|
'boards/cover/out03_04.yaml',
|
||||||
|
'boards/cover/out05_06.yaml',
|
||||||
|
'boards/cover/out07_08.yaml',
|
||||||
|
'boards/cover/out09_10.yaml',
|
||||||
|
'boards/cover/out11_12.yaml',
|
||||||
|
'boards/cover/out13_14.yaml',
|
||||||
|
'boards/cover/out15_16.yaml',
|
||||||
|
'boards/cover/out17_18.yaml',
|
||||||
|
'boards/cover/out19_20.yaml',
|
||||||
|
'boards/cover/out21_22.yaml',
|
||||||
|
'boards/cover/out23_24.yaml',
|
||||||
|
'boards/cover/out25_26.yaml',
|
||||||
|
'boards/cover/out27_28.yaml',
|
||||||
|
'boards/cover/out29_30.yaml',
|
||||||
|
'boards/cover/out31_32.yaml',
|
||||||
# 'devices_v0_7-v0_9/one_wire.yaml',
|
# 'devices_v0_7-v0_9/one_wire.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -21,12 +21,13 @@ external_components:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.4.0
|
ref: v1.5.0
|
||||||
files:
|
files:
|
||||||
[
|
[
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
'devices/dimmer_i2c.yaml',
|
'devices/dimmer_i2c.yaml',
|
||||||
'devices/dimmer_ina219.yaml',
|
'devices/dimmer_ina219.yaml',
|
||||||
|
'boards/dimmer_output.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
ethernet:
|
ethernet:
|
||||||
@@ -48,8 +49,9 @@ pcf8574:
|
|||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
@@ -134,49 +136,6 @@ binary_sensor:
|
|||||||
input: true
|
input: true
|
||||||
inverted: true
|
inverted: true
|
||||||
|
|
||||||
output:
|
|
||||||
- platform: ledc
|
|
||||||
pin: 33
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chl01
|
|
||||||
- platform: ledc
|
|
||||||
pin: 32
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chl02
|
|
||||||
- platform: ledc
|
|
||||||
pin: 12
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chl03
|
|
||||||
- platform: ledc
|
|
||||||
pin: 14
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chl04
|
|
||||||
|
|
||||||
- platform: ledc
|
|
||||||
pin: 13
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chr01
|
|
||||||
- platform: ledc
|
|
||||||
pin: 15
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chr02
|
|
||||||
- platform: ledc
|
|
||||||
pin: 2
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chr03
|
|
||||||
- platform: ledc
|
|
||||||
pin: 17
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chr04
|
|
||||||
|
|
||||||
light:
|
light:
|
||||||
- platform: rgbw
|
- platform: rgbw
|
||||||
name: 'RGBW L'
|
name: 'RGBW L'
|
||||||
|
|||||||
@@ -21,12 +21,13 @@ external_components:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.4.0
|
ref: v1.5.0
|
||||||
files:
|
files:
|
||||||
[
|
[
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
'devices/dimmer_i2c.yaml',
|
'devices/dimmer_i2c.yaml',
|
||||||
'devices/dimmer_ina219.yaml',
|
'devices/dimmer_ina219.yaml',
|
||||||
|
'boards/dimmer_output.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
ethernet:
|
ethernet:
|
||||||
@@ -48,8 +49,9 @@ pcf8574:
|
|||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
@@ -134,49 +136,6 @@ binary_sensor:
|
|||||||
input: true
|
input: true
|
||||||
inverted: true
|
inverted: true
|
||||||
|
|
||||||
output:
|
|
||||||
- platform: ledc
|
|
||||||
pin: 33
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chl01
|
|
||||||
- platform: ledc
|
|
||||||
pin: 32
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chl02
|
|
||||||
- platform: ledc
|
|
||||||
pin: 12
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chl03
|
|
||||||
- platform: ledc
|
|
||||||
pin: 14
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chl04
|
|
||||||
|
|
||||||
- platform: ledc
|
|
||||||
pin: 13
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chr01
|
|
||||||
- platform: ledc
|
|
||||||
pin: 15
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chr02
|
|
||||||
- platform: ledc
|
|
||||||
pin: 2
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chr03
|
|
||||||
- platform: ledc
|
|
||||||
pin: 17
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chr04
|
|
||||||
|
|
||||||
light:
|
light:
|
||||||
- platform: cwww
|
- platform: cwww
|
||||||
name: 'CHL_01_02'
|
name: 'CHL_01_02'
|
||||||
|
|||||||
@@ -21,12 +21,13 @@ external_components:
|
|||||||
packages:
|
packages:
|
||||||
internals_packages:
|
internals_packages:
|
||||||
url: https://github.com/boneIO-eu/esphome
|
url: https://github.com/boneIO-eu/esphome
|
||||||
ref: v1.4.0
|
ref: v1.5.0
|
||||||
files:
|
files:
|
||||||
[
|
[
|
||||||
'devices/serial_no.yaml',
|
'devices/serial_no.yaml',
|
||||||
'devices/dimmer_i2c.yaml',
|
'devices/dimmer_i2c.yaml',
|
||||||
'devices/dimmer_ina219.yaml',
|
'devices/dimmer_ina219.yaml',
|
||||||
|
'boards/dimmer_output.yaml',
|
||||||
]
|
]
|
||||||
|
|
||||||
ethernet:
|
ethernet:
|
||||||
@@ -48,8 +49,9 @@ pcf8574:
|
|||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
@@ -75,107 +77,304 @@ text_sensor:
|
|||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_01'
|
name: 'IN_01'
|
||||||
|
id: in_01
|
||||||
pin:
|
pin:
|
||||||
pcf8574: pcf_inputs
|
pcf8574: pcf_inputs
|
||||||
number: 1
|
number: 1
|
||||||
mode:
|
mode:
|
||||||
input: true
|
input: true
|
||||||
inverted: true
|
inverted: true
|
||||||
|
on_multi_click:
|
||||||
|
- timing:
|
||||||
|
- ON for at least 0.7s
|
||||||
|
then:
|
||||||
|
- while:
|
||||||
|
condition:
|
||||||
|
binary_sensor.is_on: in_01
|
||||||
|
then:
|
||||||
|
- if:
|
||||||
|
condition:
|
||||||
|
lambda: 'return id(chl_01).current_values.get_brightness() >= 0.90f;'
|
||||||
|
then:
|
||||||
|
- light.turn_on:
|
||||||
|
id: chl_01
|
||||||
|
brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
else:
|
||||||
|
- light.dim_relative:
|
||||||
|
id: chl_01
|
||||||
|
relative_brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
- delay: 200ms
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
|
- timing: #single click
|
||||||
|
- ON for at most 0.4s
|
||||||
|
- OFF for at least 0.1s
|
||||||
|
then:
|
||||||
|
light.toggle: chl_01
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_02'
|
name: 'IN_02'
|
||||||
|
id: in_02
|
||||||
pin:
|
pin:
|
||||||
pcf8574: pcf_inputs
|
pcf8574: pcf_inputs
|
||||||
number: 2
|
number: 2
|
||||||
mode:
|
mode:
|
||||||
input: true
|
input: true
|
||||||
inverted: true
|
inverted: true
|
||||||
|
on_multi_click:
|
||||||
|
- timing:
|
||||||
|
- ON for at least 0.7s
|
||||||
|
then:
|
||||||
|
- while:
|
||||||
|
condition:
|
||||||
|
binary_sensor.is_on: in_02
|
||||||
|
then:
|
||||||
|
- if:
|
||||||
|
condition:
|
||||||
|
lambda: 'return id(chl_02).current_values.get_brightness() >= 0.90f;'
|
||||||
|
then:
|
||||||
|
- light.turn_on:
|
||||||
|
id: chl_02
|
||||||
|
brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
else:
|
||||||
|
- light.dim_relative:
|
||||||
|
id: chl_02
|
||||||
|
relative_brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
- delay: 200ms
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
|
- timing: #single click
|
||||||
|
- ON for at most 0.4s
|
||||||
|
- OFF for at least 0.1s
|
||||||
|
then:
|
||||||
|
light.toggle: chl_02
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_03'
|
name: 'IN_03'
|
||||||
|
id: in_03
|
||||||
pin:
|
pin:
|
||||||
pcf8574: pcf_inputs
|
pcf8574: pcf_inputs
|
||||||
number: 3
|
number: 3
|
||||||
mode:
|
mode:
|
||||||
input: true
|
input: true
|
||||||
inverted: true
|
inverted: true
|
||||||
|
on_multi_click:
|
||||||
|
- timing:
|
||||||
|
- ON for at least 0.7s
|
||||||
|
then:
|
||||||
|
- while:
|
||||||
|
condition:
|
||||||
|
binary_sensor.is_on: in_03
|
||||||
|
then:
|
||||||
|
- if:
|
||||||
|
condition:
|
||||||
|
lambda: 'return id(chl_03).current_values.get_brightness() >= 0.90f;'
|
||||||
|
then:
|
||||||
|
- light.turn_on:
|
||||||
|
id: chl_03
|
||||||
|
brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
else:
|
||||||
|
- light.dim_relative:
|
||||||
|
id: chl_03
|
||||||
|
relative_brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
- delay: 200ms
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
|
- timing: #single click
|
||||||
|
- ON for at most 0.4s
|
||||||
|
- OFF for at least 0.1s
|
||||||
|
then:
|
||||||
|
light.toggle: chl_03
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_04'
|
name: 'IN_04'
|
||||||
|
id: in_04
|
||||||
pin:
|
pin:
|
||||||
pcf8574: pcf_inputs
|
pcf8574: pcf_inputs
|
||||||
number: 4
|
number: 4
|
||||||
mode:
|
mode:
|
||||||
input: true
|
input: true
|
||||||
inverted: true
|
inverted: true
|
||||||
|
on_multi_click:
|
||||||
|
- timing:
|
||||||
|
- ON for at least 0.7s
|
||||||
|
then:
|
||||||
|
- while:
|
||||||
|
condition:
|
||||||
|
binary_sensor.is_on: in_04
|
||||||
|
then:
|
||||||
|
- if:
|
||||||
|
condition:
|
||||||
|
lambda: 'return id(chl_04).current_values.get_brightness() >= 0.90f;'
|
||||||
|
then:
|
||||||
|
- light.turn_on:
|
||||||
|
id: chl_04
|
||||||
|
brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
else:
|
||||||
|
- light.dim_relative:
|
||||||
|
id: chl_04
|
||||||
|
relative_brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
- delay: 200ms
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
|
- timing: #single click
|
||||||
|
- ON for at most 0.4s
|
||||||
|
- OFF for at least 0.1s
|
||||||
|
then:
|
||||||
|
light.toggle: chl_04
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_05'
|
name: 'IN_05'
|
||||||
|
id: in_05
|
||||||
pin:
|
pin:
|
||||||
number: 36
|
number: 36
|
||||||
mode:
|
mode:
|
||||||
input: true
|
input: true
|
||||||
inverted: true
|
inverted: true
|
||||||
|
on_multi_click:
|
||||||
|
- timing:
|
||||||
|
- ON for at least 0.7s
|
||||||
|
then:
|
||||||
|
- while:
|
||||||
|
condition:
|
||||||
|
binary_sensor.is_on: in_05
|
||||||
|
then:
|
||||||
|
- if:
|
||||||
|
condition:
|
||||||
|
lambda: 'return id(chr_01).current_values.get_brightness() >= 0.90f;'
|
||||||
|
then:
|
||||||
|
- light.turn_on:
|
||||||
|
id: chr_01
|
||||||
|
brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
else:
|
||||||
|
- light.dim_relative:
|
||||||
|
id: chr_01
|
||||||
|
relative_brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
- delay: 200ms
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
|
- timing: #single click
|
||||||
|
- ON for at most 0.4s
|
||||||
|
- OFF for at least 0.1s
|
||||||
|
then:
|
||||||
|
light.toggle: chr_01
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_06'
|
name: 'IN_06'
|
||||||
|
id: in_06
|
||||||
pin:
|
pin:
|
||||||
number: 39
|
number: 39
|
||||||
mode:
|
mode:
|
||||||
input: true
|
input: true
|
||||||
inverted: true
|
inverted: true
|
||||||
|
on_multi_click:
|
||||||
|
- timing:
|
||||||
|
- ON for at least 0.7s
|
||||||
|
then:
|
||||||
|
- while:
|
||||||
|
condition:
|
||||||
|
binary_sensor.is_on: in_06
|
||||||
|
then:
|
||||||
|
- if:
|
||||||
|
condition:
|
||||||
|
lambda: 'return id(chr_02).current_values.get_brightness() >= 0.90f;'
|
||||||
|
then:
|
||||||
|
- light.turn_on:
|
||||||
|
id: chr_02
|
||||||
|
brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
else:
|
||||||
|
- light.dim_relative:
|
||||||
|
id: chr_02
|
||||||
|
relative_brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
- delay: 200ms
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
|
- timing: #single click
|
||||||
|
- ON for at most 0.4s
|
||||||
|
- OFF for at least 0.1s
|
||||||
|
then:
|
||||||
|
light.toggle: chr_02
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_07'
|
name: 'IN_07'
|
||||||
|
id: in_07
|
||||||
pin:
|
pin:
|
||||||
number: 34
|
number: 34
|
||||||
mode:
|
mode:
|
||||||
input: true
|
input: true
|
||||||
inverted: true
|
inverted: true
|
||||||
|
on_multi_click:
|
||||||
|
- timing:
|
||||||
|
- ON for at least 0.7s
|
||||||
|
then:
|
||||||
|
- while:
|
||||||
|
condition:
|
||||||
|
binary_sensor.is_on: in_07
|
||||||
|
then:
|
||||||
|
- if:
|
||||||
|
condition:
|
||||||
|
lambda: 'return id(chr_03).current_values.get_brightness() >= 0.90f;'
|
||||||
|
then:
|
||||||
|
- light.turn_on:
|
||||||
|
id: chr_03
|
||||||
|
brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
else:
|
||||||
|
- light.dim_relative:
|
||||||
|
id: chr_03
|
||||||
|
relative_brightness: 5%
|
||||||
|
transition_length: 0.2s
|
||||||
|
- delay: 200ms
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
|
- timing: #single click
|
||||||
|
- ON for at most 0.4s
|
||||||
|
- OFF for at least 0.1s
|
||||||
|
then:
|
||||||
|
light.toggle: chr_03
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_08'
|
name: 'IN_08'
|
||||||
|
id: in_08
|
||||||
pin:
|
pin:
|
||||||
number: 35
|
number: 35
|
||||||
mode:
|
mode:
|
||||||
input: true
|
input: true
|
||||||
inverted: true
|
inverted: true
|
||||||
|
on_multi_click:
|
||||||
output:
|
- timing:
|
||||||
- platform: ledc
|
- ON for at least 0.7s
|
||||||
pin: 33
|
then:
|
||||||
frequency: 1000Hz
|
- while:
|
||||||
inverted: false
|
condition:
|
||||||
id: chl01
|
binary_sensor.is_on: in_08
|
||||||
- platform: ledc
|
then:
|
||||||
pin: 32
|
- if:
|
||||||
frequency: 1000Hz
|
condition:
|
||||||
inverted: false
|
lambda: 'return id(chr_04).current_values.get_brightness() >= 0.90f;'
|
||||||
id: chl02
|
then:
|
||||||
- platform: ledc
|
- light.turn_on:
|
||||||
pin: 12
|
id: chr_04
|
||||||
frequency: 1000Hz
|
brightness: 5%
|
||||||
inverted: false
|
transition_length: 0.2s
|
||||||
id: chl03
|
else:
|
||||||
- platform: ledc
|
- light.dim_relative:
|
||||||
pin: 14
|
id: chr_04
|
||||||
frequency: 1000Hz
|
relative_brightness: 5%
|
||||||
inverted: false
|
transition_length: 0.2s
|
||||||
id: chl04
|
- delay: 200ms
|
||||||
|
invalid_cooldown: 0.5s
|
||||||
- platform: ledc
|
- timing: #single click
|
||||||
pin: 13
|
- ON for at most 0.4s
|
||||||
frequency: 1000Hz
|
- OFF for at least 0.1s
|
||||||
inverted: false
|
then:
|
||||||
id: chr01
|
light.toggle: chr_04
|
||||||
- platform: ledc
|
invalid_cooldown: 0.5s
|
||||||
pin: 15
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chr02
|
|
||||||
- platform: ledc
|
|
||||||
pin: 2
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chr03
|
|
||||||
- platform: ledc
|
|
||||||
pin: 17
|
|
||||||
frequency: 1000Hz
|
|
||||||
inverted: false
|
|
||||||
id: chr04
|
|
||||||
|
|
||||||
light:
|
light:
|
||||||
- platform: monochromatic
|
- platform: monochromatic
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ logger:
|
|||||||
api:
|
api:
|
||||||
reboot_timeout: 0s
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -45,8 +45,9 @@ packages:
|
|||||||
|
|
||||||
logger:
|
logger:
|
||||||
api:
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
ota:
|
ota:
|
||||||
platform: esphome
|
- platform: esphome
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ firmware_destination = "../website/public/esp/firmware"
|
|||||||
def json_pattern(firmware_name):
|
def json_pattern(firmware_name):
|
||||||
return {
|
return {
|
||||||
"name": "ESPHome",
|
"name": "ESPHome",
|
||||||
"version": "2024.5.0",
|
"version": "2024.10.1",
|
||||||
"home_assistant_domain": "esphome",
|
"home_assistant_domain": "esphome",
|
||||||
"funding_url": "https://esphome.io/guides/supporters.html",
|
"funding_url": "https://esphome.io/guides/supporters.html",
|
||||||
"new_install_prompt_erase": False,
|
"new_install_prompt_erase": False,
|
||||||
@@ -56,11 +56,15 @@ for file in glob.glob("*.yaml"):
|
|||||||
print("No file found.")
|
print("No file found.")
|
||||||
break
|
break
|
||||||
firmware_path = f"{cwd}/.esphome/build/{filename}/.pioenvs/{filename}/firmware.factory.bin"
|
firmware_path = f"{cwd}/.esphome/build/{filename}/.pioenvs/{filename}/firmware.factory.bin"
|
||||||
print("CWD", cwd)
|
cmd = f'docker run --rm -p 6052:6052 -v "{cwd}":/config -it ghcr.io/esphome/esphome compile {file}'
|
||||||
subprocess.run(
|
print(cmd)
|
||||||
f'docker run --rm -p 6052:6052 -v "{cwd}":/config -it ghcr.io/esphome/esphome compile {file}',
|
result = subprocess.run(
|
||||||
|
cmd,
|
||||||
shell=True,
|
shell=True,
|
||||||
)
|
)
|
||||||
|
if result.returncode != 0:
|
||||||
|
print("Process failed, breaking.")
|
||||||
|
break
|
||||||
shutil.copyfile(firmware_path, f"{firmware_destination}/{filename}.bin")
|
shutil.copyfile(firmware_path, f"{firmware_destination}/{filename}.bin")
|
||||||
|
|
||||||
with open(
|
with open(
|
||||||
|
|||||||
Reference in New Issue
Block a user