mbrentini / homeassistant_parrotflowerpower

Parrot Flower Power BLE sensor integration for Home Assistant
GNU General Public License v3.0
15 stars 1 forks source link

Polling error (BTerror) Exit read_ble, no data #8

Open skayred opened 1 year ago

skayred commented 1 year ago

Hello,

I am trying to get it working with the Parrot Pot, I have modified the handles values accordingly:

HANDLES = [
    ["battery", 0x004b],
    ["name", 0x0003],
    ["light", 0x0025],
    ["light_int", 0x0025],
    ["conductivity", 0x0031],
    ["soil_temperature", 0x0034],
    ["air_temperature", 0x0037],
    ["moisture", 0x003a],
    ["moisture_cal", 0x0041],
    ["led", 0x003c]
]

However, the log is filled with the following messages:

2023-07-06 18:13:48.027 INFO (MainThread) [custom_components.parrotflowerpower.sensor] ParrotFlowerPower is using GatttoolBackend backend.
2023-07-06 18:13:57.927 INFO (SyncWorker_0) [custom_components.parrotflowerpower.sensor] Polling data for Flower Power - Ficus Air Temperature
2023-07-06 18:13:57.928 INFO (SyncWorker_0) [custom_components.parrotflowerpower.parrotflowerpower_poller] Filling cache with new sensor data for device A0:14:3D:CD:04:74.
2023-07-06 18:13:57.973 WARNING (MainThread) [homeassistant.components.sensor.helpers] sensor.cheapest_hours_energy rendered invalid timestamp: 
2023-07-06 18:14:07.923 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.flower_power_ficus_air_temperature is taking over 10 seconds
2023-07-06 18:14:30.948 WARNING (SyncWorker_0) [custom_components.parrotflowerpower.sensor] Polling error (BTerror) Exit read_ble, no data (<Thread(SyncWorker_0, started 547799166608)>)

My Home Assistant installation is pretty new and has the small amount of integrations enabled, but one of them is Passive BLE Monitor. I wonder, can it be the problem in that case..?

skayred commented 1 year ago

Decided to set up the fresh instance without the Docker image and got the data flowing! It seems, that this integration is not compatible with the Passive BLE Monitor installed