Xiaomi Temperature & Humidity Sensor Home Assistant Integration (pvvx custom firmware) May 2023

I’m curious about the zigbee solution. I have over 10 Xiaomi V2 sensors and am using Home Assistant with raspberry 4 but the problem that I have is that the sensors are too far from the raspberry and I’m wondering if the zigbee solution will work out of the box and extend the network to see all of my sensors.

Given that any new purchases of this Xiaomi sensor will have the new firmware which currently does not allow OTA installation (having spent quite some time looking for possible ways)… Until OTA is back up and running again, the quickest way to get these sensors running on home assistant is with a wired flash as follows:

Follow the instructions in this link to flash:
GaryJS3 instructions

you will need a very small torx screwdriver to open the device, but if you have one of these (most laptop repair kits have these) it just clicks open, and you can place the pos and neg on the battery terminals, and hold the one other pin onto P14 as in GaryJS3 suggests. This can be done with no soldering so you can get a device done in around a minute once you have done one.

You use the USB flashing software usb flash writer to install whichever firmware you want, and once this has been done, you are free to use the OTA tool to change firmware if you decide the one you used isnt what you want.

Once flashed, and modified as you want using the OTA config tool, you need to make sure you disconnect the device, either by manually disconnecting the USB-serial adapter or pressing disconnect on the OTA flasher… if you dont do this, the device will not appear on HA in ‘discovered devices’

You need to have bluetooth proxies set up on HA - I do this via my gen2 shelly devices, which all can have bluetooth enabled (both on the device and in HA), but you can use whatever way you like to do this… If you do, and they are in range, then the sensors will autodiscover.

1 Like

I’ve just purchased the sensor and the over the air update is still possible, but the versions have changed, it’s now V48. After that I can do change things with smileys etc. But when it shows up in HA it show in the Xiaomi integration, but it’s not sending the temperature or the humidity. Can someone send me in the right direction? When I try to use BT home I get “No devices found on the network”.

/edit after the 23rd restart in 5 hours it did show up, so no need. But it does work OTA