If only this was an automation platform where you could control your dashboards and notifications.
I know where and how to upgrade custom integrations, I was just not aware of that HA can break an integration so badly and error logs/notifications arenât really helpful as seen⌠(e.g. who to f would have thought this out of an 500 internal server error?)
Hello there!
Is it possible to add support for new version of Xiaomi Miaomiaoce Smart thermometer (Device model MMC-t201-2)? Iâve tried to flash it with Telink webservice, it connects but there is no firmware for this iteration of device.
Itâs very interesting and affordable device for sport usage (heat training in running, cycling and any kind of endurance sports).
Iâve searched all king of information how to add support to Garmin devices (cycling computer, watches) and there is available plugin for display such parameter as body temperature, but there no support for device Connect IQ Store | Free Watch Faces and Apps | Garmin
Hello community,
I am quite new with HA and bought a Linptech KS1 Pro (KS1BP) recently on Aliexpress (V1.2), because I read that this device has been added to the supported devices in BLE Monitor Integration. I still use BLE Monitor Integration successfully with Jaalee Temperatur and Humidity Sensors (JHT) and Ruuvitag. I am running version 12.13.0 of BLE Monitor and paired first the KS1 Pro with the Xiaomi Home App on my iPhone. This was not so easy because I learned that you have to use the China Mainland Server. In the App I see âGateway connectedâ but I donât see the temperature and humidity values. I was able to give a name to the 4 buttons. I donât have a HUB and in the App under Device-Network appears OFFLINE.
I see the KS1 Pro in the BLE Monitor Integration, but all values ar âunknownâ, except the BLE Tracker. I did 2 system restart but nothing helped.
I thought as supported device I can just add the KS1 Pro in the BLE Monitor, like the Jaalee and the Ruuvi, but it doesnât work.
What did I miss? Do I need a Xiaomi HUB to use the KS1 Pro in HA? This was and still will not be my intention.
Thank you for helping me.
Did you enter the encryption key in the ble monitor device settings? Make sure you have the latest encryption key, as it changes qhen(re)adding it to mihome. See the faq how to get the encryption key.
Hello Ernst, thank you for your quick answer. I tried to get the encryption. I didnât use option 1 (Xiaomi Cloud Extractor), because I guess that without using a hub there will be no device in the cloud. I used option 2a, but it didnât work. I could pair but then I got only the Device known id, but no Mi Bind Key. With option 2b I could pair, but without result. See screenshots.
How should I proceed?
Thank you for your help.
Hello guys,
Iâve been trying to get the beacon key from my Yeelight Dimmer Switch 1526 YLKG07YL/YLKG08YL.
Iâve tried the get_beacon_key python script Option 5 in this quide: FAQ | Passive BLE Monitor integration
I got this lines after trying:
â ~ python3 get_beacon_key.py F8:24:41:C3:15:26 950
Activate pairing on your 'F8:24:41:C3:15:26' device, then press Enter:
Connection in progress...
Successful connection!
Authentication in progress...
Characteristic 00000010-0000-1000-8000-00805f9b34fb was not found!
Disconnected!
Not sure what else can I try. I donât have any lamp that I can pair natively.
Iâm trying to get a Govee H5182 working and canât tell if thereâs a permissions problem with my bluetooth adapter. Iâm using Home Assistant installed from the Arch Linux repository, HACS installed through the AUR, and Passive BLE Monitor Integration installed from the HACS store. With the scan set up as seen in this pic, the device is never found.
Checking the log, I have the [custom_components.ble_monitor] HCIdump thread: Something wrong - interface hci0 not ready, and will be skipped for current scan period. error message, which the FAQ says is from Python not having the necessary permissions. But Iâve checked that
sudo getcap `readlink -f \`which python3\``
has /usr/bin/python3.12 cap_net_admin,cap_net_raw=eip which looks like it has the right permissions.
In my HA log, following those messages is the a few minutes of scans with 0 advertisements. Then I turn on my computerâs UI âsearch for Bluetooth connectionsâ and the log sees tons of things to connect to until I turn that off. So, it seems good that Home Assistant did start looking for advertisements and was able to see traffic from the adapter, but seems bad that I got the notorious error message and had minutes of 0 advertisements.
Anyone able to weigh in on this?
This may be better suited for the Arch forum, but the Arch wiki (canât link it since Iâm a new user and can only link two things) discusses a Bluetooth integration problem. I never got the error message they talk about and I already had dbus-broker installed, so Iâm not sure itâs relevant, but worth mentioning.
EDIT: Solved. See last post in [Solved] Home assistant bluetooth / System Administration / Arch Linux Forums . The service for Home Assistant uses a virtual environment and dynamicuser; for reasons I donât understand, the best solution is to edit .service file with
[Service]
AmbientCapabilities=CAP_NET_RAW
CapabilityBoundingSet=CAP_NET_RAW
I believe this removes the need to do the usual step 0 python setcap.
My Bluetooth device is not supported but I only want an automation when it is online based on Mac. Is this component is needed or can I use other components ?
I donât know the Mac yet so I have to figure that out somehow.
Does anyone have a good watchdog script for this integration? Reload the integration or reboot if its not getting data.
Did you find a solution?
I have a XMWXKG01LM BLE button and I cannot find a way to extract the encryption key.
And when I extract where to insert it? Home Assistant Xiaomi integration recognizes the device but does not ask for the keyâŚ
You can set it in the ble monitor options, by selecting the MAC address of the device.
Which method did you use to get the key?
Tried 1 to connect to mi home app (by changing region to China) but could not add because it was asking to connect to gateway which I have notâŚ
Tried 2a TelinkFlasher but although it connects to the device the moment I press Do Activation it disconnects.
Attempted to do 7 miiocli tool, I had some issues with the dependencies of the python script. I will try it again tomorrow.
Cannot figure out what I am doing wrongâŚ
Method 1 wonât work if you donât have a hub, correct. Method 5 to 8 are for the devices that use MiHome 2/3, I think method 7 therefor wonât work. I think your device will use MiHome V5, so you should use method 1 to 4.
I would suggest to ask the developer of the method 2 if he knows why it doesnât work, as method 3 and 4 are quite complicated to carry out. GitHub - atc1441/ATC_MiThermometer: Custom firmware for the Xiaomi Thermometer LYWSD03MMC and Telink Flasher via USB to Serial converter
I will contact the developer of the method 2 as you suggested, thanks.
In the meantime something unexpected happened. Today I saw the button registered and working under Xiaomi BLE integrationâŚ!
I have only one possible explanation in mind since I am definitely sure I havenât extracted the key with any method. I have already a LYWSD03MMC thermometer connected with the Xiaomi BLE integration using the key I have extracted with the method 2. When I switched my android app to China servers to connect the XMWXKG01LM button and then switched back I believe all keys where reset. Xiaomi BLE integration asked me the key and I used my Mi credentials to extract. I believe that then it extracted the key for the XMWXKG01LM button also.
That means that it worked without me having a Xiaomi gateway.
Does this make sense?
Hmm, doesnât make sense to me, but, if it worksâŚâŚAlthough, it might be that you donât need a hub, you only need to add it to the MiHome app on your phone. I think it might use the Bluetooth of your phone, not of the hub.
Sorry, I abandoned the issue. To complicate. Sensors should be easy to handle.
Has anyone connected any Bluetooth Blood Pressure Monitor to this integration? Iâm currently looking at Omron monitors and I can see that is in a list of vendors on GitHub, but not mentioned elsewhere.
So this works in mac python env? please
Donât know if that works, HA and the venv. should have access to Bluetooth to make it work, but havenât tested it myself on a mac






