garten update

This commit is contained in:
Martin Bauer
2024-02-11 18:15:47 +01:00
parent df24953b64
commit 7c42447f44
4 changed files with 213 additions and 115 deletions

View File

@@ -49,11 +49,13 @@ ethernet:
power_pin: GPIO12
uart:
- id: "uart_dmx"
rx_pin: 0
tx_pin: 1 # the pin where the transmission happens connected to tx (not reversed)
stop_bits: 2
baud_rate: 250000
#- id: "uart_dmx"
#rx_pin: 0
#tx_pin:
#number: 1 # the pin where the transmission happens connected to tx (not reversed)
#allow_other_uses: true
#stop_bits: 2
#baud_rate: 250000
- id: uart_relays
rx_pin: 2
tx_pin: 3
@@ -200,54 +202,14 @@ packages:
# skip_updates: true
dmx512:
id: dmx1
uart_id: uart_dmx
tx_pin: 1
uart_num: 0
periodic_update: true
output:
- platform: dmx512
channel: 1
universe: dmx1
id: pool_licht_r
- platform: dmx512
channel: 2
universe: dmx1
id: pool_licht_g
- platform: dmx512
channel: 3
universe: dmx1
id: pool_licht_b
- platform: dmx512
channel: 4
universe: dmx1
id: magnolie_links_r
- platform: dmx512
channel: 5
universe: dmx1
id: magnolie_links_g
- platform: dmx512
channel: 6
universe: dmx1
id: magnolie_links_b
light:
- platform: rgb
name: pool_licht
red: pool_licht_r
green: pool_licht_g
blue: pool_licht_b
default_transition_length: 0s
restore_mode: RESTORE_DEFAULT_OFF
- platform: rgb
name: magnolie_links
red: magnolie_links_r
green: magnolie_links_g
blue: magnolie_links_b
default_transition_length: 0s
restore_mode: RESTORE_DEFAULT_OFF
#dmx512:
# id: dmx1
# uart_id: uart_dmx
# tx_pin:
# number: 1
# allow_other_uses: true
# uart_num: 0
# periodic_update: true
# ----------------------- Oxilife ------------------------------