Hello,
I try to buil an project for my fish tank there in need some timers.
I want to connect:
4 Pumps over Relais for dosing pumps
8 sockets over relais for different things
8 Buttons for switching
2 Temperature Sensor (DS18b20)
I’ve got my functions to work for the dosing and now i wanted to start with the time scedule.
After adding the fourth time the ESP starts resetting and i am not able to do OTA anymore because it is fast rebooting
Device: ESP32 Dev Kit C V4
Code:
## Variablen
substitutions:
## Plug Name also for Variable
dev_name: 129_og_aq
dev_host: 129-og-aq
dev_ip: 192.168.179.129
#log_level: info
#log_level: debug
log_level: verbose
log_rate: "115200"
## HW Substittuion
# Dallas
gpio_dallas_pin: GPIO04 #TX war 4 oder 1
temp1_offset: "0"
temp2_offset: "0"
# Basis Packages
packages:
devi: !include base/b0_device_nodemcu_esp32_azv4.yaml
hoas: !include base/b1_homeassistant.yaml
logs: !include base/b2_log.yaml
wifi: !include base/b3_wifi.yaml
webs: !include base/b4_webserver.yaml
#mqtt: !include base/b5_mqtt.yaml
sens: !include base/b6_sensor.yaml
swit: !include base/b7_switch.yaml
#time: !include base/b8_time_ha.yaml
## HW Anschlüsse
# One Wire Sensoren
dallas:
- pin: ${gpio_dallas_pin}
globals:
# Pumpe 1
- id: p1_faktor
type: float
restore_value: yes
initial_value: '0'
- id: p1_soll
type: float
restore_value: yes
initial_value: '0'
# Pumpe 2
- id: p2_faktor
type: float
restore_value: yes
initial_value: '0'
- id: p2_soll
type: float
restore_value: yes
initial_value: '0'
# Pumpe 3
- id: p3_faktor
type: float
restore_value: yes
initial_value: '0'
- id: p3_soll
type: float
restore_value: yes
initial_value: '0'
# Pumpe 4
- id: p4_faktor
type: float
restore_value: yes
initial_value: '0'
- id: p4_soll
type: float
restore_value: yes
initial_value: '0'
# Dosiersollzeit
- id: p_sollzeit
type: float
restore_value: no
initial_value: '0'
# Dosiermenge
- id: p_menge
type: float
restore_value: no
initial_value: '0'
# Dosierzeit
- id: p_laufzeit
type: float
restore_value: no
initial_value: '0'
# Dosierfaktor
- id: p_faktor
type: float
restore_value: no
initial_value: '0'
sensor:
# Temperatur Innen (Temp 1)
- platform: dallas
name: "${dev_name}_t1"
id: temp_int_1
# address: 0x950000076A885828
address: 0x6E3C01D0750B1628 # temp
accuracy_decimals: 2
filters:
- median:
window_size: 10
send_every: 5
send_first_at: 1
- offset: ${temp1_offset}
# Temperatur Becken (Temp 2)
- platform: dallas
name: "${dev_name}_t2"
id: temp_aqua_1
# address: 0x03041750296CFF28
address: 0xD03C01D075F44528 # temp
accuracy_decimals: 2
filters:
- median:
window_size: 10
send_every: 5
send_first_at: 1
- offset: ${temp2_offset}
# Sollwert Pumpe 1
- platform: homeassistant
id: soll_p1_ha
entity_id: input_number.og_ku_aq_p1_soll
on_value:
- globals.set:
id: p1_soll
value: !lambda 'return id(soll_p1_ha).state;'
- component.update: soll_p1
- platform: template
name: "${dev_name}_soll_p1"
icon: mdi:water-check
id: soll_p1
unit_of_measurement: ml
state_class: "measurement"
accuracy_decimals: 1
update_interval: 300s
lambda: return id(p1_soll);
# Sollwert Pumpe 2
- platform: homeassistant
id: soll_p2_ha
entity_id: input_number.og_ku_aq_p2_soll
on_value:
- globals.set:
id: p2_soll
value: !lambda 'return id(soll_p2_ha).state;'
- component.update: soll_p2
- platform: template
name: "${dev_name}_soll_p2"
icon: mdi:water-check
id: soll_p2
unit_of_measurement: ml
state_class: "measurement"
accuracy_decimals: 1
update_interval: 300s
lambda: return id(p2_soll);
# Sollwert Pumpe 3
- platform: homeassistant
id: soll_p3_ha
entity_id: input_number.og_ku_aq_p3_soll
on_value:
- globals.set:
id: p3_soll
value: !lambda 'return id(soll_p3_ha).state;'
- component.update: soll_p3
- platform: template
name: "${dev_name}_soll_p3"
icon: mdi:water-check
id: soll_p3
unit_of_measurement: ml
state_class: "measurement"
accuracy_decimals: 1
update_interval: 300s
lambda: return id(p3_soll);
# Sollwert Pumpe 4
- platform: homeassistant
id: soll_p4_ha
entity_id: input_number.og_ku_aq_p4_soll
on_value:
- globals.set:
id: p4_soll
value: !lambda 'return id(soll_p4_ha).state;'
- component.update: soll_p4
- platform: template
name: "${dev_name}_soll_p4"
icon: mdi:water-check
id: soll_p4
unit_of_measurement: ml
state_class: "measurement"
accuracy_decimals: 1
update_interval: 300s
lambda: return id(p4_soll);
# Pumpe 1 Faktor
- platform: template
name: "${dev_name}_faktor_p1"
icon: mdi:water-check
id: faktor_p1
unit_of_measurement: s/ml
state_class: "measurement"
accuracy_decimals: 2
lambda: return id(p1_faktor);
# Pumpe 2 Faktor
- platform: template
name: "${dev_name}_faktor_p2"
icon: mdi:water-check
id: faktor_p2
unit_of_measurement: s/ml
state_class: "measurement"
accuracy_decimals: 2
lambda: return id(p2_faktor);
# Pumpe 3 Faktor
- platform: template
name: "${dev_name}_faktor_p3"
icon: mdi:water-check
id: faktor_p3
unit_of_measurement: s/ml
state_class: "measurement"
accuracy_decimals: 2
lambda: return id(p3_faktor);
# Pumpe 4 Faktor
- platform: template
name: "${dev_name}_faktor_p4"
icon: mdi:water-check
id: faktor_p4
unit_of_measurement: s/ml
state_class: "measurement"
accuracy_decimals: 2
lambda: return id(p4_faktor);
# Kalibrierfaktor Handeingabe
- platform: homeassistant
id: calfaktor_p_ha
entity_id: input_number.og_ku_aq_p_calfaktor
on_value:
then:
- sensor.template.publish:
id: dosfaktor_p
state: !lambda 'return (id(calfaktor_p_ha).state);'
# Kalibriermenge
- platform: homeassistant
id: calmenge_p_ha
entity_id: input_number.og_ku_aq_p_calmenge
unit_of_measurement: ml
state_class: "measurement"
accuracy_decimals: 1
on_value:
then:
- sensor.template.publish:
id: dosfaktor_p
state: !lambda 'return (id(doszeit_p).state / id(calmenge_p_ha).state);'
# Dosierzeit
- platform: template
name: "${dev_name}_doszeit"
id: doszeit_p
unit_of_measurement: s
state_class: "measurement"
accuracy_decimals: 2
# Dosiermenge
- platform: template
name: "${dev_name}_dosmenge"
id: dosmenge_p
unit_of_measurement: ml
state_class: "measurement"
accuracy_decimals: 2
# Dosierfaktor
- platform: template
name: "${dev_name}_dosfaktor"
id: dosfaktor_p
unit_of_measurement: s/ml
state_class: "measurement"
accuracy_decimals: 3
binary_sensor:
# Hand/Auto Schalter
- platform: gpio
name: "${dev_name}_bu_auto"
icon: "mdi:run"
id: "bu_auto"
pin:
number: GPIO36
mode: INPUT
inverted: false
on_multi_click:
- timing:
- ON for at least 10ms
then:
- text_sensor.template.publish:
id: sel_modus
state: "Auto"
# Sonos Taster
- platform: gpio
id: "sw_sonos_toggle"
internal: "true"
pin:
number: GPIO39
mode: INPUT
inverted: false
on_multi_click:
- timing:
- ON for at least 100ms
then:
- switch.toggle: sw_sonos
# Filter Taster
- platform: gpio
id: "sw_filter_toggle"
internal: "true"
pin:
number: GPIO34
mode: INPUT
inverted: false
on_multi_click:
- timing:
- ON for at least 100ms
then:
- switch.toggle: sw_filter
# Heizer Taster
- platform: gpio
id: "sw_heizer_toggle"
internal: "true"
pin:
number: GPIO35
mode: INPUT
inverted: false
on_multi_click:
- timing:
- ON for at least 100ms
then:
- switch.toggle: sw_heizer
# CO2 Taster
- platform: gpio
id: "sw_co2_toggle"
internal: "true"
pin:
number: GPIO32
mode: INPUT
inverted: false
on_multi_click:
- timing:
- ON for at least 100ms
then:
- switch.toggle: sw_co2
# Skimmer Taster
- platform: gpio
id: "sw_skimmer_toggle"
internal: "true"
pin:
number: GPIO33
mode: INPUT
inverted: false
on_multi_click:
- timing:
- ON for at least 100ms
then:
- switch.toggle: sw_skimmer
# Licht Taster
- platform: gpio
id: "sw_licht_toggle"
internal: "true"
pin:
number: GPIO25
mode: INPUT
inverted: false
on_multi_click:
- timing:
- ON for at least 100ms
then:
- switch.toggle: sw_licht
# Pumpen Taster
- platform: gpio
name: "${dev_name}_bu_pumpen"
icon: "mdi:run"
id: "bu_pumpen"
pin:
number: GPIO26
mode: INPUT
inverted: false
on_multi_click:
- timing:
- ON for at least 100ms
then:
## Pumpe 1
- if:
condition:
and:
- text_sensor.state:
id: sel_pumpe
state: 'P1'
- text_sensor.state:
id: sel_modus
state: 'Kalibrieren'
then:
- switch.toggle: sw_p1
## Pumpe 2
- if:
condition:
and:
- text_sensor.state:
id: sel_pumpe
state: 'P2'
- text_sensor.state:
id: sel_modus
state: 'Kalibrieren'
then:
- switch.toggle: sw_p2
## Pumpe 3
- if:
condition:
and:
- text_sensor.state:
id: sel_pumpe
state: 'P3'
- text_sensor.state:
id: sel_modus
state: 'Kalibrieren'
then:
- switch.toggle: sw_p3
## Pumpe 4
- if:
condition:
and:
- text_sensor.state:
id: sel_pumpe
state: 'P4'
- text_sensor.state:
id: sel_modus
state: 'Kalibrieren'
then:
- switch.toggle: sw_p4
# on_release:
# then:
# - switch.turn_off: sw_p1
# - switch.turn_off: sw_p2
# - switch.turn_off: sw_p3
# - switch.turn_off: sw_p4
switch:
# Pumpe 1
- platform: gpio
name: "${dev_name}_pumpe_1"
icon: "mdi:pump"
id: "sw_p1"
pin:
number: GPIO27
inverted: true
restore_mode: ALWAYS_OFF
interlock: &intl_sw_p [sw_p1, sw_p2, sw_p3, sw_p4]
on_turn_on:
then:
- globals.set:
id: p_faktor
value: !lambda 'return id(p1_faktor);'
- globals.set:
id: p_menge
value: '0.0'
- globals.set:
id: p_laufzeit
value: '0.0'
- script.execute: pumpen_laufzeit
on_turn_off:
then:
- globals.set:
id: p_menge
value: !lambda 'return (id(p_laufzeit) / id(p_faktor));'
- sensor.template.publish:
id: dosmenge_p
state: !lambda 'return id(p_menge);'
- sensor.template.publish:
id: doszeit_p
state: !lambda 'return id(p_laufzeit);'
# Pumpe 2
- platform: gpio
name: "${dev_name}_pumpe_2"
icon: "mdi:pump"
id: "sw_p2"
pin:
number: GPIO14
inverted: true
restore_mode: ALWAYS_OFF
interlock: *intl_sw_p
on_turn_on:
then:
- globals.set:
id: p_faktor
value: !lambda 'return id(p2_faktor);'
- globals.set:
id: p_menge
value: '0.0'
- globals.set:
id: p_laufzeit
value: '0.0'
- script.execute: pumpen_laufzeit
on_turn_off:
then:
- globals.set:
id: p_menge
value: !lambda 'return (id(p_laufzeit) / id(p_faktor));'
- sensor.template.publish:
id: dosmenge_p
state: !lambda 'return id(p_menge);'
- sensor.template.publish:
id: doszeit_p
state: !lambda 'return id(p_laufzeit);'
# Pumpe 3
- platform: gpio
name: "${dev_name}_pumpe_3"
icon: "mdi:pump"
id: "sw_p3"
pin:
number: GPIO12
inverted: true
restore_mode: ALWAYS_OFF
interlock: *intl_sw_p
on_turn_on:
then:
- globals.set:
id: p_faktor
value: !lambda 'return id(p3_faktor);'
- globals.set:
id: p_menge
value: '0.0'
- globals.set:
id: p_laufzeit
value: '0.0'
- script.execute: pumpen_laufzeit
on_turn_off:
then:
- globals.set:
id: p_menge
value: !lambda 'return (id(p_laufzeit) / id(p_faktor));'
- sensor.template.publish:
id: dosmenge_p
state: !lambda 'return id(p_menge);'
- sensor.template.publish:
id: doszeit_p
state: !lambda 'return id(p_laufzeit);'
# Pumpe 4
- platform: gpio
name: "${dev_name}_pumpe_4"
icon: "mdi:pump"
id: "sw_p4"
pin:
number: GPIO13
inverted: true
restore_mode: ALWAYS_OFF
interlock: *intl_sw_p
on_turn_on:
then:
- globals.set:
id: p_faktor
value: !lambda 'return id(p4_faktor);'
- globals.set:
id: p_menge
value: '0.0'
- globals.set:
id: p_laufzeit
value: '0.0'
- script.execute: pumpen_laufzeit
on_turn_off:
then:
- globals.set:
id: p_menge
value: !lambda 'return (id(p_laufzeit) / id(p_faktor));'
- sensor.template.publish:
id: dosmenge_p
state: !lambda 'return id(p_menge);'
- sensor.template.publish:
id: doszeit_p
state: !lambda 'return id(p_laufzeit);'
# Sonos
- platform: gpio
name: "${dev_name}_sonos"
icon: "mdi:speaker"
id: "sw_sonos"
pin:
number: GPIO23
inverted: true
restore_mode: RESTORE_DEFAULT_OFF
# Filter
- platform: gpio
name: "${dev_name}_filter"
icon: "mdi:air-filter"
id: "sw_filter"
pin:
number: GPIO22
inverted: true
restore_mode: RESTORE_DEFAULT_ON
# Heizer
- platform: gpio
name: "${dev_name}_heizer"
icon: "mdi:radiator"
id: "sw_heizer"
pin:
number: GPIO21
inverted: true
restore_mode: RESTORE_DEFAULT_ON
# CO2
- platform: gpio
name: "${dev_name}_co2"
icon: "mdi:molecule-co2"
id: "sw_co2"
pin:
number: GPIO19
inverted: true
restore_mode: RESTORE_DEFAULT_OFF
# Skimmer
- platform: gpio
name: "${dev_name}_skimmer"
icon: "mdi:vacuum-outline"
id: "sw_skimmer"
pin:
number: GPIO18
inverted: true
restore_mode: RESTORE_DEFAULT_OFF
# Licht
- platform: gpio
name: "${dev_name}_licht"
icon: "mdi:led-strip"
id: "sw_licht"
pin:
number: GPIO05
inverted: true
restore_mode: RESTORE_DEFAULT_OFF
# Klemme 4
- platform: gpio
name: "${dev_name}_kl4"
icon: "mdi:power-socket-de"
id: "sw_kl4"
pin:
number: GPIO17
inverted: true
restore_mode: RESTORE_DEFAULT_OFF
# Steckdose 2
- platform: gpio
name: "${dev_name}_std2"
icon: "mdi:power-socket-eu"
id: "sw_std2"
pin:
number: GPIO16
inverted: true
restore_mode: RESTORE_DEFAULT_OFF
button:
# Kalibrieren speichern
- platform: template
name: "${dev_name}_cal_fin"
id: bu_cal_fin
on_press:
then:
## Pumpe 1
- if:
condition:
- text_sensor.state:
id: sel_pumpe
state: 'P1'
then:
- globals.set:
id: p1_faktor
value: !lambda 'return id(dosfaktor_p).state;'
- component.update: faktor_p1
## Pumpe 2
- if:
condition:
- text_sensor.state:
id: sel_pumpe
state: 'P2'
then:
- globals.set:
id: p2_faktor
value: !lambda 'return id(dosfaktor_p).state;'
- component.update: faktor_p2
## Pumpe 3
- if:
condition:
- text_sensor.state:
id: sel_pumpe
state: 'P3'
then:
- globals.set:
id: p3_faktor
value: !lambda 'return id(dosfaktor_p).state;'
- component.update: faktor_p3
## Pumpe 4
- if:
condition:
- text_sensor.state:
id: sel_pumpe
state: 'P4'
then:
- globals.set:
id: p4_faktor
value: !lambda 'return id(dosfaktor_p).state;'
- component.update: faktor_p4
# Pumpe P1 Dosieren
- platform: template
name: "${dev_name}_p1_dos"
id: bu_p1_dos
on_press:
then:
- globals.set:
id: p_sollzeit
value: !lambda 'return id(soll_p1).state * id(p1_faktor);'
- text_sensor.template.publish:
id: sel_pumpe
state: "P1"
- switch.turn_on: sw_p1
- wait_until:
lambda: return id(p_sollzeit) < id(p_laufzeit);
- switch.turn_off: sw_p1
# Pumpe P2 Dosieren
- platform: template
name: "${dev_name}_p2_dos"
id: bu_p2_dos
on_press:
then:
- globals.set:
id: p_sollzeit
value: !lambda 'return id(soll_p2).state * id(p2_faktor);'
- text_sensor.template.publish:
id: sel_pumpe
state: "P2"
- switch.turn_on: sw_p2
- wait_until:
lambda: return id(p_sollzeit) < id(p_laufzeit);
- switch.turn_off: sw_p2
# Pumpe P3 Dosieren
- platform: template
name: "${dev_name}_p3_dos"
id: bu_p3_dos
on_press:
then:
- globals.set:
id: p_sollzeit
value: !lambda 'return id(soll_p3).state * id(p3_faktor);'
- text_sensor.template.publish:
id: sel_pumpe
state: "P3"
- switch.turn_on: sw_p3
- wait_until:
lambda: return id(p_sollzeit) < id(p_laufzeit);
- switch.turn_off: sw_p3
# Pumpe P4 Dosieren
- platform: template
name: "${dev_name}_p4_dos"
id: bu_p4_dos
on_press:
then:
- globals.set:
id: p_sollzeit
value: !lambda 'return id(soll_p4).state * id(p4_faktor);'
- text_sensor.template.publish:
id: sel_pumpe
state: "P4"
- switch.turn_on: sw_p4
- wait_until:
lambda: return id(p_sollzeit) < id(p_laufzeit);
- switch.turn_off: sw_p4
# Pumpe Dosieren
- platform: template
name: "${dev_name}_dosieren"
id: bu_dosieren
on_press:
then:
- button.press: bu_p1_dos
- delay: 10ms
- wait_until:
switch.is_off: sw_p1
- delay: 10s
- button.press: bu_p2_dos
- delay: 10ms
- wait_until:
switch.is_off: sw_p2
- delay: 10s
- button.press: bu_p3_dos
- delay: 10ms
- wait_until:
switch.is_off: sw_p3
- delay: 10s
- button.press: bu_p4_dos
- delay: 10ms
- wait_until:
switch.is_off: sw_p4
- text_sensor.template.publish:
id: sel_pumpe
state: "Keine"
text_sensor:
# Auswahl Pumpen
- platform: homeassistant
id: sel_pumpe_ha
entity_id: input_select.og_ku_aq_sel_pumpe
on_value:
- text_sensor.template.publish:
id: sel_pumpe
state: !lambda 'return id(sel_pumpe_ha).state;'
- platform: template
name: ${dev_name}_sel_pumpe
id: sel_pumpe
# Auswahl Modus
- platform: homeassistant
id: sel_modus_ha
entity_id: input_select.og_ku_aq_sel_modus
on_value:
- text_sensor.template.publish:
id: sel_modus
state: !lambda 'return id(sel_modus_ha).state;'
- if:
condition:
- binary_sensor.is_on: bu_auto
then:
- text_sensor.template.publish:
id: sel_modus
state: "Auto"
- platform: template
name: ${dev_name}_sel_modus
id: sel_modus
script:
# Pumpen Laufzeit
id: pumpen_laufzeit
mode: single
then:
- while:
condition:
or:
- switch.is_on: sw_p1
- switch.is_on: sw_p2
- switch.is_on: sw_p3
- switch.is_on: sw_p4
then:
- delay: 100ms
- globals.set:
id: p_laufzeit
value: !lambda 'return (id(p_laufzeit) + 0.1);'
time:
## Automatisch Dosieren und Sonstiges
- platform: homeassistant
# id: sntp_time
# servers: fritz.box, 0.pool.ntp.org, 1.pool.ntp.org
timezone: Europe/Berlin
on_time_sync:
then:
- logger.log:
format: "Synchronized SNTP system clock"
level: "INFO"
tag: "INFO SVBE"
on_time:
## Every Day Dosieren
- seconds: 0
minutes: /3
then:
- logger.log:
format: "Würde gerne dosieren"
level: "INFO"
tag: "INFO SVBE"
- if:
condition:
- text_sensor.state:
id: sel_modus
state: 'Auto'
then:
- button.press: bu_dosieren
- seconds: 0
minutes: 0
hours: 6
days_of_week: MON-SUN
then:
- logger.log:
format: "Würde gerne dosieren"
level: "INFO"
tag: "INFO SVBE"
- if:
condition:
- text_sensor.state:
id: sel_modus
state: 'Auto'
then:
- button.press: bu_dosieren
## Every Day CO2
- seconds: 0
minutes: 30
hours: 5
days_of_week: MON-SUN
then:
- switch.turn_on: sw_co2
- seconds: 0
minutes: 30
hours: 10
days_of_week: MON-SUN
then:
- switch.turn_off: sw_co2
# - seconds: 0
# minutes: 30
# hours: 13
# days_of_week: MON-SUN
# then:
# - switch.turn_on: sw_co2
# - seconds: 0
# minutes: 0
# hours: 19
# days_of_week: MON-SUN
# then:
# - switch.turn_off: sw_co2
# ## Every Day Zusatzlicht
# - seconds: 0
# minutes: 0
# hours: 8
# days_of_week: MON-SUN
# then:
# - switch.turn_on: sw_licht
# - seconds: 0
# minutes: 0
# hours: 11
# days_of_week: MON-SUN
# then:
# - switch.turn_off: sw_licht
# - seconds: 0
# minutes: 0
# hours: 16
# days_of_week: MON-SUN
# then:
# - switch.turn_on: sw_licht
# - seconds: 0
# minutes: 0
# hours: 19
# days_of_week: MON-SUN
# then:
# - switch.turn_off: sw_licht
# ## Every Day Skimmer
# - seconds: 0
# minutes: 0
# hours: 4
# days_of_week: MON-SUN
# then:
# - switch.turn_on: sw_skimmer
# - seconds: 0
# minutes: 29
# hours: 5
# days_of_week: MON-SUN
# then:
# - switch.turn_off: sw_skimmer
Validation and Installing works flawlessly but the the ESP doesn’t boot successfully anymore.
Is there sth wrong in the code?
There is also a different in the Flash memory detected by esphomeflasher and given by the manufactorer 16MB vs 4MB from flasher.
Please help
Log über Esphomeflasher:
[12:06:50][I][ota:338]: OTA update finished!
[12:06:51][I][app:133]: Rebooting safely...
[12:06:51][D][esp32.preferences:114]: Saving preferences to flash...
[12:06:51][V][esp-idf:000]: I (112158) wifi:
[12:06:51][V][esp-idf:000]: state: run -> init (0)
[12:06:51][V][esp-idf:000]:
[12:06:51]
[12:06:51][V][esp-idf:000]: I (112161) wifi:
[12:06:51][V][esp-idf:000]: pm stop, total sleep time: 65099811 us / 107566939 us
[12:06:51]
[12:06:51][V][esp-idf:000]:
[12:06:51]
[12:06:51][V][esp-idf:000]: I (112174) wifi:
[12:06:51][V][esp-idf:000]: new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1
[12:06:51][V][esp-idf:000]:
[12:06:51]
[12:06:51][D][WiFiGeneric.cpp:374] _eventCallback(): Event: 3 - STA_STOP
[12:06:51][V][wifi_esp32:465]: Event: WiFi STA stop
[12:06:51][D][WiFiGeneric.cpp:374] _eventCallback(): Event: 3 - STA_STOP
[12:06:51][V][wifi_esp32:465]: Event: WiFi STA stop
[12:06:51][V][esp-idf:000]: I (112219) wifi:
[12:06:51][V][esp-idf:000]: flush txq
[12:06:51][V][esp-idf:000]:
[12:06:51]
[12:06:51][V][esp-idf:000]: I (112220) wifi:
[12:06:51][V][esp-idf:000]: stop sw txq
[12:06:51][V][esp-idf:000]:
[12:06:51]
[12:06:51][V][esp-idf:000]: I (112231) wifi:
[12:06:51][V][esp-idf:000]: lmac stop hw txq
[12:06:51][V][esp-idf:000]:
[12:06:51]
[12:06:51]ets Jun 8 2016 00:22:57
[12:06:51]
[12:06:51]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[12:06:51]configsip: 0, SPIWP:0xee
[12:06:51]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[12:06:51]mode:DIO, clock div:2
[12:06:51]load:0x3fff0018,len:4
[12:06:51]load:0x3fff001c,len:1044
[12:06:51]load:0x40078000,len:8896
[12:06:51]load:0x40080400,len:5828
[12:06:51]entry 0x400806ac
[12:06:51][I][logger:214]: Log initialized
[12:06:51][C][ota:458]: There have been 0 suspected unsuccessful boot attempts.
[12:06:51][D][esp32.preferences:114]: Saving preferences to flash...
[12:06:51][I][app:029]: Running through setup()...
[12:06:51][V][app:030]: Sorting components by setup priority...
[12:06:51][C][switch.gpio:011]: Setting up GPIO Switch '129_og_aq_pumpe_1'...
--- gekürzt wg. post Länge ---
[12:06:52][D][binary_sensor:034]: '129_og_aq_status': Sending initial state OFF
[12:06:52][V][text_sensor:016]: '129_og_aq_version': Received new state 2021.12.3 Jan 9 2022, 12:06:17
[12:06:52][D][text_sensor:067]: '129_og_aq_version': Sending state '2021.12.3 Jan 9 2022, 12:06:17'
[12:06:52][C][dallas.sensor:032]: Setting up DallasComponent...
[12:06:52][C][wifi:037]: Setting up WiFi...
[12:06:52][V][esp32.preferences:057]: nvs_get_blob('-430349532'): ESP_ERR_NVS_NOT_FOUND - the key might not be set yet
[12:06:52][V][wifi_esp32:039]: Enabling STA.
[12:06:52][V][esp-idf:000]: I (703) wifi:
[12:06:52][V][esp-idf:000]: wifi driver task: 3ffcd9ec, prio:23, stack:3584, core=0
[12:06:52][V][esp-idf:000]:
[12:06:52]
[12:06:52][V][esp-idf:000]: I (1661) wifi:
[12:06:52][V][esp-idf:000]: wifi firmware version: dc30037
[12:06:52][V][esp-idf:000]:
[12:06:52]
[12:06:52][V][esp-idf:000]: I (1662) wifi:
[12:06:52][V][esp-idf:000]: config NVS flash: enabled
[12:06:52][V][esp-idf:000]:
[12:06:52]
[12:06:52][V][esp-idf:000]: I (1674) wifi:
[12:06:52][V][esp-idf:000]: config nano formating: disabled
[12:06:52][V][esp-idf:000]:
[12:06:52]
[12:06:52][V][esp-idf:000]: I (1686) wifi:
[12:06:52][V][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[12:06:52][V][esp-idf:000]:
[12:06:52]
[12:06:52][V][esp-idf:000]: I (1699) wifi:
[12:06:52][V][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[12:06:52][V][esp-idf:000]:
[12:06:52]
[12:06:52][V][esp-idf:000]: I (1712) wifi:
[12:06:52][V][esp-idf:000]: Init management short buffer num: 32
[12:06:52][V][esp-idf:000]:
[12:06:52]
[12:06:52][V][esp-idf:000]: I (1725) wifi:
[12:06:52][V][esp-idf:000]: Init dynamic tx buffer num: 32
[12:06:52][V][esp-idf:000]:
[12:06:52]
[12:06:52][V][esp-idf:000]: I (1737) wifi:
[12:06:52][V][esp-idf:000]: Init static rx buffer size: 1600
[12:06:52][V][esp-idf:000]:
[12:06:52]
[12:06:52][V][esp-idf:000]: I (1749) wifi:
[12:06:52][V][esp-idf:000]: Init static rx buffer num: 16
[12:06:52][V][esp-idf:000]:
[12:06:52]
[12:06:52][V][esp-idf:000]: I (1761) wifi:
[12:06:52][V][esp-idf:000]: Init dynamic rx buffer num: 32
[12:06:52][V][esp-idf:000]:
[12:06:52]
[12:06:52][V][esp-idf:000]: I (1867) wifi:
[12:06:52][V][esp-idf:000]: mode : sta (58:bf:25:9d:a8:24)
[12:06:52][V][esp-idf:000]:
[12:06:52]
[12:06:52][D][WiFiGeneric.cpp:374] _eventCallback(): Event: 0 - WIFI_READY
[12:06:52][D][WiFiGeneric.cpp:374] _eventCallback(): Event: 2 - STA_START
[12:06:52][V][wifi_esp32:460]: Event: WiFi STA start
[12:06:52]Guru Meditation Error: Core 1 panic'ed (Unhandled debug exception)
[12:06:52]Debug exception reason: Stack canary watchpoint triggered (loopTask)
[12:06:52]Core 1 register dump:
[12:06:52]PC : 0x401215b3 PS : 0x00060036 A0 : 0x8011cbed A1 : 0x3ffb0070
[12:06:52]A2 : 0x3ffb8100 A3 : 0x3ffb03b0 A4 : 0x3ffb0294 A5 : 0x00000010
[12:06:52]A6 : 0x00000007 A7 : 0x3ffb02d4 A8 : 0x1b006d37 A9 : 0x3ffb0520
[12:06:52]A10 : 0x3ffb8258 A11 : 0x00000006 A12 : 0x3f403fbe A13 : 0x000001bd
[12:06:52]A14 : 0x3f4041e9 A15 : 0x00000000 SAR : 0x00000004 EXCCAUSE: 0x00000001
[12:06:52]EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffe
[12:06:52]
[12:06:52]ELF file SHA256: 0000000000000000
[12:06:52]
[12:06:52]Backtrace: 0x401215b3:0x3ffb0070 0x4011cbea:0x3ffb00a0 0x4011f3ba:0x3ffb03b0 0x4011f3f6:0x3ffb0440 0x400daf91:0x3ffb0480 0x400dafc5:0x3ffb04b0 0x400daff9:0x3ffb0500 0x400db1c1:0x3ffb0520 0x400e7365:0x3ffb0540 0x400e7392:0x3ffb0570 0x400e547d:0x3ffb05d0 0x400e420a:0x3ffb0680 0x400f31f5:0x3ffb06d0 0x400f34c3:0x3ffb07f0 0x400e4329:0x3ffb0900 0x400e4388:0x3ffb0930 0x400e333e:0x3ffb0960 0x401785c9:0x3ffb0a70 0x40178695:0x3ffb0a90 0x400e6701:0x3ffb0ab0 0x400f1787:0x3ffb0b00 0x400fcc3e:0x3ffb1fb0 0x4008a066:0x3ffb1fd0
[12:06:52]
[12:06:52]Rebooting...