MUE4094RT Philips Xiaomi Motion Sensor

I’m having trouble getting this to work. I have two and ESPhome is not detecting them. Any idea how to get them to work? I’m pretty sure I have the correct mac addresses because I use bluetooth sniffer and able to detect mac address with -30 RSSI.

I’m using ESP32 and my other sensors (temp and humidity) work fine without any problem.

Without your esphome yaml or your esphome logs, it is hard (impossible?) to say.

[D][esp32_ble_tracker:544]: Found device F9:3A:19:EB:0E:77 RSSI=-81e
[D][esp32_ble_tracker:565]: Address Type: RANDOMe

That’s the only significant log I see related to the device. It’s detecting it as a ble device, but not as a sensor.

esphome:
  name: mastertemp
  platform: ESP32
  board: mhetesp32devkit

wifi:
  networks:
  - ssid: "**redacted**"
    password: "**redacted**"

#MQTT
mqtt:
  broker: **redacted**
  username: mosquitto
  password: **redacted**

captive_portal:

# Enable logging
logger:

web_server:
  port: 80
  auth:
    username: admin
    password: "**redacted**"

# Enable Home Assistant API
#api:

ota:
  password: "**redacted**"

# Enable Bluetooth scanning for this ESP32
esp32_ble_tracker:

sensor:
  - platform: xiaomi_lywsdcgq
    mac_address: **redacted**
    temperature:
      name: "Master Bedroom Temperature"
    humidity:
      name: "Master Bedroom Humidity"
    battery_level:
      name: "Master Bedroom Battery Level"

  - platform: xiaomi_lywsdcgq
    mac_address: **redacted**
    temperature:
      name: "Kitchen Temperature"
    humidity:
      name: "Kitchen Humidity"
    battery_level:
      name: "Kitchen Sensor Battery Level"

binary_sensor:
  - platform: xiaomi_mue4094rt
    name: "Night Light 01"
    mac_address: F9:3A:19:EB:0E:77
    timeout: "5s"

Please post your code properly How to help us help you - or How to ask a good question

Sorry about that I fixed my code.

Is an entity created in ha?

Yes, it’s created.