Hi everyone!
I have run into a problem with showing temperatures picked up by 10x Dallas DS18B20 temp probes, connected to a NodeMCU V3-module ESP8266 ESP-12F.
Before, I had no problem displaying the temperatures in the HA GUI and it worked just fine, suddenly the entities just shows as unavailable, without any changes made by me (that I know of…)
Strange thing is that they are detected and reports temperature just fine in the ESPHome add-on dashboard.
Only thing I can think of is that the reception isn’t great since the board is placed in the basement, but it has worked flawlessely before. The connection seems to go down once in a while in the ESPHome dashboard (at least it’s sometimes listed as offline, but always revert to online when opening logs).
Anyone facing the same problem? I would really appreciate some help along the way!
In the GUI:
Logs from ESPHome dashboard:
INFO Reading configuration /config/esphome/vedpanna-temperatur-nr3.yaml...
INFO Starting log output from vedpanna-temperatur-nr3.local using esphome API
INFO Successfully connected to vedpanna-temperatur-nr3.local
[13:42:27][I][app:102]: ESPHome version 2022.9.3 compiled on Oct 6 2022, 02:39:19
[13:42:27][C][wifi:502]: WiFi:
[13:42:27][C][wifi:360]: Local MAC: XXX
[13:42:27][C][wifi:361]: SSID: 'KBT'[redacted]
[13:42:27][C][wifi:362]: IP Address: XXX
[13:42:27][C][wifi:363]: BSSID: 14:DE:39:FC:A9:7A[redacted]
[13:42:27][C][wifi:365]: Hostname: 'vedpanna-temperatur-nr3'
[13:42:27][C][wifi:367]: Signal strength: -91 dB ▂▄▆█
[13:42:27][C][wifi:371]: Channel: 13
[13:42:27][C][wifi:372]: Subnet: XXX
[13:42:27][C][wifi:373]: Gateway: XXX
[13:42:27][C][wifi:374]: DNS1: XXX
[13:42:27][C][wifi:375]: DNS2:XXX
[13:42:27][C][logger:275]: Logger:
[13:42:27][C][logger:276]: Level: DEBUG
[13:42:27][C][logger:277]: Log Baud Rate: 115200
[13:42:27][C][logger:278]: Hardware UART: UART0
[13:42:27][C][dallas.sensor:075]: DallasComponent:
[13:42:27][C][dallas.sensor:076]: Pin: GPIO13
[13:42:27][C][dallas.sensor:077]: Update Interval: 300.0s
[13:42:27][D][dallas.sensor:082]: Found sensors:
[13:42:27][D][dallas.sensor:084]: 0x9dc990e90264ff28
[13:42:27][D][dallas.sensor:084]: 0x9b29d4eb0264ff28
[13:42:27][D][dallas.sensor:084]: 0x9aa8b9eb0264ff28
[13:42:27][D][dallas.sensor:084]: 0xaa0620f70264ff28
[13:42:27][D][dallas.sensor:084]: 0x186634f70264ff28
[13:42:27][D][dallas.sensor:084]: 0xd0ee5af70264ff28
[13:42:27][D][dallas.sensor:084]: 0x045c3af70264ff28
[13:42:27][D][dallas.sensor:084]: 0x573041f70264ff28
[13:42:27][D][dallas.sensor:084]: 0xddfd2bf70264ff28
[13:42:27][D][dallas.sensor:084]: 0xa3f72bf70264ff28
[13:42:27][C][dallas.sensor:089]: Device 'Framledning radiator'
[13:42:27][C][dallas.sensor:089]: Device Class: 'temperature'
[13:42:27][C][dallas.sensor:089]: State Class: 'measurement'
[13:42:27][C][dallas.sensor:089]: Unit of Measurement: '°C'
[13:42:27][C][dallas.sensor:089]: Accuracy Decimals: 1
[13:42:27][C][dallas.sensor:097]: Address: 0x9b29d4eb0264ff28
[13:42:27][C][dallas.sensor:098]: Resolution: 12
[13:42:27][C][dallas.sensor:089]: Device 'Retur radiator'
[13:42:27][C][dallas.sensor:089]: Device Class: 'temperature'
[13:42:27][C][dallas.sensor:089]: State Class: 'measurement'
[13:42:27][C][dallas.sensor:089]: Unit of Measurement: '°C'
[13:42:28][C][dallas.sensor:089]: Accuracy Decimals: 1
[13:42:28][C][dallas.sensor:097]: Address: 0x573041f70264ff28
[13:42:28][C][dallas.sensor:098]: Resolution: 12
[13:42:28][C][dallas.sensor:089]: Device 'Tekniktank 1'
[13:42:28][C][dallas.sensor:089]: Device Class: 'temperature'
[13:42:28][C][dallas.sensor:089]: State Class: 'measurement'
[13:42:28][C][dallas.sensor:089]: Unit of Measurement: '°C'
[13:42:28][C][dallas.sensor:089]: Accuracy Decimals: 1
[13:42:28][C][dallas.sensor:097]: Address: 0x186634f70264ff28
[13:42:28][C][dallas.sensor:098]: Resolution: 12
[13:42:28][C][dallas.sensor:089]: Device 'Tekniktank 2'
[13:42:28][C][dallas.sensor:089]: Device Class: 'temperature'
[13:42:28][C][dallas.sensor:089]: State Class: 'measurement'
[13:42:28][C][dallas.sensor:089]: Unit of Measurement: '°C'
[13:42:28][C][dallas.sensor:089]: Accuracy Decimals: 1
[13:42:28][C][dallas.sensor:097]: Address: 0x9aa8b9eb0264ff28
[13:42:28][C][dallas.sensor:098]: Resolution: 12
[13:42:28][C][dallas.sensor:089]: Device 'Tekniktank 3'
[13:42:28][C][dallas.sensor:089]: Device Class: 'temperature'
[13:42:28][C][dallas.sensor:089]: State Class: 'measurement'
[13:42:28][C][dallas.sensor:089]: Unit of Measurement: '°C'
[13:42:28][C][dallas.sensor:089]: Accuracy Decimals: 1
[13:42:28][C][dallas.sensor:097]: Address: 0x045c3af70264ff28
[13:42:28][C][dallas.sensor:098]: Resolution: 12
[13:42:28][C][dallas.sensor:089]: Device 'Slavtank 1'
[13:42:28][C][dallas.sensor:089]: Device Class: 'temperature'
[13:42:28][C][dallas.sensor:089]: State Class: 'measurement'
[13:42:28][C][dallas.sensor:089]: Unit of Measurement: '°C'
[13:42:28][C][dallas.sensor:089]: Accuracy Decimals: 1
[13:42:28][C][dallas.sensor:097]: Address: 0xaa0620f70264ff28
[13:42:28][C][dallas.sensor:098]: Resolution: 12
[13:42:28][C][dallas.sensor:089]: Device 'Slavtank 2'
[13:42:28][C][dallas.sensor:089]: Device Class: 'temperature'
[13:42:28][C][dallas.sensor:089]: State Class: 'measurement'
[13:42:28][C][dallas.sensor:089]: Unit of Measurement: '°C'
[13:42:28][C][dallas.sensor:089]: Accuracy Decimals: 1
[13:42:28][C][dallas.sensor:097]: Address: 0xd0ee5af70264ff28
[13:42:28][C][dallas.sensor:098]: Resolution: 12
[13:42:28][C][dallas.sensor:089]: Device 'Slavtank 3'
[13:42:28][C][dallas.sensor:089]: Device Class: 'temperature'
[13:42:28][C][dallas.sensor:089]: State Class: 'measurement'
[13:42:28][C][dallas.sensor:089]: Unit of Measurement: '°C'
[13:42:28][C][dallas.sensor:089]: Accuracy Decimals: 1
[13:42:28][C][dallas.sensor:097]: Address: 0xddfd2bf70264ff28
[13:42:28][C][dallas.sensor:098]: Resolution: 12
[13:42:28][C][dallas.sensor:089]: Device 'Panna'
[13:42:28][C][dallas.sensor:089]: Device Class: 'temperature'
[13:42:28][C][dallas.sensor:089]: State Class: 'measurement'
[13:42:28][C][dallas.sensor:089]: Unit of Measurement: '°C'
[13:42:28][C][dallas.sensor:089]: Accuracy Decimals: 1
[13:42:28][C][dallas.sensor:097]: Address: 0x9dc990e90264ff28
[13:42:28][C][dallas.sensor:098]: Resolution: 12
[13:42:28][C][dallas.sensor:089]: Device 'Skorsten'
[13:42:28][C][dallas.sensor:089]: Device Class: 'temperature'
[13:42:28][C][dallas.sensor:089]: State Class: 'measurement'
[13:42:28][C][dallas.sensor:089]: Unit of Measurement: '°C'
[13:42:28][C][dallas.sensor:089]: Accuracy Decimals: 1
[13:42:28][C][dallas.sensor:097]: Address: 0xa3f72bf70264ff28
[13:42:28][C][dallas.sensor:098]: Resolution: 12
[13:42:28][C][captive_portal:088]: Captive Portal:
[13:42:28][C][mdns:094]: mDNS:
[13:42:28][C][mdns:095]: Hostname: vedpanna-temperatur-nr3
[13:42:28][C][ota:089]: Over-The-Air Updates:
[13:42:28][C][ota:090]: Address: vedpanna-temperatur-nr3.local:8266
[13:42:28][C][ota:093]: Using Password.
[13:42:28][C][api:138]: API Server:
[13:42:28][C][api:139]: Address: vedpanna-temperatur-nr3.local:6053
[13:42:28][C][api:141]: Using noise encryption: YES
[13:43:14][D][dallas.sensor:143]: 'Retur radiator': Got Temperature=66.1°C
[13:43:14][D][sensor:126]: 'Retur radiator': Sending state 66.06250 °C with 1 decimals of accuracy
[13:43:14][D][dallas.sensor:143]: 'Slavtank 1': Got Temperature=81.3°C
[13:43:14][D][sensor:126]: 'Slavtank 1': Sending state 81.31250 °C with 1 decimals of accuracy
[13:43:14][D][dallas.sensor:143]: 'Tekniktank 3': Got Temperature=71.5°C
[13:43:14][D][sensor:126]: 'Tekniktank 3': Sending state 71.50000 °C with 1 decimals of accuracy
[13:43:14][D][dallas.sensor:143]: 'Skorsten': Got Temperature=22.8°C
[13:43:14][D][sensor:126]: 'Skorsten': Sending state 22.81250 °C with 1 decimals of accuracy
[13:43:14][D][dallas.sensor:143]: 'Panna': Got Temperature=72.9°C
[13:43:14][D][sensor:126]: 'Panna': Sending state 72.93750 °C with 1 decimals of accuracy
[13:43:14][D][dallas.sensor:143]: 'Slavtank 3': Got Temperature=79.4°C
[13:43:14][D][sensor:126]: 'Slavtank 3': Sending state 79.37500 °C with 1 decimals of accuracy
[13:43:14][D][dallas.sensor:143]: 'Slavtank 2': Got Temperature=79.6°C
[13:43:14][D][sensor:126]: 'Slavtank 2': Sending state 79.56250 °C with 1 decimals of accuracy
[13:43:14][D][dallas.sensor:143]: 'Framledning radiator': Got Temperature=79.2°C
[13:43:14][D][sensor:126]: 'Framledning radiator': Sending state 79.18750 °C with 1 decimals of accuracy
[13:43:14][D][dallas.sensor:143]: 'Tekniktank 2': Got Temperature=74.7°C
[13:43:14][D][sensor:126]: 'Tekniktank 2': Sending state 74.68750 °C with 1 decimals of accuracy
[13:43:14][D][dallas.sensor:143]: 'Tekniktank 1': Got Temperature=86.1°C
[13:43:14][D][sensor:126]: 'Tekniktank 1': Sending state 86.06250 °C with 1 decimals of accuracy
Validate:
INFO Reading configuration /config/esphome/vedpanna-temperatur-nr3.yaml...
INFO Configuration is valid!
esphome:
name: vedpanna-temperatur-nr3
build_path: .esphome/build/vedpanna-temperatur-nr3
platformio_options: {}
includes: []
libraries: []
name_add_mac_suffix: false
esp8266:
board: nodemcuv2
framework:
version: 3.0.2
source: ~3.30002.0
platform_version: platformio/espressif8266 @ 3.2.0
restore_from_flash: false
early_pin_init: true
board_flash_mode: dout
dallas:
- pin:
number: 13
mode:
output: true
analog: false
input: false
open_drain: false
pullup: false
pulldown: false
inverted: false
update_interval: 300s
sensor:
- platform: dallas
address: 0x9B29D4EB0264FF28
name: Framledning radiator
disabled_by_default: false
force_update: false
unit_of_measurement: °C
accuracy_decimals: 1
device_class: temperature
state_class: measurement
resolution: 12
- platform: dallas
address: 0x573041F70264FF28
name: Retur radiator
disabled_by_default: false
force_update: false
unit_of_measurement: °C
accuracy_decimals: 1
device_class: temperature
state_class: measurement
resolution: 12
- platform: dallas
address: 0x186634F70264FF28
name: Tekniktank 1
disabled_by_default: false
force_update: false
unit_of_measurement: °C
accuracy_decimals: 1
device_class: temperature
state_class: measurement
resolution: 12
- platform: dallas
address: 0x9AA8B9EB0264FF28
name: Tekniktank 2
disabled_by_default: false
force_update: false
unit_of_measurement: °C
accuracy_decimals: 1
device_class: temperature
state_class: measurement
resolution: 12
- platform: dallas
address: 0x45C3AF70264FF28
name: Tekniktank 3
disabled_by_default: false
force_update: false
unit_of_measurement: °C
accuracy_decimals: 1
device_class: temperature
state_class: measurement
resolution: 12
- platform: dallas
address: 0xAA0620F70264FF28
name: Slavtank 1
disabled_by_default: false
force_update: false
unit_of_measurement: °C
accuracy_decimals: 1
device_class: temperature
state_class: measurement
resolution: 12
- platform: dallas
address: 0xD0EE5AF70264FF28
name: Slavtank 2
disabled_by_default: false
force_update: false
unit_of_measurement: °C
accuracy_decimals: 1
device_class: temperature
state_class: measurement
resolution: 12
- platform: dallas
address: 0xDDFD2BF70264FF28
name: Slavtank 3
disabled_by_default: false
force_update: false
unit_of_measurement: °C
accuracy_decimals: 1
device_class: temperature
state_class: measurement
resolution: 12
- platform: dallas
address: 0x9DC990E90264FF28
name: Panna
disabled_by_default: false
force_update: false
unit_of_measurement: °C
accuracy_decimals: 1
device_class: temperature
state_class: measurement
resolution: 12
- platform: dallas
address: 0xA3F72BF70264FF28
name: Skorsten
disabled_by_default: false
force_update: false
unit_of_measurement: °C
accuracy_decimals: 1
device_class: temperature
state_class: measurement
resolution: 12
logger:
baud_rate: 115200
tx_buffer_size: 512
deassert_rts_dtr: false
hardware_uart: UART0
level: DEBUG
logs: {}
esp8266_store_log_strings_in_flash: true
api:
encryption:
key: XXX
port: 6053
password: ''
reboot_timeout: 15min
ota:
password: XXX
safe_mode: true
port: 8266
reboot_timeout: 5min
num_attempts: 10
wifi:
ap:
ssid: Vedpanna-Temperatur-Nr3
password: XXX
ap_timeout: 1min
domain: .local
reboot_timeout: 15min
power_save_mode: NONE
fast_connect: false
output_power: 20.0
networks:
- ssid: !secret 'wifi_ssid'
password: !secret 'wifi_password'
priority: 0.0
use_address: vedpanna-temperatur-nr3.local
captive_portal: {}
Yaml in ESPHome:
name: vedpanna-temperatur-nr3
esp8266:
board: nodemcuv2
dallas:
pin: D7
update_interval: 300s
sensor:
- platform: dallas
address: 0x9b29d4eb0264ff28
name: "Framledning radiator"
- platform: dallas
address: 0x573041f70264ff28
name: "Retur radiator"
- platform: dallas
address: 0x186634f70264ff28
name: "Tekniktank 1"
- platform: dallas
address: 0x9aa8b9eb0264ff28
name: "Tekniktank 2"
- platform: dallas
address: 0x045c3af70264ff28
name: "Tekniktank 3"
- platform: dallas
address: 0xaa0620f70264ff28
name: "Slavtank 1"
- platform: dallas
address: 0xd0ee5af70264ff28
name: "Slavtank 2"
- platform: dallas
address: 0xddfd2bf70264ff28
name: "Slavtank 3"
- platform: dallas
address: 0x9dc990e90264ff28
name: "Panna"
- platform: dallas
address: 0xa3f72bf70264ff28
name: "Skorsten"
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: XXX
ota:
password: XXX
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Vedpanna-Temperatur-Nr3"
password: XXX
captive_portal: