ESPHome temperature DS18B20 entities unavailable, but works just fine in logs

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! :slight_smile:

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 :frowning:

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!

maybe just check your entities and the names. Sometimes it creates duplicates and sometimes it will have a “2” on the end of the duplicate.

Settings / devices & services / entities

Thank you for reply! Unfortunately, the problem wasn’t so easy…

No duplicates and no sensors that are unknown to me…

Really frustrating this problem… :frowning:

Still having this issue… Sensors can be seen and read just fine through the logs in the ESPHome dashboard, but shows unavailable in HA…

I tried to use “Update all” from the ESPHome Dashboard and it seems to have finished (entitites still shows as unavailable though so didn’t fix anything) but I noticed this is the ESPHome Log:


2022-12-09 13:38:10,874 INFO 304 GET /devices (0.0.0.0) 15.01ms
2022-12-09 13:38:16,002 INFO 304 GET /devices (0.0.0.0) 32.84ms
2022-12-09 13:38:20,895 INFO 304 GET /devices (0.0.0.0) 8.45ms
2022-12-09 13:38:25,902 INFO 304 GET /devices (0.0.0.0) 18.60ms
2022-12-09 13:38:31,294 INFO 304 GET /devices (0.0.0.0) 45.18ms
2022-12-09 13:38:36,741 INFO 200 GET / (0.0.0.0) 192.29ms
2022-12-09 13:38:37,038 INFO 200 GET /static/fonts/material-icons/material-icons.css?hash=ead4c276 (0.0.0.0) 154.04ms
2022-12-09 13:38:37,114 INFO 200 GET /static/fonts/material-icons/MaterialIcons-Regular.woff2?hash=570eb838 (0.0.0.0) 61.24ms
2022-12-09 13:38:37,140 INFO 200 GET /static/css/esphome-2.css?hash=e81a30ae (0.0.0.0) 67.28ms
2022-12-09 13:38:37,301 INFO 200 GET /static/js/esphome/index-b34b7b0b.js (0.0.0.0) 222.59ms
2022-12-09 13:38:37,632 INFO 200 GET /static/images/logo-text.svg (0.0.0.0) 63.17ms
2022-12-09 13:38:37,677 INFO 304 GET /devices (0.0.0.0) 24.93ms
2022-12-09 13:38:38,336 INFO 200 GET /static/js/esphome/c.a3a612f1.js (0.0.0.0) 598.67ms
2022-12-09 13:38:40,459 INFO 200 GET /static/js/esphome/c.617c7bfc.js (0.0.0.0) 87.12ms
2022-12-09 13:38:40,584 INFO 200 GET /static/js/esphome/c.9cb2e71a.js (0.0.0.0) 75.66ms
2022-12-09 13:38:40,613 INFO 200 GET /static/js/esphome/c.2efc0860.js (0.0.0.0) 56.65ms
2022-12-09 13:38:40,854 INFO 200 GET /static/js/esphome/c.335cf0f7.js (0.0.0.0) 33.93ms
2022-12-09 13:38:40,935 INFO 200 GET /static/js/esphome/c.435b1d00.js (0.0.0.0) 36.27ms
2022-12-09 13:38:41,055 INFO 200 GET /static/js/esphome/c.48e89ad7.js (0.0.0.0) 92.36ms
2022-12-09 13:38:42,496 INFO 200 GET /static/js/esphome/c.ae9a7905.js (0.0.0.0) 30.63ms
2022-12-09 13:38:42,605 INFO 304 GET /devices (0.0.0.0) 43.55ms
2022-12-09 13:38:42,860 INFO 101 GET /logs (0.0.0.0) 45.32ms
2022-12-09 13:38:42,909 INFO Running command 'esphome --dashboard logs /config/esphome/vedpanna-temperatur-nr3.yaml --device OTA'
2022-12-09 13:38:47,656 INFO 304 GET /devices (0.0.0.0) 75.20ms
2022-12-09 13:38:52,654 INFO 304 GET /devices (0.0.0.0) 42.33ms
2022-12-09 13:38:57,669 INFO 304 GET /devices (0.0.0.0) 23.76ms
2022-12-09 13:39:02,688 INFO 304 GET /devices (0.0.0.0) 33.75ms
2022-12-09 13:39:07,864 INFO 304 GET /devices (0.0.0.0) 20.87ms
2022-12-09 13:39:12,641 INFO 304 GET /devices (0.0.0.0) 20.56ms
2022-12-09 13:39:13,752 ERROR Exception in callback functools.partial(<bound method IOLoop._discard_future_result of <tornado.platform.asyncio.AsyncIOMainLoop object at 0x7f8853ce50>>, <Future finished exception=WebSocketClosedError()>)
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/tornado/ioloop.py", line 740, in _run_callback
    ret = callback()
  File "/usr/local/lib/python3.9/dist-packages/tornado/ioloop.py", line 764, in _discard_future_result
    future.result()
  File "/usr/local/lib/python3.9/dist-packages/tornado/gen.py", line 782, in run
    yielded = self.gen.send(value)
  File "/esphome/esphome/dashboard/dashboard.py", line 255, in _redirect_stdout
    self.write_message({"event": "line", "data": data})
  File "/usr/local/lib/python3.9/dist-packages/tornado/websocket.py", line 336, in write_message
    raise WebSocketClosedError()
