Updated example yaml file
This commit is contained in:
parent
38171be623
commit
da31b6bc03
|
|
@ -4,15 +4,8 @@ substitutions:
|
|||
|
||||
pin_rx_hp: GPIO4 # heatpump reads data (RX) on this pin
|
||||
pin_tx_hp: GPIO3 # heatpump sends data (TX) on this pin
|
||||
pin_tx_cz: GPIO1 # WiFi module sends data (TX) on this pin
|
||||
pin_rx_cz: GPIO0 # WiFi module reads data (RX) on this pin
|
||||
|
||||
# CN-CNT Pinout (from top to bottom)
|
||||
# 1 - +5V (250mA)
|
||||
# 2 - 0-5V TX (from heatpump)
|
||||
# 3 - 0-5V RX (to heatpump)
|
||||
# 4 - +12V (250mA)
|
||||
# 5 - GND
|
||||
pin_tx_wm: GPIO1 # WiFi module sends data (TX) on this pin
|
||||
pin_rx_wm: GPIO0 # WiFi module reads data (RX) on this pin
|
||||
|
||||
esp32:
|
||||
board: esp32-c3-devkitm-1
|
||||
|
|
@ -53,16 +46,16 @@ improv_serial:
|
|||
logger:
|
||||
|
||||
uart:
|
||||
- id: uart_heat
|
||||
- id: uart_heatpump
|
||||
tx_pin: $pin_rx_hp
|
||||
rx_pin: $pin_tx_hp
|
||||
baud_rate: 9600
|
||||
data_bits: 8
|
||||
parity: EVEN
|
||||
stop_bits: 1
|
||||
- id: uart_wifi
|
||||
tx_pin: $pin_rx_cz
|
||||
rx_pin: $pin_tx_cz
|
||||
- id: uart_cz_taw1
|
||||
tx_pin: $pin_rx_wm
|
||||
rx_pin: $pin_tx_wm
|
||||
baud_rate: 9600
|
||||
data_bits: 8
|
||||
parity: EVEN
|
||||
|
|
@ -75,8 +68,8 @@ external_components:
|
|||
components: [ panasonic_heatpump ]
|
||||
|
||||
panasonic_heatpump:
|
||||
uart_hp: uart_heat
|
||||
uart_wm: uart_wifi
|
||||
uart_hp: uart_heatpump
|
||||
uart_wm: uart_cz_taw1
|
||||
|
||||
sensor:
|
||||
- platform: panasonic_heatpump
|
||||
|
|
|
|||
Loading…
Reference in New Issue