fix missing gpio reset for modbus

This commit is contained in:
pszafer
2026-06-10 19:24:03 +02:00
parent c3512668ac
commit a7b9614131
10 changed files with 110 additions and 20 deletions

View File

@@ -10,7 +10,12 @@ esphome:
project: project:
name: boneio.24x16-switches-v0_5-v0_6 name: boneio.24x16-switches-v0_5-v0_6
version: '0.6' version: '0.6'
on_boot:
- priority: 1001
then:
- lambda: |-
gpio_reset_pin((gpio_num_t)3);
gpio_reset_pin((gpio_num_t)1);
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
framework: framework:
@@ -595,7 +600,11 @@ binary_sensor:
# UNCOMMENT BELOW TO USE MODBUS # UNCOMMENT BELOW TO USE MODBUS
# uart: # uart:
# id: uart_pin3_1 # id: uart_pin3_1
# rx_pin: GPIO3 # rx_pin:
# number: GPIO3
# mode:
# input: true
# pullup: true
# tx_pin: GPIO1 # tx_pin: GPIO1
# baud_rate: 9600 # baud_rate: 9600
# stop_bits: 1 # stop_bits: 1

View File

@@ -10,7 +10,12 @@ esphome:
project: project:
name: boneio.32x10-lights_v0_5-v0_6 name: boneio.32x10-lights_v0_5-v0_6
version: '0.6' version: '0.6'
on_boot:
- priority: 1001
then:
- lambda: |-
gpio_reset_pin((gpio_num_t)3);
gpio_reset_pin((gpio_num_t)1);
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
framework: framework:
@@ -662,7 +667,11 @@ binary_sensor:
# UNCOMMENT BELOW TO USE MODBUS # UNCOMMENT BELOW TO USE MODBUS
# uart: # uart:
# id: uart_pin3_1 # id: uart_pin3_1
# rx_pin: GPIO3 # rx_pin:
# number: GPIO3
# mode:
# input: true
# pullup: true
# tx_pin: GPIO1 # tx_pin: GPIO1
# baud_rate: 9600 # baud_rate: 9600
# stop_bits: 1 # stop_bits: 1

View File

@@ -10,7 +10,12 @@ esphome:
project: project:
name: boneio.32x10-lights name: boneio.32x10-lights
version: '0.7' version: '0.7'
on_boot:
- priority: 1001
then:
- lambda: |-
gpio_reset_pin((gpio_num_t)14);
gpio_reset_pin((gpio_num_t)15);
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
framework: framework:
@@ -658,7 +663,11 @@ binary_sensor:
# UNCOMMENT BELOW TO USE MODBUS # UNCOMMENT BELOW TO USE MODBUS
# uart: # uart:
# id: uart_pin14_15 # id: uart_pin14_15
# rx_pin: GPIO14 # rx_pin:
# number: GPIO14
# mode:
# input: true
# pullup: true
# tx_pin: GPIO15 # tx_pin: GPIO15
# baud_rate: 9600 # baud_rate: 9600
# stop_bits: 1 # stop_bits: 1

View File

@@ -10,7 +10,12 @@ esphome:
project: project:
name: boneio.32x10-lights_v0_5-v0_6 name: boneio.32x10-lights_v0_5-v0_6
version: '0.6' version: '0.6'
on_boot:
- priority: 1001
then:
- lambda: |-
gpio_reset_pin((gpio_num_t)3);
gpio_reset_pin((gpio_num_t)1);
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
framework: framework:
@@ -661,7 +666,11 @@ binary_sensor:
# UNCOMMENT BELOW TO USE MODBUS # UNCOMMENT BELOW TO USE MODBUS
# uart: # uart:
# id: uart_pin3_1 # id: uart_pin3_1
# rx_pin: GPIO3 # rx_pin:
# number: GPIO3
# mode:
# input: true
# pullup: true
# tx_pin: GPIO1 # tx_pin: GPIO1
# baud_rate: 9600 # baud_rate: 9600
# stop_bits: 1 # stop_bits: 1

View File

@@ -10,7 +10,12 @@ esphome:
project: project:
name: boneio.32x10-cover-mix-lights_v0_5-v0_6 name: boneio.32x10-cover-mix-lights_v0_5-v0_6
version: '0.6' version: '0.6'
on_boot:
- priority: 1001
then:
- lambda: |-
gpio_reset_pin((gpio_num_t)3);
gpio_reset_pin((gpio_num_t)1);
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
framework: framework:
@@ -750,7 +755,11 @@ binary_sensor:
# UNCOMMENT BELOW TO USE MODBUS # UNCOMMENT BELOW TO USE MODBUS
# uart: # uart:
# id: uart_pin3_1 # id: uart_pin3_1
# rx_pin: GPIO3 # rx_pin:
# number: GPIO3
# mode:
# input: true
# pullup: true
# tx_pin: GPIO1 # tx_pin: GPIO1
# baud_rate: 9600 # baud_rate: 9600
# stop_bits: 1 # stop_bits: 1