tornado.websocket.WebSocketClosedError
2022-12-09 13:39:34,140 INFO 304 GET / (0.0.0.0) 12.82ms
2022-12-09 13:39:34,239 INFO 200 GET /static/fonts/material-icons/material-icons.css?hash=ead4c276 (0.0.0.0) 24.91ms
2022-12-09 13:39:34,329 INFO 200 GET /static/fonts/material-icons/MaterialIcons-Regular.woff2?hash=570eb838 (0.0.0.0) 21.52ms
2022-12-09 13:39:34,392 INFO 200 GET /static/css/esphome-2.css?hash=e81a30ae (0.0.0.0) 21.01ms
2022-12-09 13:39:34,479 INFO 200 GET /static/js/esphome/index-b34b7b0b.js (0.0.0.0) 71.75ms
2022-12-09 13:39:34,808 INFO 200 GET /static/images/logo-text.svg (0.0.0.0) 34.24ms
2022-12-09 13:39:34,846 INFO 304 GET /devices (0.0.0.0) 21.27ms
2022-12-09 13:39:35,233 INFO 200 GET /static/js/esphome/c.a3a612f1.js (0.0.0.0) 369.91ms
2022-12-09 13:39:36,398 INFO 200 GET /static/js/esphome/c.617c7bfc.js (0.0.0.0) 43.06ms
2022-12-09 13:39:36,436 INFO 200 GET /static/js/esphome/c.9cb2e71a.js (0.0.0.0) 30.25ms
2022-12-09 13:39:40,392 INFO 304 GET /devices (0.0.0.0) 29.66ms
2022-12-09 13:39:45,381 INFO 304 GET /devices (0.0.0.0) 20.52ms
2022-12-09 13:39:50,418 INFO 304 GET /devices (0.0.0.0) 36.40ms
2022-12-09 13:39:55,471 INFO 304 GET /devices (0.0.0.0) 24.87ms
2022-12-09 13:40:00,386 INFO 304 GET /devices (0.0.0.0) 5.80ms
2022-12-09 13:40:05,399 INFO 304 GET /devices (0.0.0.0) 6.90ms
2022-12-09 13:40:10,476 INFO 304 GET /devices (0.0.0.0) 10.79ms
2022-12-09 13:40:15,406 INFO 304 GET /devices (0.0.0.0) 4.48ms
2022-12-09 13:40:20,429 INFO 304 GET /devices (0.0.0.0) 5.74ms
2022-12-09 13:40:25,426 INFO 304 GET /devices (0.0.0.0) 6.19ms
2022-12-09 13:40:30,453 INFO 304 GET /devices (0.0.0.0) 7.05ms
2022-12-09 13:40:35,433 INFO 304 GET /devices (0.0.0.0) 5.84ms
2022-12-09 13:40:40,439 INFO 304 GET /devices (0.0.0.0) 4.73ms
2022-12-09 13:40:45,450 INFO 304 GET /devices (0.0.0.0) 4.96ms
2022-12-09 13:40:50,458 INFO 304 GET /devices (0.0.0.0) 5.15ms
2022-12-09 13:40:55,484 INFO 304 GET /devices (0.0.0.0) 16.06ms
2022-12-09 13:41:00,468 INFO 304 GET /devices (0.0.0.0) 5.16ms

Other errors I have found are this:

From the Home Assistant Core log:


