Closed aladin2000 closed 2 years ago
Hello, Was the integration working on 2022.8 stable ? Maybe the 2022.9 dev version is missing gatttool .
Hi Done this morning on another hardware and 2022.8.2 . Gatttool error disapeared , but there are still timeout errors
BUT... I changed the value of timeout in the file
parrotflowerpower_poller.py: self.ble_timeout = 20
and it seems to work now .
parrotflowerpower_poller.py: self.ble_timeout = 20
was the solution
Thanks, I'll give this a try.
I am running in dev mode Home Assistant 2022.9.0.dev0 Interface utilisateur : 20220802.0 - latest
and got that error any idea to fix it ? `
... __ .... 2022-08-19 22:26:41.588 INFO (SyncWorker_2) [custom_components.parrotflowerpower.parrotflowerpower_poller] Filling cache with new sensor data for device 90:03:B7:xx:xx:xx. 2022-08-19 22:26:41.635 INFO (MainThread) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
2022-08-19 22:26:51.588 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.flower_power_air_temperature is taking over 10 seconds 2022-08-19 22:27:12.524 WARNING (SyncWorker_2) [custom_components.parrotflowerpower.sensor] Polling error (BTerror) Exit read_ble, no data (<Thread(SyncWorker_2, started 140120247895808)>) 2022-08-19 22:27:12.528 INFO (SyncWorker_4) [custom_components.parrotflowerpower.sensor] Polling data for Flower Power Soil Temperature 2022-08-19 22:27:12.528 INFO (SyncWorker_4) [custom_components.parrotflowerpower.parrotflowerpower_poller] Filling cache with new sensor data for device 90:03:B7:xx:xx:xx. 2022-08-19 22:27:22.529 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.flower_power_soil_temperature is taking over 10 seconds 2022-08-19 22:27:43.416 WARNING (SyncWorker_4) [custom_components.parrotflowerpower.sensor] Polling error (BTerror) Exit read_ble, no data (<Thread(SyncWorker_4, started 140119836722944)>) 2022-08-19 22:27:43.419 INFO (SyncWorker_5) [custom_components.parrotflowerpower.sensor] Polling data for Flower Power Light Intensity 2022-08-19 22:27:43.419 INFO (SyncWorker_5) [custom_components.parrotflowerpower.parrotflowerpower_poller] Filling cache with new sensor data for device 90:03:B7:xx:xx:xx. 2022-08-19 22:27:53.420 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.flower_power_light_intensity is taking over 10 seconds 2022-08-19 22:28:14.296 WARNING (SyncWorker_5) [custom_components.parrotflowerpower.sensor] Polling error (BTerror) Exit read_ble, no data (<Thread(SyncWorker_5, started 140119828268800)>) 2022-08-19 22:28:14.299 INFO (SyncWorker_3) [custom_components.parrotflowerpower.sensor] Polling data for Flower Power Calibrated Moisture 2022-08-19 22:28:14.299 INFO (SyncWorker_3) [custom_components.parrotflowerpower.parrotflowerpower_poller] Filling cache with new sensor data for device 90:03:B7:xx:xx:xx. 2022-08-19 22:28:24.312 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.flower_power_calibrated_moisture is taking over 10 seconds 2022-08-19 22:28:45.187 WARNING (SyncWorker_3) [custom_components.parrotflowerpower.sensor] Polling error (BTerror) Exit read_ble, no data (<Thread(SyncWorker_3, started 140120239441664)>) 2022-08-19 22:28:45.190 INFO (SyncWorker_1) [custom_components.parrotflowerpower.sensor] Polling data for Flower Power Moisture 2022-08-19 22:28:45.190 INFO (SyncWorker_1) [custom_components.parrotflowerpower.parrotflowerpower_poller] Filling cache with new sensor data for device 90:03:B7:xx:xx:xx. 2022-08-19 22:28:55.191 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.flower_power_moisture is taking over 10 seconds 2022-08-19 22:29:16.031 WARNING (SyncWorker_1) [custom_components.parrotflowerpower.sensor] Polling error (BTerror) Exit read_ble, no data (<Thread(SyncWorker_1, started 140120256874240)>) 2022-08-19 22:29:16.034 INFO (SyncWorker_2) [custom_components.parrotflowerpower.sensor] Polling data for Flower Power Conductivity 2022-08-19 22:29:16.034 INFO (SyncWorker_2) [custom_components.parrotflowerpower.parrotflowerpower_poller] Filling cache with new sensor data for device 90:03:B7:xx:xx:xx. 2022-08-19 22:29:26.035 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.flower_power_conductivity is taking over 10 seconds 2022-08-19 22:29:46.874 WARNING (SyncWorker_2) [custom_components.parrotflowerpower.sensor] Polling error (BTerror) Exit read_ble, no data (<Thread(SyncWorker_2, started 140120247895808)>) 2022-08-19 22:29:46.877 INFO (SyncWorker_4) [custom_components.parrotflowerpower.sensor] Polling data for Flower Power Battery 2022-08-19 22:29:46.877 INFO (SyncWorker_4) [custom_components.parrotflowerpower.parrotflowerpower_poller] Filling cache with new sensor data for device 90:03:B7:xx:xx:xx. 2022-08-19 22:29:56.878 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.flower_power_battery is taking over 10 seconds 2022-08-19 22:30:17.741 WARNING (SyncWorker_4) [custom_components.parrotflowerpower.sensor] Polling error (BTerror) Exit read_ble, no data (<Thread(SyncWorker_4, started 140119836722944)>)
`