View File

@@ -10,7 +10,12 @@ esphome:
project: project:
name: boneio.32x10-cover-mix-lights name: boneio.32x10-cover-mix-lights
version: '0.7' version: '0.7'
on_boot:
- priority: 1001
then:
- lambda: |-
gpio_reset_pin((gpio_num_t)14);
gpio_reset_pin((gpio_num_t)15);
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
framework: framework:
@@ -746,7 +751,11 @@ binary_sensor:
# UNCOMMENT BELOW TO USE MODBUS # UNCOMMENT BELOW TO USE MODBUS
# uart: # uart:
# id: uart_pin14_15 # id: uart_pin14_15
# rx_pin: GPIO14 # rx_pin:
# number: GPIO14
# mode:
# input: true
# pullup: true
# tx_pin: GPIO15 # tx_pin: GPIO15
# baud_rate: 9600 # baud_rate: 9600
# stop_bits: 1 # stop_bits: 1

View File

@@ -10,7 +10,12 @@ esphome:
project: project:
name: boneio.32x10-cover-mix-switches_v0_5-v0_6 name: boneio.32x10-cover-mix-switches_v0_5-v0_6
version: '0.6' version: '0.6'
on_boot:
- priority: 1001
then:
- lambda: |-
gpio_reset_pin((gpio_num_t)3);
gpio_reset_pin((gpio_num_t)1);
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
framework: framework:
@@ -749,7 +754,11 @@ binary_sensor:
# UNCOMMENT BELOW TO USE MODBUS # UNCOMMENT BELOW TO USE MODBUS
# uart: # uart:
# id: uart_pin3_1 # id: uart_pin3_1
# rx_pin: GPIO3 # rx_pin:
# number: GPIO3
# mode:
# input: true
# pullup: true
# tx_pin: GPIO1 # tx_pin: GPIO1
# baud_rate: 9600 # baud_rate: 9600
# stop_bits: 1 # stop_bits: 1

View File

@@ -10,7 +10,12 @@ esphome:
project: project:
name: boneio.32x10-cover-mix-switches name: boneio.32x10-cover-mix-switches
version: '0.7' version: '0.7'
on_boot:
- priority: 1001
then:
- lambda: |-
gpio_reset_pin((gpio_num_t)14);
gpio_reset_pin((gpio_num_t)15);
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
framework: framework:
@@ -746,7 +751,11 @@ binary_sensor:
# UNCOMMENT BELOW TO USE MODBUS # UNCOMMENT BELOW TO USE MODBUS
# uart: # uart:
# id: uart_pin14_15 # id: uart_pin14_15
# rx_pin: GPIO14 # rx_pin:
# number: GPIO14
# mode:
# input: true
# pullup: true
# tx_pin: GPIO15 # tx_pin: GPIO15
# baud_rate: 9600 # baud_rate: 9600
# stop_bits: 1 # stop_bits: 1

View File

@@ -10,7 +10,12 @@ esphome:
project: project:
name: boneio.32x10-cover_v0_5-v0_6 name: boneio.32x10-cover_v0_5-v0_6
version: '0.6' version: '0.6'
on_boot:
- priority: 1001
then:
- lambda: |-
gpio_reset_pin((gpio_num_t)3);
gpio_reset_pin((gpio_num_t)1);
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
framework: framework:
@@ -836,7 +841,11 @@ binary_sensor:
# UNCOMMENT BELOW TO USE MODBUS # UNCOMMENT BELOW TO USE MODBUS
# uart: # uart:
# id: uart_pin3_1 # id: uart_pin3_1
# rx_pin: GPIO3 # rx_pin:
# number: GPIO3
# mode:
# input: true
# pullup: true
# tx_pin: GPIO1 # tx_pin: GPIO1
# baud_rate: 9600 # baud_rate: 9600
# stop_bits: 1 # stop_bits: 1

View File

@@ -10,7 +10,12 @@ esphome:
project: project:
name: boneio.32x10-cover name: boneio.32x10-cover
version: '0.7' version: '0.7'
on_boot:
- priority: 1001
then:
- lambda: |-
gpio_reset_pin((gpio_num_t)14);
gpio_reset_pin((gpio_num_t)15);
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
framework: framework:
@@ -832,7 +837,11 @@ binary_sensor:
# UNCOMMENT BELOW TO USE MODBUS # UNCOMMENT BELOW TO USE MODBUS
# uart: # uart:
# id: uart_pin14_15 # id: uart_pin14_15
# rx_pin: GPIO14 # rx_pin:
# number: GPIO14
# mode:
# input: true
# pullup: true
# tx_pin: GPIO15 # tx_pin: GPIO15
# baud_rate: 9600 # baud_rate: 9600
# stop_bits: 1 # stop_bits: 1