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:
name: boneio.32x10-lights_v0_5-v0_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:
board: nodemcu-32s
framework:
@@ -662,7 +667,11 @@ binary_sensor:
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin3_1
# rx_pin: GPIO3
# rx_pin:
# number: GPIO3
# mode:
# input: true
# pullup: true
# tx_pin: GPIO1
# baud_rate: 9600
# stop_bits: 1