Xiaomi Mijia BLE Temperature and Humidity Sensor

Hello,
New on Home Assistent on Raspberry Pi 4, and waiting for my conbee 2 (it will arrive tomorrow, most off my sensors are Xiaomi and Aqara zigbee devices), so I already tried to add my temperature sensors (BLE). I looks like it worked well to add them, only, no values are visible when I check them.

This is my configuration.yaml where I added 4 sensors…Someone can help me? Thanks.

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

sensor:
  - platform: mitemp_bt
    mac: "A4:C1:38:11:6E:42"
    name: Temp chambre Ruben
    force_update: true
    median: 1
    monitored_conditions:
      - temperature
      - humidity
      - battery
  
  - platform: mitemp_bt
    mac: "A4:C1:38:D4:A7:9D"
    name: Temp chambre
    force_update: true
    median: 1
    monitored_conditions:
      - temperature
      - humidity
      - battery
 
  - platform: mitemp_bt
    mac: "A4:C1:38:98:B5:F8"
    name: Temp SDB
    force_update: true
    median: 1
    monitored_conditions:
      - temperature
      - humidity
      - battery
  
  - platform: mitemp_bt
    mac: "A4:C1:38:6B:69:0E"
    name: Temp Living
    force_update: true
    median: 1
    monitored_conditions:
      - temperature
      - humidity
      - battery

The Xiaomi BLE sensors are bluetooth sensors (BLE = Bluetooth Low Energy) and the ConBee II is for ZigBee devices, that’s a different protocol they can’t be paired to each other.

Please also format your code as explained in point 11 of the community guidelines.

hi,
I know, most off my divices are zigbee, so i can not add yet. that’s why i tried the BLE devices already

Oh, I’m sorry I misread your post.
Did you restart after adding the config? Do you get any errors in Configuration -> Logs?

Where do I find the ‘backtiks’? I did put 3 ’ but that didn’t work

These are the correct backticks `
You can also highlight the code and then press the </> button in the bar at the top.

I did restart. Check configuration OK
Logs : always that update takes over 10 seconds

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:477
First occurred: 08:54:47 (9 occurrences)
Last logged: 22:05:21

Update of sensor.temp_chambre_ruben_temperature is taking over 10 seconds
Update of sensor.temp_chambre_temperature is taking over 10 seconds
Update of sensor.temp_living_temperature is taking over 10 seconds
Update of sensor.temp_sdb_temperature is taking over 10 seconds
Update of alarm_control_panel.xiaomi_gateway_alarm is taking over 10 seconds

Thanks!!! I changed my original post!

Are they close enough to your Pi? Did you wait at least 5 minutes for the sensors to update? Do you see the devices when you use the bluetooth scan on the Pi?

The devices are close to the Pi , or at least 3 of them are. I did add them several hours ago, even restarted multiple times since adding them.
I don’t know how to use the bluetooth scan on my Pi, is this with a command line? i never used a Pi, neather linux or something like that before.

I found how to check the bluetooth scan …

sudo bluetoothctl

My Pi is in the bedroom, and my wife is already sleeping, so I will check it tomorrow!

Thanks for your help!