Miflora breaks hassio

I’m currently running Hassio, 0.89.1 on RP3 model B.

After several attempts to try to understand the problem, I realized that the miflora package breaks hassio.
When I insert the package, hassio becomes very slow and fails to load the frontend.
If I remove the package all works fine

Did anyone else have the same problem? There is a solution?.

plant:
  bonsai:
sensors:
  moisture: sensor.bonsai_moisture
  battery: sensor.bonsai_battery
  temperature: sensor.bonsai_temperature
  conductivity: sensor.bonsai_conductivity
  brightness: sensor.bonsai_light_intensity
min_moisture: 20
max_moisture: 60
min_battery: 10
min_conductivity: 350
max_conductivity: 2000
min_temperature: 10
max_temperature: 32
min_brightness: 1500
max_brightness: 30000

  rosmarino:
sensors:
  moisture: sensor.rosmarino_moisture
  battery: sensor.rosmarino_battery
  temperature: sensor.rosmarino_temperature
  conductivity: sensor.rosmarino_conductivity
  brightness: sensor.rosmarino_light_intensity
min_moisture: 15
max_moisture: 60
min_battery: 10
min_conductivity: 350
max_conductivity: 2000
min_temperature: 8
max_temperature: 32
min_brightness: 3000
max_brightness: 60000

  orchidee:
sensors:
  moisture: sensor.orchidee_moisture
  battery: sensor.orchidee_battery
  temperature: sensor.orchidee_temperature
  conductivity: sensor.orchidee_conductivity
  brightness: sensor.orchidee_light_intensity
min_moisture: 15
max_moisture: 65
min_battery: 10
min_conductivity: 350
max_conductivity: 2000
min_temperature: 15
max_temperature: 32
min_brightness: 2000
max_brightness: 30000

  agapanthus:
sensors:
  moisture: sensor.agapanthus_moisture
  battery: sensor.agapanthus_battery
  temperature: sensor.agapanthus_temperature
  conductivity: sensor.agapanthus_conductivity
  brightness: sensor.agapanthus_light_intensity
min_moisture: 15
max_moisture: 60
min_battery: 10
min_conductivity: 350
max_conductivity: 2000
min_temperature: 5
max_temperature: 35
min_brightness: 3700
max_brightness: 50000

  cipresso:
sensors:
  moisture: sensor.cipresso_moisture
  battery: sensor.cipresso_battery
  temperature: sensor.cipresso_temperature
  conductivity: sensor.cipresso_conductivity
  brightness: sensor.cipresso_light_intensity
min_moisture: 15
max_moisture: 60
min_battery: 10
min_conductivity: 350
max_conductivity: 2000
min_temperature: 5
max_temperature: 35
min_brightness: 3500
max_brightness: 50000

sensor:
  - platform: miflora
mac: xxxxxxxxxxxx
name: Rosmarino
force_update: false
median: 3
monitored_conditions:
  - moisture
  - light
  - temperature
  - conductivity
  - battery
  - platform: miflora
mac: xxxxxxxxxxxx
name: Bonsai
force_update: false
median: 3
monitored_conditions:
  - moisture
  - light
  - temperature
  - conductivity
  - battery
  - platform: miflora
mac: xxxxxxxxxxxx
name: Orchidee
force_update: false
median: 3
monitored_conditions:
  - moisture
  - light
  - temperature
  - conductivity
  - battery
  - platform: miflora
mac: xxxxxxxxxxxx
name: Agapanthus
force_update: false
median: 3
monitored_conditions:
  - moisture
  - light
  - temperature
  - conductivity
  - battery
  - platform: miflora
mac: xxxxxxxxxxxx
name: Cipresso
force_update: false
median: 3
monitored_conditions:
  - moisture
  - light
  - temperature
  - conductivity
  - battery

Your indentation seems to be all over the place, but assuming that is a typo.

I am not sure if this is the problem

Since only one BLE device can be polled at a time, the library implements locking to prevent polling more than one device at a time.

I see that ESPhome claims not to have this problem. https://esphome.io/components/sensor/xiaomi_miflora.html

Note that contrary to other implementations, ESPHome can track as many MiFlora devices at once as you want.

I’ve never used an esp32 module, but it’s always nice to learn.
Where can I find the scketch and a guide to make them communicate with miflora? The become a ble gateway tight?

I haven’t looked at it in too much detail. If you use the esphome api connection to home assistant https://esphome.io/components/api.html and the miflora component I pointed to, the sensors should just show up in home assistant.

I am very impressed with esphome, have only being playing with it a few days, but the ease of programming, quality of documentation and integration to HA are out of this world.

https://github.com/home-assistant/home-assistant/issues/21925