mirror of
https://github.com/KinDR007/VictronMPPT-ESPHOME.git
synced 2024-10-21 07:09:27 +00:00
Rename uart0 to uart_0 (#111)
This commit is contained in:
parent
6b2b50f2ab
commit
50f87a1649
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -127,8 +127,10 @@ jobs:
|
||||
git commit -a -m "Add external component"
|
||||
working-directory: ${{ env.esphome_directory }}
|
||||
|
||||
- name: Add missing requirements
|
||||
run: pip3 install setuptools wheel
|
||||
- name: Set up python environment
|
||||
run: script/setup
|
||||
run: VIRTUAL_ENV=false script/setup
|
||||
working-directory: ${{ env.esphome_directory }}
|
||||
|
||||
- name: Register problem matchers
|
||||
|
@ -65,7 +65,7 @@ external_components:
|
||||
- source: github://KinDR007/VictronMPPT-ESPHOME@main
|
||||
|
||||
uart:
|
||||
id: uart0
|
||||
id: uart_0
|
||||
tx_pin: D8 # Not used! The communication is read-only
|
||||
rx_pin: D7
|
||||
baud_rate: 19200
|
||||
@ -73,7 +73,7 @@ uart:
|
||||
|
||||
victron:
|
||||
id: victron0
|
||||
uart_id: uart0
|
||||
uart_id: uart_0
|
||||
|
||||
sensor:
|
||||
- platform: victron
|
||||
|
@ -11,7 +11,6 @@ esp32:
|
||||
board: wemos_d1_mini32
|
||||
framework:
|
||||
type: esp-idf
|
||||
version: latest
|
||||
|
||||
external_components:
|
||||
- source: ${external_components_source}
|
||||
@ -26,7 +25,7 @@ api:
|
||||
logger:
|
||||
|
||||
uart:
|
||||
id: uart0
|
||||
id: uart_0
|
||||
baud_rate: 19200
|
||||
tx_pin: ${tx_pin}
|
||||
rx_pin: ${rx_pin}
|
||||
@ -39,7 +38,7 @@ uart:
|
||||
- lambda: UARTDebug::log_string(direction, bytes);
|
||||
|
||||
victron:
|
||||
uart_id: uart0
|
||||
uart_id: uart_0
|
||||
id: victron0
|
||||
throttle: 10s
|
||||
|
||||
|
@ -25,7 +25,7 @@ logger:
|
||||
esp8266_store_log_strings_in_flash: false
|
||||
|
||||
uart:
|
||||
id: uart0
|
||||
id: uart_0
|
||||
baud_rate: 19200
|
||||
tx_pin: ${tx_pin}
|
||||
rx_pin: ${rx_pin}
|
||||
@ -38,7 +38,7 @@ uart:
|
||||
- lambda: UARTDebug::log_string(direction, bytes);
|
||||
|
||||
victron:
|
||||
uart_id: uart0
|
||||
uart_id: uart_0
|
||||
id: victron0
|
||||
throttle: 10s
|
||||
|
||||
|
@ -29,14 +29,14 @@ mqtt:
|
||||
id: mqtt_client
|
||||
|
||||
uart:
|
||||
id: uart0
|
||||
id: uart_0
|
||||
tx_pin: D8 # Not connected! The communication is read-only
|
||||
rx_pin: D7 # Connect this this GPIO and GND to the MPPT charger
|
||||
baud_rate: 19200
|
||||
rx_buffer_size: 256
|
||||
|
||||
victron:
|
||||
uart_id: uart0
|
||||
uart_id: uart_0
|
||||
id: victron0
|
||||
throttle: 10s
|
||||
|
||||
|
@ -29,14 +29,14 @@ mqtt:
|
||||
id: mqtt_client
|
||||
|
||||
uart:
|
||||
id: uart0
|
||||
id: uart_0
|
||||
tx_pin: D8 # Not connected! The communication is read-only
|
||||
rx_pin: D7 # Connect this this GPIO and GND to the MPPT charger
|
||||
baud_rate: 19200
|
||||
rx_buffer_size: 256
|
||||
|
||||
victron:
|
||||
uart_id: uart0
|
||||
uart_id: uart_0
|
||||
id: victron0
|
||||
throttle: 10s
|
||||
|
||||
|
@ -29,14 +29,14 @@ mqtt:
|
||||
id: mqtt_client
|
||||
|
||||
uart:
|
||||
id: uart0
|
||||
id: uart_0
|
||||
tx_pin: D8 # Not connected! The communication is read-only
|
||||
rx_pin: D7 # Connect this this GPIO and GND to the MPPT charger
|
||||
baud_rate: 19200
|
||||
rx_buffer_size: 256
|
||||
|
||||
victron:
|
||||
uart_id: uart0
|
||||
uart_id: uart_0
|
||||
id: victron0
|
||||
throttle: 10s
|
||||
|
||||
|
@ -29,14 +29,14 @@ mqtt:
|
||||
id: mqtt_client
|
||||
|
||||
uart:
|
||||
id: uart0
|
||||
id: uart_0
|
||||
tx_pin: D8 # Not connected! The communication is read-only
|
||||
rx_pin: D7 # Connect this this GPIO and GND to the MPPT charger
|
||||
baud_rate: 19200
|
||||
rx_buffer_size: 256
|
||||
|
||||
victron:
|
||||
uart_id: uart0
|
||||
uart_id: uart_0
|
||||
id: victron0
|
||||
throttle: 10s
|
||||
|
||||
|
@ -31,12 +31,12 @@ mqtt:
|
||||
id: mqtt_client
|
||||
|
||||
uart:
|
||||
- id: uart0
|
||||
- id: uart_0
|
||||
tx_pin: D8 # Not connected! The communication is read-only
|
||||
rx_pin: D7 # Connect this this GPIO and GND to the first MPPT charger
|
||||
baud_rate: 19200
|
||||
rx_buffer_size: 256
|
||||
- id: uart1
|
||||
- id: uart_1
|
||||
tx_pin: D6 # Not connected! The communication is read-only
|
||||
rx_pin: D5 # Connect this this GPIO and GND to the second MPPT charger
|
||||
baud_rate: 19200
|
||||
@ -44,10 +44,10 @@ uart:
|
||||
|
||||
victron:
|
||||
- id: victron0
|
||||
uart_id: uart0
|
||||
uart_id: uart_0
|
||||
throttle: 10s
|
||||
- id: victron1
|
||||
uart_id: uart1
|
||||
uart_id: uart_1
|
||||
throttle: 10s
|
||||
|
||||
sensor:
|
||||
|
@ -29,14 +29,14 @@ mqtt:
|
||||
id: mqtt_client
|
||||
|
||||
uart:
|
||||
id: uart0
|
||||
id: uart_0
|
||||
tx_pin: D8 # Not connected! The communication is read-only
|
||||
rx_pin: D7 # Connect this this GPIO and GND to the MPPT charger
|
||||
baud_rate: 19200
|
||||
rx_buffer_size: 256
|
||||
|
||||
victron:
|
||||
uart_id: uart0
|
||||
uart_id: uart_0
|
||||
id: victron0
|
||||
throttle: 10s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user