core: Inkbird sensor disconnecting - Problem is back

The problem

At random times my Inkbird IBS-Th2 is disconnecting from HA. I have two. One inside my refrigerator and one inside my freezer. Both connect to HA through an ESP32 device. Tried different devices and they work for a while and then one of the sensors disconnects. My Inkbird app on my phone has no issues connecting. Rebooting HA brings back the sensors. Restarting the ESP32 device does not do anything. I do not believe it is related to the Betas as it has happened for a while with both betas and released versions.

What version of Home Assistant Core has the issue?

core-2024.4.0b5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Inkbird

Link to integration documentation on our website

https://www.home-assistant.io/integrations/inkbird/

Diagnostics information

Nothing in the logs about the disconnections. I verbose on. A little bit of the logs:

INFO ESPHome 2024.3.1 INFO Reading configuration /config/esphome/garage-bluetooth-proxy.yaml… INFO Starting log output from 192.168.1.80 using esphome API INFO Successfully connected to garage-bluetooth-proxy @ 192.168.1.80 in 1.213s INFO Successful handshake with garage-bluetooth-proxy @ 192.168.1.80 in 0.071s [10:59:33][I][app:102]: ESPHome version 2024.3.1 compiled on Apr 2 2024, 05:55:46 [10:59:33][I][app:104]: Project esphome.bluetooth-proxy version 1.0 [10:59:33][C][wifi:580]: WiFi: [10:59:33][C][wifi:408]: Local MAC: 8C:AA:B5:8B:F7:9C [10:59:33][C][wifi:413]: SSID: [redacted] [10:59:33][C][wifi:416]: IP Address: 192.168.1.80 [10:59:33][C][wifi:420]: BSSID: [redacted] [10:59:33][C][wifi:421]: Hostname: ‘garage-bluetooth-proxy’ [10:59:33][C][wifi:423]: Signal strength: -51 dB ▂▄▆█ [10:59:33][V][wifi:425]: Priority: 0.0 [10:59:33][C][wifi:427]: Channel: 1 [10:59:33][C][wifi:428]: Subnet: 255.255.255.0 [10:59:33][C][wifi:429]: Gateway: 192.168.1.1 [10:59:33][C][wifi:430]: DNS1: 192.168.1.1 [10:59:33][C][wifi:431]: DNS2: 8.8.8.8 [10:59:34][C][logger:166]: Logger: [10:59:34][C][api:139]: API Server: [10:59:34][C][api:140]: Address: 192.168.1.80:6053 [10:59:34][C][api:144]: Using noise encryption: NO [10:59:34][C][improv_serial:032]: Improv Serial: [10:59:34][V][esp32_ble:314]: (BLE) gap_event_handler - 3 [10:59:34][V][bluetooth_proxy:058]: Proxying 1 packets [10:59:35][V][esp32_ble:314]: (BLE) gap_event_handler - 3 [10:59:35][V][esp32_ble:314]: (BLE) gap_event_handler - 3

Example YAML snippet

Code used for the esp device.  Other devices had same code except for IP address.
substitutions:
  name: "garage-bluetooth-proxy"
  friendly_name: garage_bluetooth
packages:
  esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/esp32-generic.yaml@main
esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}
button:
  - platform: restart
    name: "Garage Restart"
    id: Button_Restart
switch:
  - platform: restart
    name: "garage_bluethooth Restart"
logger:
  level: VERBOSE
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  use_address: 192.168.1.80
  manual_ip:
    static_ip: 192.168.1.80
    gateway: 192.168.1.1
    subnet: 255.255.255.0
    dns1: 192.168.1.1
    dns2: 8.8.8.8

Anything in the logs that might be useful for us?

No response

Additional information

Opened issue :https://github.com/home-assistant/core/issues/109405 on 2/2. Issue has been off and on. Also Inkbird app keeps discovering new sensors on HA restarts. Not every time, but many times.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 23 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (inkbird) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of inkbird can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign inkbird Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


inkbird documentation inkbird source (message by IssueLinks)