Good evening Gentlemen,
I get to you after two days of testing and now I don’t know what to do anymore.
The problem is the following:
I wanted to create with an AZ delivery esp32 wroom 32 a very banal black box connected with my Homeassistant session for the control of:
-room temperature
-ambient humidity
-battery voltage 1
-battery voltage 2
-solar panel voltage
-battery temperature 1
-battery temperature 2
-2 switches
-and four automations.
All connected via MQTT being away from my internal network
Quite simple thing and follow you see the .yaml file
substitutions:
name: "eisbar"
friendly_name: "EisBar"
#ESP------------------------------------------------------------------------------------------
esphome:
name: "$name"
esp32:
board: esp32dev
framework:
type: arduino
logger:
level: verbose
logs:
mqtt.component: DEBUG
mqtt.client: DEBUG
api:
encryption:
key: !secret api_encryption_key_eisbar
ota:
password: !secret ota_password
web_server:
port: 80
auth:
username: !secret web_server_user
password: !secret web_server_pw
time:
- platform: homeassistant
id: homeassistant_time
wifi:
networks:
- ssid: CCNET
password: ChiCo9262
- ssid: REAT_Porto_Delle_Grazie
password: grazie2022
reboot_timeout: 60s
power_save_mode: none
fast_connect: off
ap:
ssid: "${friendly_name}"
password: !secret ap_password
captive_portal:
#SPECIFIC PROTOCOLL FOR THIS ESP -----------------------------------------------------
mqtt:
broker: public.mqtthq.com
port: 1883
discovery: true
topic_prefix: homeassistant
#SPECIFIC COMMUNICATIONS FOR THIS ESP -----------------------------------------------------
i2c:
sda: GPIO21
scl: GPIO22
id: bus_a
scan: true
frequency: 10khz
dallas:
- pin: GPIO13
update_interval: 30s
#SENSORS------------------------------------------------------------------------------------
sensor:
- platform: wifi_signal
name: "${friendly_name} WiFi"
update_interval: 30s
#SPECIFIC SENSORS FOR THIS ESP --------------------------------
- platform: shtcx
temperature:
name: "${friendly_name} Temperatura"
humidity:
name: "${friendly_name} Umidità"
address: 0x70
update_interval: 30s
- platform: adc
pin: GPIO32
name: "${friendly_name} Tensione Batteria Servizi"
id: batteria_servizi
attenuation: 11db
update_interval: 30s
filters:
- multiply: 10.57
on_value_range:
- above: 15.0
then:
- switch.turn_on: relay1
- below: 13.0
then:
- switch.turn_off: relay1
- platform: adc
pin: GPIO33
name: "${friendly_name} Tensione Batteria Motore"
id: batteria_motore
attenuation: 11db
update_interval: 30s
filters:
- multiply: 10.57
on_value_range:
- above: 15.0
then:
- switch.turn_on: relay1
- below: 13.0
then:
- switch.turn_off: relay1
- platform: adc
pin: GPIO34
name: "${friendly_name} Tensione Pannelli Solari"
id: batteria_pannelli_solari
attenuation: 11db
update_interval: 30s
filters:
- multiply: 10.57
- platform: dallas
address: 0xe13c1ef649a5f228
name: "${friendly_name} Temperature Batteria Servizi"
on_value_range:
- above: 30.0
then:
- switch.turn_on: relay1
- below: 29.0
then:
- switch.turn_off: relay1
- platform: dallas
address: 0x203cf5f649908128
name: "${friendly_name} Temperature Batteria Motore"
on_value_range:
- above: 30.0
then:
- switch.turn_on: relay1
- below: 29.0
then:
- switch.turn_off: relay1
#BINARY_SENSOR------------------------------------------------------------------------------------
binary_sensor:
- platform: status
name: "${friendly_name} Status"
#SPECIFIC BINARY_SENSOR FOR THIS ESP --------------------------------
#TEXT_SENSOR------------------------------------------------------------------------------------
text_sensor:
- platform: wifi_info
ip_address:
name: ${friendly_name} IP
ssid:
name: ${friendly_name} SSID
bssid:
name: ${friendly_name} BSSID
mac_address:
name: ${friendly_name} MAC
#SPECIFIC TEXT_SENSOR FOR THIS ESP --------------------------------
#SWITCHS------------------------------------------------------------------------------------
switch:
- platform: restart
name: "${friendly_name} Restart"
#SPECIFIC SWITCHS FOR THIS ESP --------------------------------
- platform: gpio
name: "${friendly_name} Relay1 - Sgancio Pannelli Solari"
pin: GPIO26
id: relay1
- platform: gpio
name: "${friendly_name} Relay2"
pin: GPIO25
id: relay2
As you can see from the log, the problem is that it doesn’t connect to the wifi and therefore it keeps restarting the WiFi adapter without getting the connection.
Leaving...
Hard resetting via RTS pin...
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyUSB0 with baud rate 115200
[19:58:17][ 6][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[19:58:17][I][logger:259]: Log initialized
[19:58:17][C][ota:469]: There have been 0 suspected unsuccessful boot attempts.
[19:58:17][D][esp32.preferences:114]: Saving 1 preferences to flash...
[19:58:17][V][esp32.preferences:126]: sync: key: 233825507, len: 4
[19:58:17][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[19:58:17][I][app:029]: Running through setup()...
[19:58:17][V][app:030]: Sorting components by setup priority...
[19:58:17][I][i2c.arduino:183]: Performing I2C bus recovery
[19:58:17][ 86][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=21 scl=22 freq=100000
[19:58:17][V][i2c.arduino:048]: Scanning i2c bus for active devices...
[19:58:17][V][esp32.preferences:059]: nvs_get_blob('2799642738'): ESP_ERR_NVS_NOT_FOUND - the key might not be set yet
[19:58:17][V][esp32.preferences:059]: nvs_get_blob('953622520'): ESP_ERR_NVS_NOT_FOUND - the key might not be set yet
[19:58:17][C][switch.gpio:011]: Setting up GPIO Switch 'EisBar Relay1 - Sgancio Pannelli Solari'...
[19:58:17][D][switch:016]: 'EisBar Relay1 - Sgancio Pannelli Solari' Turning OFF.
[19:58:17][D][switch:055]: 'EisBar Relay1 - Sgancio Pannelli Solari': Sending state OFF
[19:58:17][D][switch:016]: 'EisBar Relay1 - Sgancio Pannelli Solari' Turning OFF.
[19:58:17][C][switch.gpio:011]: Setting up GPIO Switch 'EisBar Relay2'...
[19:58:17][D][switch:016]: 'EisBar Relay2' Turning OFF.
[19:58:17][D][switch:055]: 'EisBar Relay2': Sending state OFF
[19:58:17][D][switch:016]: 'EisBar Relay2' Turning OFF.
[19:58:17][V][esp32.preferences:059]: nvs_get_blob('2799642738'): ESP_ERR_NVS_NOT_FOUND - the key might not be set yet
[19:58:17][V][esp32.preferences:059]: nvs_get_blob('953622520'): ESP_ERR_NVS_NOT_FOUND - the key might not be set yet
[19:58:17][C][dallas.sensor:032]: Setting up DallasComponent...
[19:58:17][C][shtcx:028]: Setting up SHTCx...
[19:58:17][C][shtcx:056]: Device identified: [Unknown model] (20f0)
[19:58:17][C][adc:044]: Setting up ADC 'EisBar Tensione Batteria Servizi'...
[19:58:17][V][adc:062]: Using eFuse Vref for calibration
[19:58:17][V][adc:062]: Using eFuse Vref for calibration
[19:58:17][V][adc:062]: Using eFuse Vref for calibration
[19:58:17][V][adc:062]: Using eFuse Vref for calibration
[19:58:17][C][adc:083]: ADC 'EisBar Tensione Batteria Servizi' setup finished!
[19:58:17][C][adc:044]: Setting up ADC 'EisBar Tensione Batteria Motore'...
[19:58:17][V][adc:062]: Using eFuse Vref for calibration
[19:58:17][V][adc:062]: Using eFuse Vref for calibration
[19:58:17][V][adc:062]: Using eFuse Vref for calibration
[19:58:17][V][adc:062]: Using eFuse Vref for calibration
[19:58:17][C][adc:083]: ADC 'EisBar Tensione Batteria Motore' setup finished!
[19:58:17][C][adc:044]: Setting up ADC 'EisBar Tensione Pannelli Solari'...
[19:58:17][V][adc:062]: Using eFuse Vref for calibration
[19:58:17][V][adc:062]: Using eFuse Vref for calibration
[19:58:17][V][adc:062]: Using eFuse Vref for calibration
[19:58:17][V][adc:062]: Using eFuse Vref for calibration
[19:58:17][C][adc:083]: ADC 'EisBar Tensione Pannelli Solari' setup finished!
[19:58:17][D][binary_sensor:034]: 'EisBar Status': Sending initial state OFF
[19:58:17][V][text_sensor:013]: 'EisBar MAC': Received new state C8:C9:A3:F9:18:54
[19:58:17][D][text_sensor:064]: 'EisBar MAC': Sending state 'C8:C9:A3:F9:18:54'
[19:58:17][C][wifi:038]: Setting up WiFi...
[19:58:17][C][wifi:039]: Local MAC: C8:C9:A3:F9:18:54
[19:58:17][V][esp32.preferences:059]: nvs_get_blob('4184198716'): ESP_ERR_NVS_NOT_FOUND - the key might not be set yet
[19:58:17][V][wifi_esp32:039]: Enabling STA.
[19:58:17][ 627][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 0 - WIFI_READY
[19:58:17][V][wifi_esp32:454]: Event: WiFi ready
[19:58:17][ 728][V][WiFiGeneric.cpp:338] _arduino_event_cb(): STA Started
[19:58:17][ 729][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 2 - STA_START
[19:58:17][V][wifi_esp32:469]: Event: WiFi STA start
[19:58:17][D][sensor:110]: 'EisBar Tensione Batteria Motore': Sending state 1.50094 V with 2 decimals of accuracy
[19:58:17][V][adc:132]: 'EisBar Tensione Batteria Servizi': Got voltage=0.1420V
[19:58:17][V][sensor:059]: 'EisBar Tensione Batteria Servizi': Received new state 0.142000
[19:58:17][D][sensor:110]: 'EisBar Tensione Batteria Servizi': Sending state 1.50094 V with 2 decimals of accuracy
[19:58:18][V][adc:132]: 'EisBar Tensione Pannelli Solari': Got voltage=0.1420V
[19:58:18][V][sensor:059]: 'EisBar Tensione Pannelli Solari': Received new state 0.142000
[19:58:18][D][sensor:110]: 'EisBar Tensione Pannelli Solari': Sending state 1.50094 V with 2 decimals of accuracy
[19:58:18][D][shtcx:100]: Got temperature=21.17°C humidity=62.08%
[19:58:18][V][sensor:059]: 'EisBar Temperatura': Received new state 21.172409
[19:58:18][D][sensor:110]: 'EisBar Temperatura': Sending state 21.17241 °C with 1 decimals of accuracy
[19:58:18][V][sensor:059]: 'EisBar Umidità': Received new state 62.081909
[19:58:18][D][sensor:110]: 'EisBar Umidità': Sending state 62.08191 % with 1 decimals of accuracy
[19:58:18][D][dallas.sensor:143]: 'EisBar Temperature Batteria Servizi': Got Temperature=21.2°C
[19:58:18][V][sensor:059]: 'EisBar Temperature Batteria Servizi': Received new state 21.250000
[19:58:18][D][sensor:110]: 'EisBar Temperature Batteria Servizi': Sending state 21.25000 °C with 1 decimals of accuracy
[19:58:18][D][switch:016]: 'EisBar Relay1 - Sgancio Pannelli Solari' Turning OFF.
[19:58:18][D][dallas.sensor:143]: 'EisBar Temperature Batteria Motore': Got Temperature=21.2°C
[19:58:18][V][sensor:059]: 'EisBar Temperature Batteria Motore': Received new state 21.187500
[19:58:18][D][sensor:110]: 'EisBar Temperature Batteria Motore': Sending state 21.18750 °C with 1 decimals of accuracy
[19:58:18][D][switch:016]: 'EisBar Relay1 - Sgancio Pannelli Solari' Turning OFF.
[19:58:23][ 6551][V][WiFiGeneric.cpp:381] _arduino_event_cb(): SCAN Done: ID: 128, Status: 0, Results: 2
[19:58:23][ 6551][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 1 - SCAN_DONE
[19:58:23][V][wifi_esp32:463]: Event: WiFi Scan Done status=0 number=2 scan_id=128
[19:58:23][D][wifi:402]: Found networks:
[19:58:23][I][wifi:446]: - 'CCNET' (B4:0F:3B:F7:D4:29) [redacted]▂▄▆█
[19:58:23][D][wifi:447]: Channel: 1
[19:58:23][D][wifi:448]: RSSI: -55 dB
[19:58:23][I][wifi:446]: - 'CCNET' (B4:0F:3B:F7:D4:31) [redacted]▂▄▆█
[19:58:23][D][wifi:447]: Channel: 11
[19:58:23][D][wifi:448]: RSSI: -90 dB
[19:58:23][I][wifi:258]: WiFi Connecting to 'CCNET'...
[19:58:23][V][wifi:260]: Connection Params:
[19:58:23][V][wifi:261]: SSID: 'CCNET'
[19:58:23][V][wifi:264]: BSSID: B4:0F:3B:F7:D4:29
[19:58:23][V][wifi:284]: Password: 'EisBar001'[redacted]
[19:58:23][V][wifi:289]: Channel: 1
[19:58:23][V][wifi:298]: Using DHCP IP
[19:58:23][V][wifi:300]: Hidden: NO
[19:58:25][ 8316][V][WiFiGeneric.cpp:360] _arduino_event_cb(): STA Disconnected: SSID: CCNET, BSSID: b4:0f:3b:f7:d4:29, Reason: 2
[19:58:25][ 8317][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[19:58:25][ 8324][W][WiFiGeneric.cpp:950] _eventCallback(): Reason: 2 - AUTH_EXPIRE
[19:58:25][ 8330][D][WiFiGeneric.cpp:966] _eventCallback(): WiFi Reconnect Running
[19:58:25][ 8337][V][WiFiGeneric.cpp:97] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[19:58:25][W][wifi_esp32:504]: Event: Disconnected ssid='CCNET' bssid=B4:0F:3B:F7:D4:29[redacted] reason='Auth Expired'
[19:58:25][W][wifi:550]: Error while connecting to network.
[19:58:25][W][wifi:586]: Restarting WiFi adapter...
[19:58:25][V][wifi_esp32:041]: Disabling STA.
[19:58:25][ 8382][V][WiFiGeneric.cpp:341] _arduino_event_cb(): STA Stopped
[19:58:25][ 8383][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 3 - STA_STOP
[19:58:25][V][wifi_esp32:474]: Event: WiFi STA stop
[19:58:25][I][wifi:258]: WiFi Connecting to 'CCNET'...
[19:58:25][V][wifi:260]: Connection Params:
[19:58:25][V][wifi:261]: SSID: 'CCNET'
[19:58:25][V][wifi:264]: BSSID: B4:0F:3B:F7:D4:29
[19:58:25][V][wifi:284]: Password: 'EisBar001'[redacted]
[19:58:25][V][wifi:289]: Channel: 1
[19:58:25][V][wifi:298]: Using DHCP IP
[19:58:25][V][wifi:300]: Hidden: NO
[19:58:25][V][wifi_esp32:039]: Enabling STA.
[19:58:25][ 8540][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 0 - WIFI_READY
[19:58:25][V][wifi_esp32:454]: Event: WiFi ready
[19:58:25][ 8544][V][WiFiGeneric.cpp:338] _arduino_event_cb(): STA Started
[19:58:25][ 8551][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 2 - STA_START
[19:58:25][V][wifi_esp32:469]: Event: WiFi STA start
[19:58:27][ 10159][V][WiFiGeneric.cpp:360] _arduino_event_cb(): STA Disconnected: SSID: CCNET, BSSID: b4:0f:3b:f7:d4:29, Reason: 2
[19:58:27][ 10160][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[19:58:27][ 10167][W][WiFiGeneric.cpp:950] _eventCallback(): Reason: 2 - AUTH_EXPIRE
[19:58:27][W][wifi_esp32:504]: Event: Disconnected ssid='CCNET' bssid=B4:0F:3B:F7:D4:29[redacted] reason='Auth Expired'
[19:58:27][W][wifi:550]: Error while connecting to network.
[19:58:27][W][wifi:586]: Restarting WiFi adapter...
[19:58:27][V][wifi_esp32:041]: Disabling STA.
[19:58:27][ 10206][V][WiFiGeneric.cpp:341] _arduino_event_cb(): STA Stopped
[19:58:27][ 10208][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 3 - STA_STOP
[19:58:27][V][wifi_esp32:474]: Event: WiFi STA stop
[19:58:32][D][wifi:387]: Starting scan...
[19:58:32][V][wifi_esp32:039]: Enabling STA.
[19:58:32][ 15335][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 0 - WIFI_READY
[19:58:32][V][wifi_esp32:454]: Event: WiFi ready
[19:58:32][ 15339][V][WiFiGeneric.cpp:338] _arduino_event_cb(): STA Started
[19:58:32][ 15346][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 2 - STA_START
[19:58:32][V][wifi_esp32:469]: Event: WiFi STA start
[19:58:34][ 17523][V][WiFiGeneric.cpp:381] _arduino_event_cb(): SCAN Done: ID: 129, Status: 0, Results: 3
[19:58:34][ 17524][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 1 - SCAN_DONE
[19:58:34][V][wifi_esp32:463]: Event: WiFi Scan Done status=0 number=3 scan_id=129
[19:58:34][D][wifi:402]: Found networks:
[19:58:34][I][wifi:446]: - 'CCNET' (B4:0F:3B:F7:D4:39) [redacted]▂▄▆█
[19:58:34][D][wifi:447]: Channel: 6
[19:58:34][D][wifi:448]: RSSI: -91 dB
[19:58:34][I][wifi:446]: - 'CCNET' (B4:0F:3B:F7:D4:31) [redacted]▂▄▆█
[19:58:34][D][wifi:447]: Channel: 11
[19:58:34][D][wifi:448]: RSSI: -92 dB
[19:58:34][I][wifi:446]: - 'CCNET' (B4:0F:3B:F7:D4:29) [redacted]▂▄▆█
[19:58:34][D][wifi:447]: Channel: 1
[19:58:34][D][wifi:448]: RSSI: -64 dB
[19:58:34][I][wifi:258]: WiFi Connecting to 'CCNET'...
[19:58:34][V][wifi:260]: Connection Params:
[19:58:34][V][wifi:261]: SSID: 'CCNET'
[19:58:34][V][wifi:264]: BSSID: B4:0F:3B:F7:D4:39
[19:58:34][V][wifi:284]: Password: 'EisBar001'[redacted]
[19:58:34][V][wifi:289]: Channel: 6
[19:58:34][V][wifi:298]: Using DHCP IP
[19:58:34][V][wifi:300]: Hidden: NO
[19:58:36][ 19289][V][WiFiGeneric.cpp:360] _arduino_event_cb(): STA Disconnected: SSID: CCNET, BSSID: b4:0f:3b:f7:d4:39, Reason: 2
[19:58:36][ 19289][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[19:58:36][ 19296][W][WiFiGeneric.cpp:950] _eventCallback(): Reason: 2 - AUTH_EXPIRE
[19:58:36][W][wifi_esp32:504]: Event: Disconnected ssid='CCNET' bssid=B4:0F:3B:F7:D4:39[redacted] reason='Auth Expired'
[19:58:36][W][wifi:550]: Error while connecting to network.
[19:58:36][W][wifi:586]: Restarting WiFi adapter...
[19:58:36][V][wifi_esp32:041]: Disabling STA.
[19:58:36][ 19336][V][WiFiGeneric.cpp:341] _arduino_event_cb(): STA Stopped
[19:58:36][ 19338][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 3 - STA_STOP
[19:58:36][V][wifi_esp32:474]: Event: WiFi STA stop
[19:58:36][I][wifi:258]: WiFi Connecting to 'CCNET'...
[19:58:36][V][wifi:260]: Connection Params:
[19:58:36][V][wifi:261]: SSID: 'CCNET'
[19:58:36][V][wifi:264]: BSSID: B4:0F:3B:F7:D4:39
[19:58:36][V][wifi:284]: Password: 'EisBar001'[redacted]
[19:58:36][V][wifi:289]: Channel: 6
[19:58:36][V][wifi:298]: Using DHCP IP
[19:58:36][V][wifi:300]: Hidden: NO
[19:58:36][V][wifi_esp32:039]: Enabling STA.
[19:58:36][ 19495][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 0 - WIFI_READY
[19:58:36][V][wifi_esp32:454]: Event: WiFi ready
[19:58:36][ 19499][V][WiFiGeneric.cpp:338] _arduino_event_cb(): STA Started
[19:58:36][ 19506][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 2 - STA_START
[19:58:36][V][wifi_esp32:469]: Event: WiFi STA start
[19:58:38][ 21132][V][WiFiGeneric.cpp:360] _arduino_event_cb(): STA Disconnected: SSID: CCNET, BSSID: b4:0f:3b:f7:d4:39, Reason: 2
[19:58:38][ 21133][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[19:58:38][ 21140][W][WiFiGeneric.cpp:950] _eventCallback(): Reason: 2 - AUTH_EXPIRE
[19:58:38][W][wifi_esp32:504]: Event: Disconnected ssid='CCNET' bssid=B4:0F:3B:F7:D4:39[redacted] reason='Auth Expired'
[19:58:38][W][wifi:550]: Error while connecting to network.
[19:58:38][W][wifi:586]: Restarting WiFi adapter...
[19:58:38][V][wifi_esp32:041]: Disabling STA.
[19:58:38][ 21180][V][WiFiGeneric.cpp:341] _arduino_event_cb(): STA Stopped
[19:58:38][ 21182][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 3 - STA_STOP
[19:58:38][V][wifi_esp32:474]: Event: WiFi STA stop
[19:58:38][D][shtcx:100]: Got temperature=21.16°C humidity=61.65%
[19:58:38][V][sensor:059]: 'EisBar Temperatura': Received new state 21.159058
[19:58:38][D][sensor:110]: 'EisBar Temperatura': Sending state 21.15906 °C with 1 decimals of accuracy
[19:58:38][V][sensor:059]: 'EisBar Umidità': Received new state 61.650085
[19:58:38][D][sensor:110]: 'EisBar Umidità': Sending state 61.65009 % with 1 decimals of accuracy
[19:58:39][D][dallas.sensor:143]: 'EisBar Temperature Batteria Servizi': Got Temperature=21.2°C
[19:58:39][V][sensor:059]: 'EisBar Temperature Batteria Servizi': Received new state 21.250000
[19:58:39][D][sensor:110]: 'EisBar Temperature Batteria Servizi': Sending state 21.25000 °C with 1 decimals of accuracy
[19:58:39][D][dallas.sensor:143]: 'EisBar Temperature Batteria Motore': Got Temperature=21.2°C
[19:58:39][V][sensor:059]: 'EisBar Temperature Batteria Motore': Received new state 21.187500
[19:58:39][D][sensor:110]: 'EisBar Temperature Batteria Motore': Sending state 21.18750 °C with 1 decimals of accuracy
[19:58:39][V][adc:132]: 'EisBar Tensione Batteria Servizi': Got voltage=0.1420V
[19:58:39][V][sensor:059]: 'EisBar Tensione Batteria Servizi': Received new state 0.142000
[19:58:39][D][sensor:110]: 'EisBar Tensione Batteria Servizi': Sending state 1.50094 V with 2 decimals of accuracy
But if I delete the two dallas sensors from the .Yaml file, as if by magic, everything works perfectly!
My attempts were:
replacement of ESP32
remove all sensors and/or switches one at a time from the .Yaml file
change wifi router.
Change type of ESP32 board on the .yaml file
What creates the problem are the two Dallas sensors. I can keep the configuration with the GPIO and nothing happens.
Does anyone with more genius than me have an idea what’s going on??
Thanks for any help you can give me.
Costa
HA 2023.4.6
ESPhome 2023.4.2