esphome: name: garten_rs485_controller2 esp32: board: wt32-eth01 framework: type: arduino api: encryption: key: !secret api_encryption_key # Enable logging logger: ethernet: type: LAN8720 mdc_pin: GPIO23 mdio_pin: GPIO18 clk_mode: GPIO0_IN phy_addr: 1 power_pin: GPIO16 #manual_ip: # static_ip: 192.168.178.62 # gateway: 192.168.178.1 # subnet: 255.255.255.0 ota: password: !secret ota_password external_components: - source: type: git url: "https://github.com/andyboeh/esphome-dmx512" ref: master uart: #- id: "uart_dmx1" # rx_pin: 2 # tx_pin: 4 # the pin where the transmission happens connected to tx (not reversed) # stop_bits: 2 # baud_rate: 250000 - id: "uart_dmx2" rx_pin: 17 tx_pin: 5 stop_bits: 2 baud_rate: 250000 #- id: "uart_dmx3" # rx_pin: 14 # tx_pin: 15 # stop_bits: 2 # baud_rate: 250000 #------------------- DMX 1 ----------------------- dmx512: #- id: dmx1 # uart_id: uart_dmx1 # tx_pin: 4 # uart_num: 0 # periodic_update: true # force_full_frames: true # #update_interval: 100 # custom_break_len: 176 - id: dmx2 uart_id: uart_dmx2 tx_pin: 5 uart_num: 1 periodic_update: true #custom_break_len: 176 #custom_break_len: 176 #- id: dmx3 # uart_id: uart_dmx3 # tx_pin: 15 # uart_num: 2 # periodic_update: true output: - platform: dmx512 channel: 1 universe: dmx2 id: pool_licht_r - platform: dmx512 channel: 2 universe: dmx2 id: pool_licht_g - platform: dmx512 channel: 3 universe: dmx2 id: pool_licht_b - platform: dmx512 channel: 4 universe: dmx2 id: magnolie_links_r - platform: dmx512 channel: 5 universe: dmx2 id: magnolie_links_g - platform: dmx512 channel: 6 universe: dmx2 id: magnolie_links_b - platform: dmx512 channel: 7 universe: dmx2 id: magnolie_rechts_r - platform: dmx512 channel: 8 universe: dmx2 id: magnolie_rechts_g - platform: dmx512 channel: 9 universe: dmx2 id: magnolie_rechts_b - platform: dmx512 channel: 10 universe: dmx2 id: suedseite1_r - platform: dmx512 channel: 11 universe: dmx2 id: suedseite1_g - platform: dmx512 channel: 12 universe: dmx2 id: suedseite1_b - platform: dmx512 channel: 13 universe: dmx2 id: suedseite2_r - platform: dmx512 channel: 14 universe: dmx2 id: suedseite2_g - platform: dmx512 channel: 15 universe: dmx2 id: suedseite2_b - platform: dmx512 channel: 16 universe: dmx2 id: suedseite3_r - platform: dmx512 channel: 17 universe: dmx2 id: suedseite3_g - platform: dmx512 channel: 18 universe: dmx2 id: suedseite3_b - platform: dmx512 channel: 19 universe: dmx2 id: suedseite4_r - platform: dmx512 channel: 20 universe: dmx2 id: suedseite4_g - platform: dmx512 channel: 21 universe: dmx2 id: suedseite4_b - platform: dmx512 channel: 22 universe: dmx2 id: suedseite5_r - platform: dmx512 channel: 23 universe: dmx2 id: suedseite5_g - platform: dmx512 channel: 24 universe: dmx2 id: suedseite5_b - platform: dmx512 channel: 25 universe: dmx2 id: suedseite6_r - platform: dmx512 channel: 26 universe: dmx2 id: suedseite6_g - platform: dmx512 channel: 27 universe: dmx2 id: suedseite6_b light: - platform: rgb name: pool_licht red: pool_licht_r green: pool_licht_g blue: pool_licht_b restore_mode: RESTORE_DEFAULT_OFF - platform: rgb name: magnolie_links red: magnolie_links_r green: magnolie_links_g blue: magnolie_links_b restore_mode: RESTORE_DEFAULT_OFF - platform: rgb name: magnolie_rechts red: magnolie_rechts_r green: magnolie_rechts_g blue: magnolie_rechts_b restore_mode: RESTORE_DEFAULT_OFF - platform: rgb name: suedseite1 red: suedseite1_r green: suedseite1_g blue: suedseite1_b restore_mode: RESTORE_DEFAULT_OFF - platform: rgb name: suedseite2 red: suedseite2_r green: suedseite2_g blue: suedseite2_b restore_mode: RESTORE_DEFAULT_OFF - platform: rgb name: suedseite3 red: suedseite3_r green: suedseite3_g blue: suedseite3_b restore_mode: RESTORE_DEFAULT_OFF - platform: rgb name: suedseite4 red: suedseite4_r green: suedseite4_g blue: suedseite4_b restore_mode: RESTORE_DEFAULT_OFF - platform: rgb name: suedseite5 red: suedseite5_r green: suedseite5_g blue: suedseite5_b restore_mode: RESTORE_DEFAULT_OFF - platform: rgb name: suedseite6 red: suedseite6_r green: suedseite6_g blue: suedseite6_b restore_mode: RESTORE_DEFAULT_OFF # Light1: 1, 2,3 # Light2: 4, 5, 6 # Light3: 7, 8, 9 # Light4: 10, 11, 12 # LiGht5: 13, 14, 15