mirror of
https://github.com/esphome/esphome.git
synced 2025-10-16 08:43:45 +01:00
add modbus
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
modbus:
|
||||
flow_control_pin: ${flow_control_pin}
|
||||
|
||||
sensor:
|
||||
- platform: growatt_solar
|
||||
modbus_id: modbus_bus
|
||||
update_interval: 10s
|
||||
protocol_version: RTU
|
||||
inverter_status:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
substitutions:
|
||||
flow_control_pin: GPIO3
|
||||
packages:
|
||||
uart: !include ../../test_build_components/common/uart/esp32-c3-idf.yaml
|
||||
modbus: !include ../../test_build_components/common/modbus/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -4,6 +4,6 @@ substitutions:
|
||||
flow_control_pin: GPIO13
|
||||
|
||||
packages:
|
||||
uart: !include ../../test_build_components/common/uart/esp32-idf.yaml
|
||||
modbus: !include ../../test_build_components/common/modbus/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -4,6 +4,6 @@ substitutions:
|
||||
flow_control_pin: GPIO15
|
||||
|
||||
packages:
|
||||
uart: !include ../../test_build_components/common/uart/esp8266-ard.yaml
|
||||
modbus: !include ../../test_build_components/common/modbus/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -4,6 +4,6 @@ substitutions:
|
||||
flow_control_pin: GPIO3
|
||||
|
||||
packages:
|
||||
uart: !include ../../test_build_components/common/uart/rp2040-ard.yaml
|
||||
modbus: !include ../../test_build_components/common/modbus/rp2040-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user