To all and moderator: this is a cross post, I am really sorry but I placed the first thread wrong, and I have not found a way to contact a moderator and ask for help moving the topic so I try to create a new topic here, and hope that the old topic can be removed. I apologize for my ignorance and for the inconvenience! (If anyone could let me know how to contact a moderator I would be most grateful!).
The issue:
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 and the temperatures were always showed in the GUI. The connection seems to go down once in a while in the ESPHome dashboard (at least it’s sometimes listed as offline when opening ESPHome addon, but always revert to online when opening logs) but if this were a problem before, I never noticed it. The temps were just always there in the GUI…
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 192.168.8.103 using esphome API
INFO Successfully connected to 192.168.8.103
[12:04:30][I][app:102]: ESPHome version 2022.9.3 compiled on Oct 6 2022, 02:39:19
[12:04:30][C][wifi:502]: WiFi:
[12:04:30][C][wifi:360]: Local MAC: 30:83:98:B5:F3:8B
[12:04:30][C][wifi:361]: SSID: [redacted]
[12:04:30][C][wifi:362]: IP Address: 192.168.8.103
[12:04:30][C][wifi:363]: BSSID: [redacted]
[12:04:30][C][wifi:365]: Hostname: 'vedpanna-temperatur-nr3'
[12:04:30][C][wifi:367]: Signal strength: -89 dB ▂▄▆█
[12:04:30][C][wifi:371]: Channel: 13
[12:04:30][C][wifi:372]: Subnet: 255.255.255.0
[12:04:30][C][wifi:373]: Gateway: 192.168.8.1
[12:04:30][C][wifi:374]: DNS1: 192.168.8.1
[12:04:30][C][wifi:375]: DNS2: 0.0.0.0
[12:04:30][C][logger:275]: Logger:
[12:04:30][C][logger:276]: Level: DEBUG
[12:04:30][C][logger:277]: Log Baud Rate: 115200
[12:04:30][C][logger:278]: Hardware UART: UART0
[12:04:30][C][dallas.sensor:075]: DallasComponent:
[12:04:30][C][dallas.sensor:076]: Pin: GPIO13
[12:04:30][C][dallas.sensor:077]: Update Interval: 300.0s
[12:04:30][D][dallas.sensor:082]: Found sensors:
[12:04:30][D][dallas.sensor:084]: 0x9dc990e90264ff28
[12:04:30][D][dallas.sensor:084]: 0x9b29d4eb0264ff28
[12:04:30][D][dallas.sensor:084]: 0x9aa8b9eb0264ff28
[12:04:30][D][dallas.sensor:084]: 0xaa0620f70264ff28
[12:04:30][D][dallas.sensor:084]: 0x186634f70264ff28
[12:04:30][D][dallas.sensor:084]: 0xd0ee5af70264ff28
[12:04:30][D][dallas.sensor:084]: 0x045c3af70264ff28
[12:04:30][D][dallas.sensor:084]: 0x573041f70264ff28
[12:04:30][D][dallas.sensor:084]: 0xddfd2bf70264ff28
[12:04:30][D][dallas.sensor:084]: 0xa3f72bf70264ff28
[12:04:30][C][dallas.sensor:089]: Device 'Framledning radiator'
[12:04:30][C][dallas.sensor:089]: Device Class: 'temperature'
[12:04:30][C][dallas.sensor:089]: State Class: 'measurement'
[12:04:30][C][dallas.sensor:089]: Unit of Measurement: '°C'
[12:04:30][C][dallas.sensor:089]: Accuracy Decimals: 1
[12:04:30][C][dallas.sensor:097]: Address: 0x9b29d4eb0264ff28
[12:04:30][C][dallas.sensor:098]: Resolution: 12
[12:04:30][C][dallas.sensor:089]: Device 'Retur radiator'
[12:04:30][C][dallas.sensor:089]: Device Class: 'temperature'
[12:04:30][C][dallas.sensor:089]: State Class: 'measurement'
[12:04:30][C][dallas.sensor:089]: Unit of Measurement: '°C'
[12:04:30][C][dallas.sensor:089]: Accuracy Decimals: 1
[12:04:30][C][dallas.sensor:097]: Address: 0x573041f70264ff28
[12:04:30][C][dallas.sensor:098]: Resolution: 12
[12:04:30][C][dallas.sensor:089]: Device 'Tekniktank 1'
[12:04:30][C][dallas.sensor:089]: Device Class: 'temperature'
[12:04:30][C][dallas.sensor:089]: State Class: 'measurement'
[12:04:30][C][dallas.sensor:089]: Unit of Measurement: '°C'
[12:04:30][C][dallas.sensor:089]: Accuracy Decimals: 1
[12:04:30][C][dallas.sensor:097]: Address: 0x186634f70264ff28
[12:04:30][C][dallas.sensor:098]: Resolution: 12
[12:04:30][C][dallas.sensor:089]: Device 'Tekniktank 2'
[12:04:30][C][dallas.sensor:089]: Device Class: 'temperature'
[12:04:30][C][dallas.sensor:089]: State Class: 'measurement'
[12:04:30][C][dallas.sensor:089]: Unit of Measurement: '°C'
[12:04:30][C][dallas.sensor:089]: Accuracy Decimals: 1
[12:04:30][C][dallas.sensor:097]: Address: 0x9aa8b9eb0264ff28
[12:04:30][C][dallas.sensor:098]: Resolution: 12
[12:04:30][C][dallas.sensor:089]: Device 'Tekniktank 3'
[12:04:30][C][dallas.sensor:089]: Device Class: 'temperature'
[12:04:30][C][dallas.sensor:089]: State Class: 'measurement'
[12:04:30][C][dallas.sensor:089]: Unit of Measurement: '°C'
[12:04:30][C][dallas.sensor:089]: Accuracy Decimals: 1
[12:04:30][C][dallas.sensor:097]: Address: 0x045c3af70264ff28
[12:04:30][C][dallas.sensor:098]: Resolution: 12
[12:04:30][C][dallas.sensor:089]: Device 'Slavtank 1'
[12:04:30][C][dallas.sensor:089]: Device Class: 'temperature'
[12:04:30][C][dallas.sensor:089]: State Class: 'measurement'
[12:04:30][C][dallas.sensor:089]: Unit of Measurement: '°C'
[12:04:30][C][dallas.sensor:089]: Accuracy Decimals: 1
[12:04:30][C][dallas.sensor:097]: Address: 0xaa0620f70264ff28
[12:04:30][C][dallas.sensor:098]: Resolution: 12
[12:04:30][C][dallas.sensor:089]: Device 'Slavtank 2'
[12:04:30][C][dallas.sensor:089]: Device Class: 'temperature'
[12:04:30][C][dallas.sensor:089]: State Class: 'measurement'
[12:04:30][C][dallas.sensor:089]: Unit of Measurement: '°C'
[12:04:30][C][dallas.sensor:089]: Accuracy Decimals: 1
[12:04:30][C][dallas.sensor:097]: Address: 0xd0ee5af70264ff28
[12:04:30][C][dallas.sensor:098]: Resolution: 12
[12:04:30][C][dallas.sensor:089]: Device 'Slavtank 3'
[12:04:30][C][dallas.sensor:089]: Device Class: 'temperature'
[12:04:30][C][dallas.sensor:089]: State Class: 'measurement'
[12:04:30][C][dallas.sensor:089]: Unit of Measurement: '°C'
[12:04:30][C][dallas.sensor:089]: Accuracy Decimals: 1
[12:04:30][C][dallas.sensor:097]: Address: 0xddfd2bf70264ff28
[12:04:30][C][dallas.sensor:098]: Resolution: 12
[12:04:30][C][dallas.sensor:089]: Device 'Panna'
[12:04:30][C][dallas.sensor:089]: Device Class: 'temperature'
[12:04:30][C][dallas.sensor:089]: State Class: 'measurement'
[12:04:30][C][dallas.sensor:089]: Unit of Measurement: '°C'
[12:04:30][C][dallas.sensor:089]: Accuracy Decimals: 1
[12:04:30][C][dallas.sensor:097]: Address: 0x9dc990e90264ff28
[12:04:30][C][dallas.sensor:098]: Resolution: 12
[12:04:30][C][dallas.sensor:089]: Device 'Skorsten'
[12:04:30][C][dallas.sensor:089]: Device Class: 'temperature'
[12:04:30][C][dallas.sensor:089]: State Class: 'measurement'
[12:04:30][C][dallas.sensor:089]: Unit of Measurement: '°C'
[12:04:30][C][dallas.sensor:089]: Accuracy Decimals: 1
[12:04:30][C][dallas.sensor:097]: Address: 0xa3f72bf70264ff28
[12:04:30][C][dallas.sensor:098]: Resolution: 12
[12:04:30][C][captive_portal:088]: Captive Portal:
[12:04:30][C][mdns:094]: mDNS:
[12:04:30][C][mdns:095]: Hostname: vedpanna-temperatur-nr3
[12:04:30][C][ota:089]: Over-The-Air Updates:
[12:04:30][C][ota:090]: Address: vedpanna-temperatur-nr3.local:8266
[12:04:30][C][ota:093]: Using Password.
[12:04:30][C][api:138]: API Server:
[12:04:30][C][api:139]: Address: vedpanna-temperatur-nr3.local:6053
[12:04:30][C][api:141]: Using noise encryption: YES
[12:05:00][D][dallas.sensor:143]: 'Framledning radiator': Got Temperature=19.2°C
[12:05:00][D][sensor:126]: 'Framledning radiator': Sending state 19.25000 °C with 1 decimals of accuracy
[12:05:00][D][dallas.sensor:143]: 'Retur radiator': Got Temperature=23.1°C
[12:05:00][D][sensor:126]: 'Retur radiator': Sending state 23.12500 °C with 1 decimals of accuracy
[12:05:00][D][dallas.sensor:143]: 'Slavtank 1': Got Temperature=59.6°C
[12:05:00][D][sensor:126]: 'Slavtank 1': Sending state 59.56250 °C with 1 decimals of accuracy
[12:05:00][D][dallas.sensor:143]: 'Tekniktank 3': Got Temperature=23.2°C
[12:05:00][D][sensor:126]: 'Tekniktank 3': Sending state 23.18750 °C with 1 decimals of accuracy
[12:05:00][D][dallas.sensor:143]: 'Skorsten': Got Temperature=15.0°C
[12:05:00][D][sensor:126]: 'Skorsten': Sending state 15.00000 °C with 1 decimals of accuracy
[12:05:00][D][dallas.sensor:143]: 'Panna': Got Temperature=25.0°C
[12:05:00][D][sensor:126]: 'Panna': Sending state 25.00000 °C with 1 decimals of accuracy
[12:05:00][D][dallas.sensor:143]: 'Slavtank 3': Got Temperature=29.9°C
[12:05:00][D][sensor:126]: 'Slavtank 3': Sending state 29.93750 °C with 1 decimals of accuracy
[12:05:00][D][dallas.sensor:143]: 'Tekniktank 1': Got Temperature=49.4°C
[12:05:00][D][sensor:126]: 'Tekniktank 1': Sending state 49.37500 °C with 1 decimals of accuracy
[12:05:00][D][dallas.sensor:143]: 'Tekniktank 2': Got Temperature=23.8°C
[12:05:00][D][sensor:126]: 'Tekniktank 2': Sending state 23.75000 °C with 1 decimals of accuracy
[12:05:00][D][dallas.sensor:143]: 'Slavtank 2': Got Temperature=42.8°C
[12:05:00][D][sensor:126]: 'Slavtank 2': Sending state 42.75000 °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: XXX
reboot_timeout: 15min
ota:
password: 862bfb947e63341c8ac9431814fb4008
safe_mode: true
port: 8266
reboot_timeout: 5min
num_attempts: 10
wifi:
manual_ip:
static_ip: 192.168.8.103
gateway: 192.168.0.1
subnet: 255.255.255.0
dns1: 0.0.0.0
dns2: 0.0.0.0
domain: .local
reboot_timeout: 15min
power_save_mode: NONE
fast_connect: false
output_power: 20.0
networks:
- ssid: XXX
password: XXX
priority: 0.0
use_address: 192.168.8.103
Yaml in ESPHome:
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: XXX
password: XXX
# Enable fallback hotspot (captive portal) in case wifi connection fails
manual_ip:
static_ip: 192.168.8.103
gateway: 192.168.0.1
subnet: 255.255.255.0
I read somewhere it could be related to IP-issues so the last change that I did was to add these lines in the .yaml from ESPHome addon → Edit:
manual_ip:
static_ip: 192.168.8.103 (The IP that my router says that the ESP node has)
gateway: 192.168.8.1 (The IP that I use to connect to my router from a web browser)
subnet: 255.255.255.0 (Really no clue here, but I recoginize the numbers)
Restarted HA, but no sucess, still appears as unavailable in HA
How the heck can it be that the sensors (temp probes) and the board, is seen just fine by the ESPHome addon in HA, the board is seen and connected to my router, but HA refuse to display the sensors…?
I would be super grateful for any help here!