Ho installato a casa 3 wt32-eth01. 2 divquesti non danno nessun tipo di problema mentre uno di questi mi da molto spesso ik seguente messaggio:
[I][ota:113]: Boot seems successful, resetting boot loop counter.
[19:27:55][D][esp32.preferences:114]: Saving 1 preferences to flash…
[19:27:55][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
La cosa brutta è che quando succede si spengono le luci collegate al wt32-eth01.
Da cosa può dipendere?
Di seguito il codice:
‘’ ’
substitutions:
name: “esphome-ingresso”
esphome:
name: ${name}
name_add_mac_suffix: false
platform: ESP32
board: esp-wrover-kit
on_boot:
then:
#- light.turn_off: luce_sgabuzzino_camera
#- light.turn_off: luce_camera
#- light.turn_off: luce_ingresso_camera
ota:
logger:
api:
web_server:
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO0_IN
phy_addr: 1
power_pin: GPIO16
use_address: ${name}.local
manual_ip:
static_ip: 192.168.1.28
gateway: 192.168.1.1
subnet: 255.255.255.0
##################
###INTERRUTTORI###
##################
PULSANTE MENSOLA BAGNO
binary_sensor:
-
platform: gpio
filters:- invert:
pin:
number: 32
#mode:
input: true
pullup: true
name: “Pulsante Mensola Bagno”
on_click:- min_length: 100ms
max_length: 1s
then:- light.toggle: luce_mensola_bagno
- invert:
PULSANTE MENSOLA INGRESSO
- platform: gpio
filters:- invert:
pin:
number: 33
#mode:
input: true
pullup: true
name: “Pulsante Mensola Ingresso”
on_click:- min_length: 100ms
max_length: 1s
then:- light.toggle: luce_mensola_ingresso
- invert:
PULSANTE LED CUCINA
- platform: gpio
filters:- invert:
pin:
number: 35
#mode:
input: true
pullup: true
name: “Pulsante Led Cucina”
on_click:- min_length: 100ms
max_length: 1s
then:- light.toggle: luce_led_cucina
- invert:
PULSANTE BAGNO
- platform: gpio
filters:- invert:
pin:
number: 36
#mode:
input: true
pullup: true
name: “Pulsante Bagno”
on_state:
then:
- light.toggle: luce_bagno - invert:
PULSANTE CUCINA
- platform: gpio
filters:- invert:
pin:
number: 39
#mode:
input: true
pullup: true
name: “Pulsante Cucina”
on_click:- min_length: 100ms
max_length: 1s
then:- light.toggle: luce_cucina
##################
- light.toggle: luce_cucina
- invert:
USCITE
##################
light:
LUCI BAGNO
- platform: binary
id: luce_bagno
name: “Luci Bagno”
output: luci_bagno
LUCI CUCINA
- platform: binary
id: luce_cucina
name: “Luci Cucina”
output: luci_cucina
LUCI LED CUCINA
- platform: binary
id: luce_led_cucina
name: “Luci Led Cucina”
output: luci_led_cucina
LUCI MENSOLA INGRESSO
- platform: binary
id: luce_mensola_ingresso
name: “Luci Mensola Ingresso”
output: luci_mensola_ingresso
LUCI MENSOLA BAGNO
- platform: binary
id: luce_mensola_bagno
name: “Luci Mensola Bagno”
output: luci_mensola_bagno
LUCI VIALE
- platform: binary
id: luce_viale
name: “Luci Viale”
output: luci_viale
LUCI PORTICO
- platform: binary
id: luce_portico
name: “Luci Portico”
output: luci_portico
output:
OUTPUT BAGNO
- id: luci_bagno
platform: gpio
pin: GPIO1
OUTPUT CUCINA
- id: luci_cucina
platform: gpio
pin: GPIO2
OUTPUT LED CUCINA
- id: luci_led_cucina
platform: gpio
pin: GPIO3
OUTPUT MENSOLA INGRESSO
- id: luci_mensola_ingresso
platform: gpio
pin: GPIO4
OUTPUT MENSOLA BAGNO
- id: luci_mensola_bagno
platform: gpio
pin: GPIO5
OUTPUT VIALE
- id: luci_viale
platform: gpio
pin: GPIO15
OUTPUT PORTICO
- id: luci_portico
platform: gpio
pin: GPIO14
‘’ ’