Logger: homeassistant.components.hassio.http
Source: components/hassio/http.py:75
Integration: Home Assistant Supervisor ([documentation](https://www.home-assistant.io/integrations/hassio), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+hassio%22))
First occurred: 13:32:49 (1 occurrences)
Last logged: 13:32:49

Client error on api addons/5c53de3b_esphome/logs request Connection timeout to host http://172.30.32.2/addons/5c53de3b_esphome/logs

Also:


Logger: aioesphomeapi.reconnect_logic
Source: runner.py:119
First occurred: 13:12:09 (1 occurrences)
Last logged: 13:12:09

Can't connect to ESPHome API for vedpanna-temperatur-nr3 @ 192.168.8.192: Error connecting to ('192.168.8.192', 6053): [Errno 111] Connect call failed ('192.168.8.192', 6053)

As you can see, I am not at all skilled in this, but there seems to be a pattern, the errors are mentioning the API. I don’t have a clue what to next though…

From the log in the ESPHome logs for the board that I’m using, here you can see that the temp sensors can be found and read:

INFO Reading configuration /config/esphome/vedpanna-temperatur-nr3.yaml...
INFO Starting log output from 192.168.8.191 using esphome API
INFO Successfully connected to 192.168.8.191
[13:53:52][I][app:102]: ESPHome version 2022.11.5 compiled on Dec  9 2022, 13:35:41
[13:53:52][C][wifi:504]: WiFi:
[13:53:52][C][wifi:362]:   Local MAC: 30:83:98:B5:F3:8B
[13:53:52][C][wifi:363]:   SSID: 'XXX'[redacted]
[13:53:52][C][wifi:364]:   IP Address: 192.168.8.191
[13:53:52][C][wifi:365]:   BSSID: 14:DE:39:FC:A9:7A[redacted]
[13:53:52][C][wifi:367]:   Hostname: 'vedpanna-temperatur-nr3'
[13:53:52][C][wifi:369]:   Signal strength: -85 dB ▂▄▆█
[13:53:52][C][wifi:373]:   Channel: 13
[13:53:52][C][wifi:374]:   Subnet: 255.255.255.0
[13:53:52][C][wifi:375]:   Gateway: 192.168.0.1
[13:53:52][C][wifi:376]:   DNS1: 0.0.0.0
[13:53:52][C][wifi:377]:   DNS2: 0.0.0.0
[13:53:52][C][logger:293]: Logger:
[13:53:52][C][logger:294]:   Level: DEBUG
[13:53:52][C][logger:295]:   Log Baud Rate: 115200
[13:53:52][C][logger:296]:   Hardware UART: UART0
[13:53:52][C][dallas.sensor:075]: DallasComponent:
[13:53:52][C][dallas.sensor:076]:   Pin: GPIO13
[13:53:52][C][dallas.sensor:077]:   Update Interval: 30.0s
[13:53:52][D][dallas.sensor:082]:   Found sensors:
[13:53:52][D][dallas.sensor:084]:     0x9dc990e90264ff28
[13:53:52][D][dallas.sensor:084]:     0x9b29d4eb0264ff28
[13:53:52][D][dallas.sensor:084]:     0x9aa8b9eb0264ff28
[13:53:52][D][dallas.sensor:084]:     0xaa0620f70264ff28
[13:53:52][D][dallas.sensor:084]:     0x186634f70264ff28
[13:53:52][D][dallas.sensor:084]:     0xd0ee5af70264ff28
[13:53:52][D][dallas.sensor:084]:     0x045c3af70264ff28
[13:53:52][D][dallas.sensor:084]:     0x573041f70264ff28
[13:53:52][D][dallas.sensor:084]:     0xddfd2bf70264ff28
[13:53:52][D][dallas.sensor:084]:     0xa3f72bf70264ff28
[13:53:52][C][dallas.sensor:089]:   Device 'Framledning radiatorer'
[13:53:52][C][dallas.sensor:089]:     Device Class: 'temperature'
[13:53:52][C][dallas.sensor:089]:     State Class: 'measurement'
[13:53:52][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[13:53:52][C][dallas.sensor:089]:     Accuracy Decimals: 1
[13:53:52][C][dallas.sensor:097]:     Address: 0x9b29d4eb0264ff28
[13:53:52][C][dallas.sensor:098]:     Resolution: 12
[13:53:52][C][dallas.sensor:089]:   Device 'Retur radiator'
[13:53:52][C][dallas.sensor:089]:     Device Class: 'temperature'
[13:53:52][C][dallas.sensor:089]:     State Class: 'measurement'
[13:53:52][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[13:53:52][C][dallas.sensor:089]:     Accuracy Decimals: 1
[13:53:52][C][dallas.sensor:097]:     Address: 0x573041f70264ff28
[13:53:52][C][dallas.sensor:098]:     Resolution: 12
[13:53:52][C][dallas.sensor:089]:   Device 'Tekniktank 1'
[13:53:52][C][dallas.sensor:089]:     Device Class: 'temperature'
[13:53:52][C][dallas.sensor:089]:     State Class: 'measurement'
[13:53:52][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[13:53:52][C][dallas.sensor:089]:     Accuracy Decimals: 1
[13:53:52][C][dallas.sensor:097]:     Address: 0x186634f70264ff28
[13:53:52][C][dallas.sensor:098]:     Resolution: 12
[13:53:52][C][dallas.sensor:089]:   Device 'Tekniktank 2'
[13:53:52][C][dallas.sensor:089]:     Device Class: 'temperature'
[13:53:52][C][dallas.sensor:089]:     State Class: 'measurement'
[13:53:52][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[13:53:52][C][dallas.sensor:089]:     Accuracy Decimals: 1
[13:53:52][C][dallas.sensor:097]:     Address: 0x9aa8b9eb0264ff28
[13:53:52][C][dallas.sensor:098]:     Resolution: 12
[13:53:52][C][dallas.sensor:089]:   Device 'Tekniktank 3'
[13:53:52][C][dallas.sensor:089]:     Device Class: 'temperature'
[13:53:52][C][dallas.sensor:089]:     State Class: 'measurement'
[13:53:52][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[13:53:52][C][dallas.sensor:089]:     Accuracy Decimals: 1
[13:53:52][C][dallas.sensor:097]:     Address: 0x045c3af70264ff28
[13:53:52][C][dallas.sensor:098]:     Resolution: 12
[13:53:52][C][dallas.sensor:089]:   Device 'Slavtank 1'
[13:53:52][C][dallas.sensor:089]:     Device Class: 'temperature'
[13:53:52][C][dallas.sensor:089]:     State Class: 'measurement'
[13:53:52][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[13:53:52][C][dallas.sensor:089]:     Accuracy Decimals: 1
[13:53:52][C][dallas.sensor:097]:     Address: 0xaa0620f70264ff28
[13:53:52][C][dallas.sensor:098]:     Resolution: 12
[13:53:52][C][dallas.sensor:089]:   Device 'Slavtank 2'
[13:53:52][C][dallas.sensor:089]:     Device Class: 'temperature'
[13:53:52][C][dallas.sensor:089]:     State Class: 'measurement'
[13:53:52][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[13:53:52][C][dallas.sensor:089]:     Accuracy Decimals: 1
[13:53:52][C][dallas.sensor:097]:     Address: 0xd0ee5af70264ff28
[13:53:52][C][dallas.sensor:098]:     Resolution: 12
[13:53:52][C][dallas.sensor:089]:   Device 'Slavtank 3'
[13:53:52][C][dallas.sensor:089]:     Device Class: 'temperature'
[13:53:52][C][dallas.sensor:089]:     State Class: 'measurement'
[13:53:52][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[13:53:52][C][dallas.sensor:089]:     Accuracy Decimals: 1
[13:53:52][C][dallas.sensor:097]:     Address: 0xddfd2bf70264ff28
[13:53:52][C][dallas.sensor:098]:     Resolution: 12
[13:53:52][C][dallas.sensor:089]:   Device 'Panna'
[13:53:52][C][dallas.sensor:089]:     Device Class: 'temperature'
[13:53:52][C][dallas.sensor:089]:     State Class: 'measurement'
[13:53:52][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[13:53:52][C][dallas.sensor:089]:     Accuracy Decimals: 1
[13:53:52][C][dallas.sensor:097]:     Address: 0x9dc990e90264ff28
[13:53:52][C][dallas.sensor:098]:     Resolution: 12
[13:53:52][C][dallas.sensor:089]:   Device 'Skorsten'
[13:53:52][C][dallas.sensor:089]:     Device Class: 'temperature'
[13:53:52][C][dallas.sensor:089]:     State Class: 'measurement'
[13:53:52][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[13:53:52][C][dallas.sensor:089]:     Accuracy Decimals: 1
[13:53:52][C][dallas.sensor:097]:     Address: 0xa3f72bf70264ff28
[13:53:52][C][dallas.sensor:098]:     Resolution: 12
[13:53:52][C][mdns:103]: mDNS:
[13:53:52][C][mdns:104]:   Hostname: vedpanna-temperatur-nr3
[13:53:52][C][ota:093]: Over-The-Air Updates:
[13:53:52][C][ota:094]:   Address: 192.168.8.191:8266
[13:53:52][C][ota:097]:   Using Password.
[13:53:52][C][api:138]: API Server:
[13:53:52][C][api:139]:   Address: 192.168.8.191:6053
[13:53:52][C][api:141]:   Using noise encryption: YES
[13:54:06][D][dallas.sensor:143]: 'Framledning radiatorer': Got Temperature=25.3°C
[13:54:06][D][sensor:126]: 'Framledning radiatorer': Sending state 25.31250 °C with 1 decimals of accuracy
[13:54:06][D][dallas.sensor:143]: 'Retur radiator': Got Temperature=44.4°C
[13:54:06][D][sensor:126]: 'Retur radiator': Sending state 44.37500 °C with 1 decimals of accuracy
[13:54:06][D][dallas.sensor:143]: 'Slavtank 1': Got Temperature=81.8°C
[13:54:06][D][sensor:126]: 'Slavtank 1': Sending state 81.81250 °C with 1 decimals of accuracy
[13:54:07][D][dallas.sensor:143]: 'Tekniktank 3': Got Temperature=60.2°C
[13:54:07][D][sensor:126]: 'Tekniktank 3': Sending state 60.18750 °C with 1 decimals of accuracy
[13:54:07][D][dallas.sensor:143]: 'Skorsten': Got Temperature=20.2°C
[13:54:07][D][sensor:126]: 'Skorsten': Sending state 20.18750 °C with 1 decimals of accuracy
[13:54:07][D][dallas.sensor:143]: 'Panna': Got Temperature=28.3°C
[13:54:07][D][sensor:126]: 'Panna': Sending state 28.31250 °C with 1 decimals of accuracy
[13:54:07][D][dallas.sensor:143]: 'Slavtank 3': Got Temperature=81.2°C
[13:54:07][D][sensor:126]: 'Slavtank 3': Sending state 81.18750 °C with 1 decimals of accuracy
[13:54:07][D][dallas.sensor:143]: 'Tekniktank 1': Got Temperature=87.1°C
[13:54:07][D][sensor:126]: 'Tekniktank 1': Sending state 87.06250 °C with 1 decimals of accuracy
[13:54:07][D][dallas.sensor:143]: 'Tekniktank 2': Got Temperature=76.3°C
[13:54:07][D][sensor:126]: 'Tekniktank 2': Sending state 76.31250 °C with 1 decimals of accuracy
[13:54:07][D][dallas.sensor:143]: 'Slavtank 2': Got Temperature=78.2°C
[13:54:07][D][sensor:126]: 'Slavtank 2': Sending state 78.18750 °C with 1 decimals of accuracy
[13:54:36][D][dallas.sensor:143]: 'Framledning radiatorer': Got Temperature=25.2°C
[13:54:36][D][sensor:126]: 'Framledning radiatorer': Sending state 25.25000 °C with 1 decimals of accuracy
[13:54:36][D][dallas.sensor:143]: 'Retur radiator': Got Temperature=44.4°C
[13:54:36][D][sensor:126]: 'Retur radiator': Sending state 44.37500 °C with 1 decimals of accuracy
[13:54:37][D][dallas.sensor:143]: 'Slavtank 1': Got Temperature=81.8°C
[13:54:37][D][sensor:126]: 'Slavtank 1': Sending state 81.81250 °C with 1 decimals of accuracy
[13:54:37][D][dallas.sensor:143]: 'Tekniktank 3': Got Temperature=60.1°C
[13:54:37][D][sensor:126]: 'Tekniktank 3': Sending state 60.12500 °C with 1 decimals of accuracy
[13:54:37][D][dallas.sensor:143]: 'Tekniktank 1': Got Temperature=87.1°C
[13:54:37][D][sensor:126]: 'Tekniktank 1': Sending state 87.06250 °C with 1 decimals of accuracy
[13:54:37][D][dallas.sensor:143]: 'Tekniktank 2': Got Temperature=76.3°C
[13:54:37][D][sensor:126]: 'Tekniktank 2': Sending state 76.31250 °C with 1 decimals of accuracy
[13:54:37][D][dallas.sensor:143]: 'Skorsten': Got Temperature=20.1°C
[13:54:37][D][sensor:126]: 'Skorsten': Sending state 20.12500 °C with 1 decimals of accuracy
[13:54:37][D][dallas.sensor:143]: 'Panna': Got Temperature=28.3°C
[13:54:37][D][sensor:126]: 'Panna': Sending state 28.31250 °C with 1 decimals of accuracy
[13:54:37][D][dallas.sensor:143]: 'Slavtank 3': Got Temperature=81.2°C
[13:54:37][D][sensor:126]: 'Slavtank 3': Sending state 81.18750 °C with 1 decimals of accuracy
[13:54:37][D][dallas.sensor:143]: 'Slavtank 2': Got Temperature=78.2°C
[13:54:37][D][sensor:126]: 'Slavtank 2': Sending state 78.18750 °C with 1 decimals of accuracy
[13:55:06][D][dallas.sensor:143]: 'Framledning radiatorer': Got Temperature=25.2°C
[13:55:06][D][sensor:126]: 'Framledning radiatorer': Sending state 25.25000 °C with 1 decimals of accuracy
[13:55:06][D][dallas.sensor:143]: 'Retur radiator': Got Temperature=44.4°C
[13:55:06][D][sensor:126]: 'Retur radiator': Sending state 44.37500 °C with 1 decimals of accuracy
[13:55:06][D][dallas.sensor:143]: 'Tekniktank 3': Got Temperature=60.1°C
[13:55:06][D][sensor:126]: 'Tekniktank 3': Sending state 60.12500 °C with 1 decimals of accuracy
[13:55:06][D][dallas.sensor:143]: 'Tekniktank 1': Got Temperature=87.1°C
[13:55:06][D][sensor:126]: 'Tekniktank 1': Sending state 87.06250 °C with 1 decimals of accuracy
[13:55:07][D][dallas.sensor:143]: 'Tekniktank 2': Got Temperature=76.3°C
[13:55:07][D][sensor:126]: 'Tekniktank 2': Sending state 76.31250 °C with 1 decimals of accuracy
[13:55:07][D][dallas.sensor:143]: 'Slavtank 1': Got Temperature=81.8°C
[13:55:07][D][sensor:126]: 'Slavtank 1': Sending state 81.81250 °C with 1 decimals of accuracy
[13:55:07][D][dallas.sensor:143]: 'Skorsten': Got Temperature=20.1°C
[13:55:07][D][sensor:126]: 'Skorsten': Sending state 20.12500 °C with 1 decimals of accuracy
[13:55:07][D][dallas.sensor:143]: 'Panna': Got Temperature=28.4°C
[13:55:07][D][sensor:126]: 'Panna': Sending state 28.37500 °C with 1 decimals of accuracy
[13:55:07][D][dallas.sensor:143]: 'Slavtank 3': Got Temperature=81.2°C
[13:55:07][D][sensor:126]: 'Slavtank 3': Sending state 81.18750 °C with 1 decimals of accuracy
[13:55:07][D][dallas.sensor:143]: 'Slavtank 2': Got Temperature=78.2°C
[13:55:07][D][sensor:126]: 'Slavtank 2': Sending state 78.18750 °C with 1 decimals of accuracy
[13:55:36][D][dallas.sensor:143]: 'Framledning radiatorer': Got Temperature=25.3°C
[13:55:36][D][sensor:126]: 'Framledning radiatorer': Sending state 25.31250 °C with 1 decimals of accuracy
[13:55:36][D][dallas.sensor:143]: 'Retur radiator': Got Temperature=44.3°C
[13:55:36][D][sensor:126]: 'Retur radiator': Sending state 44.31250 °C with 1 decimals of accuracy
[13:55:36][D][dallas.sensor:143]: 'Slavtank 1': Got Temperature=81.8°C
[13:55:36][D][sensor:126]: 'Slavtank 1': Sending state 81.81250 °C with 1 decimals of accuracy
[13:55:36][D][dallas.sensor:143]: 'Tekniktank 3': Got Temperature=60.1°C
[13:55:36][D][sensor:126]: 'Tekniktank 3': Sending state 60.12500 °C with 1 decimals of accuracy
[13:55:37][D][dallas.sensor:143]: 'Skorsten': Got Temperature=20.1°C
[13:55:37][D][sensor:126]: 'Skorsten': Sending state 20.06250 °C with 1 decimals of accuracy
[13:55:37][D][dallas.sensor:143]: 'Panna': Got Temperature=28.4°C
[13:55:37][D][sensor:126]: 'Panna': Sending state 28.37500 °C with 1 decimals of accuracy
[13:55:37][D][dallas.sensor:143]: 'Slavtank 3': Got Temperature=81.2°C
[13:55:37][D][sensor:126]: 'Slavtank 3': Sending state 81.18750 °C with 1 decimals of accuracy
[13:55:37][D][dallas.sensor:143]: 'Tekniktank 1': Got Temperature=87.1°C
[13:55:37][D][sensor:126]: 'Tekniktank 1': Sending state 87.06250 °C with 1 decimals of accuracy
[13:55:37][D][dallas.sensor:143]: 'Tekniktank 2': Got Temperature=76.2°C
[13:55:37][D][sensor:126]: 'Tekniktank 2': Sending state 76.25000 °C with 1 decimals of accuracy
[13:55:37][D][dallas.sensor:143]: 'Slavtank 2': Got Temperature=78.2°C
[13:55:37][D][sensor:126]: 'Slavtank 2': Sending state 78.18750 °C with 1 decimals of accuracy
[13:56:06][D][dallas.sensor:143]: 'Framledning radiatorer': Got Temperature=25.2°C
[13:56:06][D][sensor:126]: 'Framledning radiatorer': Sending state 25.25000 °C with 1 decimals of accuracy
[13:56:06][D][dallas.sensor:143]: 'Retur radiator': Got Temperature=44.3°C
[13:56:06][D][sensor:126]: 'Retur radiator': Sending state 44.31250 °C with 1 decimals of accuracy
[13:56:06][D][dallas.sensor:143]: 'Slavtank 1': Got Temperature=81.8°C
[13:56:06][D][sensor:126]: 'Slavtank 1': Sending state 81.81250 °C with 1 decimals of accuracy
[13:56:06][D][dallas.sensor:143]: 'Tekniktank 3': Got Temperature=60.1°C
[13:56:06][D][sensor:126]: 'Tekniktank 3': Sending state 60.06250 °C with 1 decimals of accuracy
[13:56:07][D][dallas.sensor:143]: 'Skorsten': Got Temperature=20.1°C
[13:56:07][D][sensor:126]: 'Skorsten': Sending state 20.12500 °C with 1 decimals of accuracy
[13:56:07][D][dallas.sensor:143]: 'Panna': Got Temperature=28.4°C
[13:56:07][D][sensor:126]: 'Panna': Sending state 28.37500 °C with 1 decimals of accuracy
[13:56:07][D][dallas.sensor:143]: 'Slavtank 3': Got Temperature=81.2°C
[13:56:07][D][sensor:126]: 'Slavtank 3': Sending state 81.18750 °C with 1 decimals of accuracy
[13:56:07][D][dallas.sensor:143]: 'Tekniktank 1': Got Temperature=87.1°C
[13:56:07][D][sensor:126]: 'Tekniktank 1': Sending state 87.06250 °C with 1 decimals of accuracy
[13:56:07][D][dallas.sensor:143]: 'Tekniktank 2': Got Temperature=76.2°C
[13:56:07][D][sensor:126]: 'Tekniktank 2': Sending state 76.25000 °C with 1 decimals of accuracy
[13:56:07][D][dallas.sensor:143]: 'Slavtank 2': Got Temperature=78.2°C
[13:56:07][D][sensor:126]: 'Slavtank 2': Sending state 78.18750 °C with 1 decimals of accuracy

From the Diagnostics of the ESPHome integration:


{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.11.4",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Stockholm",
    "os_name": "Linux",
    "os_version": "5.15.61-v8",
    "supervisor": "2022.11.2",
    "host_os": "Home Assistant OS 9.3",
    "docker_version": "20.10.18",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "version": "1.27.1",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "airthings_wave": {
      "version": "4.0.0",
      "requirements": [
        "bleak==0.14.3"
      ]
    },
    "templatebinarysensor": {
      "version": "0.0.2",
      "requirements": []
    },
    "powercalc": {
      "version": "v0.11.1",
      "requirements": [
        "numpy>=1.21.1"
      ]
    }
  },
  "integration_manifest": {
    "domain": "esphome",
    "name": "ESPHome",
    "config_flow": true,
    "documentation": "https://www.home-assistant.io/integrations/esphome",
    "requirements": [
      "aioesphomeapi==11.4.3"
    ],
    "zeroconf": [
      "_esphomelib._tcp.local."
    ],
    "dhcp": [
      {
        "registered_devices": true
      }
    ],
    "codeowners": [
      "@OttoWinter",
      "@jesserockz"
    ],
    "after_dependencies": [
      "bluetooth",
      "zeroconf",
      "tag"
    ],
    "iot_class": "local_push",
    "integration_type": "device",
    "loggers": [
      "aioesphomeapi",
      "noiseprotocol"
    ],
    "is_built_in": true
  },
  "data": {
    "config": {
      "entry_id": "ef38e588d87441ec8a3822e406d7d04b",
      "version": 1,
      "domain": "esphome",
      "title": "vedpanna-temperatur-nr3",
      "data": {
        "host": "192.168.8.192",
        "port": 6053,
        "password": "",
        "noise_psk": "**REDACTED**"
      },
      "options": {},
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "zeroconf",
      "unique_id": "esphome-web-b5f38b",
      "disabled_by": null
    },
    "storage_data": {
      "device_info": {
        "uses_password": false,
        "name": "vedpanna-temperatur-nr3",
        "mac_address": "**REDACTED**",
        "compilation_time": "Jun 18 2022, 00:47:32",
        "model": "nodemcuv2",
        "has_deep_sleep": false,
        "esphome_version": "2022.5.1",
        "project_name": "",
        "project_version": "",
        "webserver_port": 0
      },
      "services": [],
      "api_version": {
        "major": 1,
        "minor": 6
      },
      "sensor": [
        {
          "object_id": "framledning_radiator",
          "key": 4205431161,
          "name": "Framledning radiator",
          "unique_id": "dallas-9b29d4eb0264ff28",
          "disabled_by_default": false,
          "icon": "",
          "entity_category": 0,
          "device_class": "temperature",
          "unit_of_measurement": "\u00b0C",
          "accuracy_decimals": 1,
          "force_update": false,
          "state_class": 1,
          "last_reset_type": 0
        },
        {
          "object_id": "retur_radiator",
          "key": 4246138000,
          "name": "Retur radiator",
          "unique_id": "dallas-573041f70264ff28",
          "disabled_by_default": false,
          "icon": "",
          "entity_category": 0,
          "device_class": "temperature",
          "unit_of_measurement": "\u00b0C",
          "accuracy_decimals": 1,
          "force_update": false,
          "state_class": 1,
          "last_reset_type": 0
        },
        {
          "object_id": "tekniktank_1",
          "key": 2051743815,
          "name": "Tekniktank 1",
          "unique_id": "dallas-186634f70264ff28",
          "disabled_by_default": false,
          "icon": "",
          "entity_category": 0,
          "device_class": "temperature",
          "unit_of_measurement": "\u00b0C",
          "accuracy_decimals": 1,
          "force_update": false,
          "state_class": 1,
          "last_reset_type": 0
        },
        {
          "object_id": "tekniktank_2",
          "key": 2051743812,
          "name": "Tekniktank 2",
          "unique_id": "dallas-9aa8b9eb0264ff28",
          "disabled_by_default": false,
          "icon": "",
          "entity_category": 0,
          "device_class": "temperature",
          "unit_of_measurement": "\u00b0C",
          "accuracy_decimals": 1,
          "force_update": false,
          "state_class": 1,
          "last_reset_type": 0
        },
        {
          "object_id": "tekniktank_3",
          "key": 2051743813,
          "name": "Tekniktank 3",
          "unique_id": "dallas-045c3af70264ff28",
          "disabled_by_default": false,
          "icon": "",
          "entity_category": 0,
          "device_class": "temperature",
          "unit_of_measurement": "\u00b0C",
          "accuracy_decimals": 1,
          "force_update": false,
          "state_class": 1,
          "last_reset_type": 0
        },
        {
          "object_id": "slavtank_1",
          "key": 1176524477,
          "name": "Slavtank 1",
          "unique_id": "dallas-aa0620f70264ff28",
          "disabled_by_default": false,
          "icon": "",
          "entity_category": 0,
          "device_class": "temperature",
          "unit_of_measurement": "\u00b0C",
          "accuracy_decimals": 1,
          "force_update": false,
          "state_class": 1,
          "last_reset_type": 0
        },
        {
          "object_id": "slavtank_2",
          "key": 1176524478,
          "name": "Slavtank 2",
          "unique_id": "dallas-d0ee5af70264ff28",
          "disabled_by_default": false,
          "icon": "",
          "entity_category": 0,
          "device_class": "temperature",
          "unit_of_measurement": "\u00b0C",
          "accuracy_decimals": 1,
          "force_update": false,
          "state_class": 1,
          "last_reset_type": 0
        },
        {
          "object_id": "slavtank_3",
          "key": 1176524479,
          "name": "Slavtank 3",
          "unique_id": "dallas-ddfd2bf70264ff28",
          "disabled_by_default": false,
          "icon": "",
          "entity_category": 0,
          "device_class": "temperature",
          "unit_of_measurement": "\u00b0C",
          "accuracy_decimals": 1,
          "force_update": false,
          "state_class": 1,
          "last_reset_type": 0
        },
        {
          "object_id": "panna",
          "key": 3012789249,
          "name": "Panna",
          "unique_id": "dallas-9dc990e90264ff28",
          "disabled_by_default": false,
          "icon": "",
          "entity_category": 0,
          "device_class": "temperature",
          "unit_of_measurement": "\u00b0C",
          "accuracy_decimals": 1,
          "force_update": false,
          "state_class": 1,
          "last_reset_type": 0
        },
        {
          "object_id": "skorsten",
          "key": 1243341076,
          "name": "Skorsten",
          "unique_id": "dallas-a3f72bf70264ff28",
          "disabled_by_default": false,
          "icon": "",
          "entity_category": 0,
          "device_class": "temperature",
          "unit_of_measurement": "\u00b0C",
          "accuracy_decimals": 1,
          "force_update": false,
          "state_class": 1,
          "last_reset_type": 0
        }
      ],
      "text_sensor": []
    }
  }
}

From the .yaml in /config/esphome/vedpanna-temperatur-nr3.yaml:


 esphome:
  name:  vedpanna-temperatur-nr3

 esp8266:
  board: nodemcuv2
  
 dallas:
    pin: D7
    update_interval: 30s
     
 sensor:
  - platform: dallas
    address: 0x9b29d4eb0264ff28
    name: "Framledning radiatorer"
  - 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.191
    gateway: 192.168.0.1
    subnet: 255.255.255.0

Most grateful for any help!

Hi all, same problem here.
I have two Dallas temperature probes attached to a Mini D1 with 4.7k pull-up resistor. The probes are detected and working at a physical level and the Dallas driver detects the devices and pulls the temperatures, but the Dallas devices aren’t shown in Home Assistant.

I can see the temperatures from the web_server:

I can configure other sensors such as wifi_signal and RGB LED’s and these show in Home Assistant, but the Dallas devices do not.

dallas:
  - pin: GPIO33
    # update_interval: 5s
  
sensor:
  - platform: wifi_signal
    name: "WiFi Signal"
    update_interval: 60s
  - platform: dallas
    address: 0x003c01e076ed8c28
    name: t1
  - platform: dallas
    address: 0x8b3c01e076cbaf28
    name: t2
    #filters:
    #  heartbeat: 15s

I see no errors in the verbose logs:

INFO Waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from 10.0.0.16 using esphome API
WARNING Can't connect to ESPHome API for 10.0.0.16: Error connecting to ('10.0.0.16', 6053): [Errno 111] Connect call failed ('10.0.0.16', 6053)
INFO Trying to reconnect to 10.0.0.16 in the background
INFO Successfully connected to 10.0.0.16
[23:21:14][I][app:102]: ESPHome version 2022.11.5 compiled on Dec 19 2022, 23:20:06
[23:21:14][C][wifi:504]: WiFi:
[23:21:14][C][wifi:362]:   Local MAC: 08:3A:F2:52:08:0C
[23:21:14][C][wifi:363]:   SSID: 'XXYY'[redacted]
[23:21:14][C][wifi:364]:   IP Address: 10.0.0.16
[23:21:14][C][wifi:366]:   BSSID: xx:32:xx:B5:EA:xx[redacted]
[23:21:14][C][wifi:367]:   Hostname: 'test'
[23:21:14][C][wifi:369]:   Signal strength: -40 dB ▂▄▆█
[23:21:14][V][wifi:371]:   Priority: -2.0
[23:21:14][C][wifi:373]:   Channel: 1
[23:21:14][C][wifi:374]:   Subnet: 255.255.254.0
[23:21:14][C][wifi:375]:   Gateway: 10.0.0.1
[23:21:14][C][wifi:376]:   DNS1: 10.0.0.1
[23:21:14][C][wifi:377]:   DNS2: 0.0.0.0
[23:21:14][C][logger:293]: Logger:
[23:21:14][C][logger:294]:   Level: VERBOSE
[23:21:14][C][logger:295]:   Log Baud Rate: 115200
[23:21:14][C][logger:296]:   Hardware UART: UART0
[23:21:14][C][ledc.output:118]: LEDC Output:
[23:21:14][C][ledc.output:119]:   Pin GPIO13
[23:21:14][C][ledc.output:120]:   LEDC Channel: 0
[23:21:14][C][ledc.output:121]:   Frequency: 1000.0 Hz
[23:21:14][C][ledc.output:118]: LEDC Output:
[23:21:14][C][ledc.output:119]:   Pin GPIO14
[23:21:14][C][ledc.output:120]:   LEDC Channel: 1
[23:21:14][C][ledc.output:121]:   Frequency: 1000.0 Hz
[23:21:14][C][ledc.output:118]: LEDC Output:
[23:21:14][C][ledc.output:119]:   Pin GPIO27
[23:21:14][C][ledc.output:120]:   LEDC Channel: 2
[23:21:14][C][ledc.output:121]:   Frequency: 1000.0 Hz
[23:21:14][C][ledc.output:118]: LEDC Output:
[23:21:14][C][ledc.output:119]:   Pin GPIO25
[23:21:14][C][ledc.output:120]:   LEDC Channel: 3
[23:21:14][C][ledc.output:121]:   Frequency: 10000.0 Hz
[23:21:14][C][light:104]: Light 'Living Room Lights'
[23:21:14][C][light:106]:   Default Transition Length: 1.0s
[23:21:14][C][light:107]:   Gamma Correct: 2.80
[23:21:14][C][status:034]: Status Binary Sensor 'test Status'
[23:21:14][C][status:034]:   Device Class: 'connectivity'
[23:21:14][C][dallas.sensor:075]: DallasComponent:
[23:21:14][C][dallas.sensor:076]:   Pin: GPIO33
[23:21:14][C][dallas.sensor:077]:   Update Interval: 60.0s
[23:21:14][D][dallas.sensor:082]:   Found sensors:
[23:21:14][D][dallas.sensor:084]:     0x003c01e076ed8c28
[23:21:14][D][dallas.sensor:084]:     0x8b3c01e076cbaf28
[23:21:14][C][dallas.sensor:089]:   Device 't1'
[23:21:14][C][dallas.sensor:089]:     Device Class: 'temperature'
[23:21:14][C][dallas.sensor:089]:     State Class: 'measurement'
[23:21:14][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[23:21:14][C][dallas.sensor:089]:     Accuracy Decimals: 1
[23:21:14][V][dallas.sensor:089]:     Unique ID: 'dallas-003c01e076ed8c28'
[23:21:14][C][dallas.sensor:097]:     Address: 0x003c01e076ed8c28
[23:21:14][C][dallas.sensor:098]:     Resolution: 12
[23:21:14][C][dallas.sensor:089]:   Device 't2'
[23:21:14][C][dallas.sensor:089]:     Device Class: 'temperature'
[23:21:14][C][dallas.sensor:089]:     State Class: 'measurement'
[23:21:14][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[23:21:14][C][dallas.sensor:089]:     Accuracy Decimals: 1
[23:21:14][V][dallas.sensor:089]:     Unique ID: 'dallas-8b3c01e076cbaf28'
[23:21:14][C][dallas.sensor:097]:     Address: 0x8b3c01e076cbaf28
[23:21:14][C][dallas.sensor:098]:     Resolution: 12
[23:21:14][C][restart:022]: Restart Switch 'test Restart'
[23:21:14][C][restart:022]:   Icon: 'mdi:restart'
[23:21:14][C][captive_portal:088]: Captive Portal:
[23:21:14][C][web_server:125]: Web Server:
[23:21:14][C][web_server:126]:   Address: 10.0.0.16:80
[23:21:14][C][mdns:103]: mDNS:
[23:21:14][C][mdns:104]:   Hostname: test
[23:21:14][V][mdns:105]:   Services:
[23:21:14][V][mdns:107]:   - _esphomelib, _tcp, 6053
[23:21:14][V][mdns:109]:     TXT: version = 2022.11.5
[23:21:14][V][mdns:109]:     TXT: mac = 083af252080c
[23:21:14][V][mdns:109]:     TXT: platform = ESP32
[23:21:14][V][mdns:109]:     TXT: board = esp32dev
[23:21:14][V][mdns:109]:     TXT: network = wifi
[23:21:14][V][mdns:107]:   - _http, _tcp, 80
[23:21:14][C][ota:093]: Over-The-Air Updates:
[23:21:14][C][ota:094]:   Address: 10.0.0.16:3232
[23:21:14][C][ota:097]:   Using Password.
[23:21:14][C][api:138]: API Server:
[23:21:14][C][api:139]:   Address: 10.0.0.16:6053
[23:21:14][C][api:143]:   Using noise encryption: NO
[23:21:14][C][wifi_signal.sensor:009]: WiFi Signal 'WiFi Signal'
[23:21:14][C][wifi_signal.sensor:009]:   Device Class: 'signal_strength'
[23:21:14][C][wifi_signal.sensor:009]:   State Class: 'measurement'
[23:21:14][C][wifi_signal.sensor:009]:   Unit of Measurement: 'dBm'
[23:21:14][C][wifi_signal.sensor:009]:   Accuracy Decimals: 0
[23:21:14][V][wifi_signal.sensor:009]:   Unique ID: '083af252080c-wifisignal'
[23:21:37][D][dallas.sensor:143]: 't1': Got Temperature=17.0°C
[23:21:37][V][sensor:076]: 't1': Received new state 17.000000
[23:21:37][D][sensor:127]: 't1': Sending state 17.00000 °C with 1 decimals of accuracy
[23:21:37][V][json:031]: Attempting to allocate 512 bytes for JSON serialization
[23:21:37][V][json:051]: Size after shrink 68 bytes
[23:21:37][V][component:200]: Component dallas took a long time for an operation (0.06 s).
[23:21:37][V][component:201]: Components should block for at most 20-30ms.
[23:21:37][D][dallas.sensor:143]: 't2': Got Temperature=17.1°C
[23:21:37][V][sensor:076]: 't2': Received new state 17.062500
[23:21:37][D][sensor:127]: 't2': Sending state 17.06250 °C with 1 decimals of accuracy
[23:21:37][V][json:031]: Attempting to allocate 512 bytes for JSON serialization
[23:21:37][V][json:051]: Size after shrink 68 bytes

I have restarted HA, deleted the objects in ESPHOME and recreated them on different IP’s and so forth.
Any clues?

I really don’t know what caused the problem in my case, might have had something to do with the ESPHome API (which your log showed a problem with) or might have had something to do with my router(…?). I tried all I could think of with my limited skill, but eventually I gave up and pulled the board out from the physical installation and reconfigured it from scratch. Deleted the old installation and installed the card from scratch, but used the same code as before in the .yaml

I had to perform the reinstall two or three times before it finally worked. Has been working flawlessely for several days now.

If you don’t have your board installed in a PITA-place to reach, you could try to reinstall everything from scratch, that’s my best advice, since it worked for me, but I don’t know WHY or what caused the problem.

I wish you the best of luck and I wish that some clever person will find this thread in the future and explain what to do.

Can you see the temperatures in Developer ToolsStates?

Hi, thanks for asking.
No, I do not see the sensors in Developer Tools → States.
I do see other switches on the same ESP32 which I have created such as a restart switch and OTA update hold switch. So those objects come through to HA alright, just not the Dallas objects.

How do I troubleshoot this at the HA level? Still new to it and I have not encountered good links on in-depth troubleshooting of the HA kernel/plugins.

  1. delete ESPHome “Living Room Lights” integration. Add back in. OR
  2. same above plurs delete node from add-on dashboard (remember to save the YAML as back up) OR
  3. add a new template into ESP Node and base that on t1 and t2. Check to see whether the new template now shows up

Thank you Julian, I have deleted the device from HA under the ESPHome integration and then deleted the device from ESPHome directly. I then reconfigured the ESP32 from scratch (wiped from ESPHome Web) and then reconfigured the YAML completely in ESPHome from scratch. It’s still the same.

I really need to be looking at the object import process within HA, I think that’s what’s faulting.

try a new sensor template and see whether that shows up …you must be able to create new sensors …if you can then you use a template based on the original sensor …its now what you want but it gets the job done?? Have you made sure your ESPHome integration is the most recent one …2022.12.3

Do check that you don’t have a filter applied (top right corner) in
settings>Devices&Services>Entities

“t1” is a pretty strange name if you ask me. your sensors should contain the device name since at the day you add more ESPdevices “t1” becomes very unhandy since you loose track which device it might belong to.

Perhaps ha adds it … but it’ll be know as t1_1 or such like since t1 is already taken but filtered out?

A valid observation, but t1/t2 was only chosen as part of troubleshooting this as the original name had either underscores or hyphens (can’t recall which). I moved to t1 and t2 just to simplify the YAML and make sure I wasn’t hitting some naming/reserved letter bug.

@RonnieLast … if you create a new bogus sensor does that appear? Do no new sensors show up? If you can not create any new sensors then …

I created a PID controller which reads off one of the Dallas sensors (t1) and found that the PID works and presents the current temperature data to HA (seen as 18 degrees C in the images), but the Dallas devices still aren’t discovered in HA.
It’s the oddest thing.

web_server:

HA:
image

Right, at long last I fixed this. I’ll record my stupidity here in lieu of a public flogging.

I had a number of ESP32 devices - some test ESP32 setups on breadboard and others were loose modules. I had previously setup my two Dallas probes on the breadboard ESP32 and imported them into HA and they worked fine.
I then moved the same two probes over to a loose module in preparation for deployment at my central-heating system. The problem that I didn’t realise was that the individual Dallas ID numbers were still registered with the breadboard ESP32 and when the new ESP32 tried to register them in HA it failed due to the duplicate ID’s. I had assumed that the ID’s were not passed to HA and that only the names were, but how wrong I was.

2023-01-21 11:09:51.710 ERROR (MainThread) [homeassistant.components.sensor] Platform esphome does not generate unique IDs. ID dallas-003c01e076ed8c28 already exists - ignoring sensor.xxyy_temperature
2023-01-21 11:09:51.713 ERROR (MainThread) [homeassistant.components.sensor] Platform esphome does not generate unique IDs. ID dallas-8b3c01e076cbaf28 already exists - ignoring sensor.testsensor02

I had blissfully ignored the errors above as “they aren’t my new sensor names”!

I finally copped it and deleted the breadboard device from HA and re-imported the new ESP32 with the sensors attached - et voila!

image
t1 and t2 are sitting there thumbing their noses at me.

Lesson Learned: Dallas probe ID’s are individually registered with HA. Read the logs, again.

3 Likes