home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.82k stars 28.95k forks source link

Inkbird integration not seeing valid P01B sensor #117540

Open JohnKitching opened 1 month ago

JohnKitching commented 1 month ago

The problem

I had a P01B that was working in HA but the sensor itself failed so I removed it from HA I replaced the sensor and tried to reinstall in HA but the Inkbird integration doesn't see it. I don't get any config options, just "No devices found on the network" I don't see the Inkbird integration in Integrations and have to add an integration each time I try to connect. The sensor works ok with the iOS Inkbird app. I've tried connecting with HA with and without it connected to the app. The sensor is close to the HA PI unit.

What version of Home Assistant Core has the issue?

core-2024.5.3

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

I don't seem to have that option

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 month ago

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)

RonnieRocket2 commented 1 month ago

I purchased the P01B yesterday and this is my experience so far. I used the Inkbird app to register and add the device to the app, this was not an easy process because the device was not listed in the app device list, you have to select IBS-THS. Once I had done this I installed the HA Inkbird integration and it recognised the device and added it. This was all done in the house so next step was to install in the pool. I have shelly bluetooth proxies outside so expected the P01B to hook up to them but despite a lot of messing around with moving it right next to the bluetooth proxy and reloading the integration I had no joy in getting the sensor to show up as connected in HA. So I went to bed..... This morning at 4am the sensor must have connected and seemed to be working. What I have noticed though, is that the temperature update seems to be every 2 hours, whereas the bluetooth signal strength is more frequently updated. Later in the day it did not seem to be getting updated though.

I decided to purchase an ESP32 and set that up as a bluetooth proxy to see if there was any change. I disabled the Shelly bluetooth proxies and put the ESP32 outside near the pool. After I did this the P01B was updating temperature more frequently overnight but then seemed to stop in the morning?

I am not sure what is going on here because bluetooth signal strength is being reported frequently but not battery or temperature? Could it be that unless there is a significant change in temperature or battery status the data is not sent?

lbouriez commented 1 month ago

I am in the same boat, did you find any solution?

JohnKitching commented 1 month ago

Adding a USB Bluetooth module to HA fixed it for me.

RonnieRocket2 commented 4 weeks ago

I am in the same boat, did you find any solution? Despite thinking I got this working, I seem to be having intermittent issues with loss of connection, I installed an ESP32 module outside in line of sight with the pool thermometer but sometimes it works and then for some reason stops. Rebooting the ESP32 seems to get it connected again, I'm wondering if the actual thermometer goes into deep sleep because it has not been connected to it's app?

RonnieRocket2 commented 4 weeks ago

I purchased the P01B yesterday and this is my experience so far. I used the Inkbird app to register and add the device to the app, this was not an easy process because the device was not listed in the app device list, you have to select IBS-THS. Once I had done this I installed the HA Inkbird integration and it recognised the device and added it. This was all done in the house so next step was to install in the pool. I have shelly bluetooth proxies outside so expected the P01B to hook up to them but despite a lot of messing around with moving it right next to the bluetooth proxy and reloading the integration I had no joy in getting the sensor to show up as connected in HA. So I went to bed..... This morning at 4am the sensor must have connected and seemed to be working. What I have noticed though, is that the temperature update seems to be every 2 hours, whereas the bluetooth signal strength is more frequently updated. Later in the day it did not seem to be getting updated though.

I decided to purchase an ESP32 and set that up as a bluetooth proxy to see if there was any change. I disabled the Shelly bluetooth proxies and put the ESP32 outside near the pool. After I did this the P01B was updating temperature more frequently overnight but then seemed to stop in the morning?

I am not sure what is going on here because bluetooth signal strength is being reported frequently but not battery or temperature? Could it be that unless there is a significant change in temperature or battery status the data is not sent?

It's nothing to do with a lack of significant temperature changes. I am slowly losing the will on this one.

ThomasPiskol commented 4 weeks ago

I've given up using this integration. It does not work with Bluetooth proxies reliable.

What's working for me, is the Inkbird sensor component of ESPHome:

esp32_ble_tracker:
  scan_parameters:
    interval: 1100ms
    window: 1100ms
    active: true
    continuous: True

bluetooth_proxy:
  active: true

sensor:
  - platform: inkbird_ibsth1_mini
    mac_address: <my MAC address>
    temperature:
      name: "Inkbird IBS-TH2/P01B Temperature"
    battery_level:
      name: "Inkbird IBS-TH2/P01B Battery Level"
RonnieRocket2 commented 3 weeks ago

I've given up using this integration. It does not work with Bluetooth proxies reliable.

What's working for me, is the Inkbird sensor component of ESPHome:

esp32_ble_tracker:
  scan_parameters:
    interval: 1100ms
    window: 1100ms
    active: true
    continuous: True

bluetooth_proxy:
  active: true

sensor:
  - platform: inkbird_ibsth1_mini
    mac_address: <my MAC address>
    temperature:
      name: "Inkbird IBS-TH2/P01B Temperature"
    battery_level:
      name: "Inkbird IBS-TH2/P01B Battery Level"

I too have given up on the integration now using the above with ESP32