This commit is contained in:
2024-10-13 22:59:09 +02:00
parent 63fb7f8f73
commit e426efb80f
107 changed files with 20616 additions and 5533 deletions

View File

@@ -11,4 +11,5 @@ ethernet:
gateway: ${gateway}
subnet: ${subnet}
dns1: ${dns1}
dns2: ${dns2}
dns2: ${dns2}
#use_address: 192.168.2.235 #when changing fixed IP

View File

@@ -0,0 +1,6 @@
i2c:
- id: bus_a
sda: ${pin_sda}
scl: ${pin_scl}
frequency: 50kHz
scan: true

View File

@@ -0,0 +1,17 @@
---
i2c:
- id: bus_a
sda: ${pin_sda_a}
scl: ${pin_scl_a}
scan: false
sda_pullup_enabled: true
scl_pullup_enabled: true
frequency: 100kHz
- sda: ${pin_sda_b}
scl: ${pin_scl_b}
scan: false
sda_pullup_enabled: true
scl_pullup_enabled: true
frequency: 50kHz
id: bus_b

View File

@@ -0,0 +1,31 @@
---
switch:
- platform: gpio
id: enable_ir
name: "IR Power"
pin:
number: GPIO44
inverted: true
restore_mode: ALWAYS_ON
remote_receiver:
id: rcvr
pin:
number: 38
inverted: true
dump: all
rmt_channel: 4
memory_blocks: 4
# on_pronto:
# then:
# - lambda: 'id(ir_signals_vector).push_back(x.data);'
# - component.update: s3_box_lcd
remote_transmitter:
id: irtx
pin:
number: 39
inverted: false
carrier_duty_percent: 50%
rmt_channel: 0