Comments (19)
It looks likes its an issue with the binary sensors that I changed the key in 12.6.0 of, (smoke and moisture (dry/wet). I'm debugging it
from ble_monitor.
Great, I’ll make a final release asap.
from ble_monitor.
I have released 12.8.2 as final, which is the same as 12.8.2-beta. This should fix the issue for smoke, moisture and gas binary sensors.
@vsimanin @Olegz73 Can you do a check if this version (12.8.2) also fixes the issue for MCCGQ02HL (door/windows sensor)? I haven't made any changes to the door/window binary sensor, but it could be that the fixes for the other sensors has fixed the door/window sensor as well
from ble_monitor.
Great. Thanks for reporting back. Closing this issue.
from ble_monitor.
Which BLE devices do you have?
from ble_monitor.
Have trouble with this devices
mi window and door sensor 2: isa.magnet.dw2hl
Xiaomi Mijia Honeywell Smoke Detector: lumi.sensor_smoke.mcn02
from ble_monitor.
Could you tell/check in which version it stopped working? Can you e.g try 12.6.x and 12.7.x?
from ble_monitor.
I already try all, 12.6.x , 12.7.x, 12.8.x last good working it's 12.5.1
from ble_monitor.
ok, thanks. That narrows it down for me to the difference between 12.6.x and 12.5.1. I'm looking further.
from ble_monitor.
Could you do a test for me? Remove the device via the BLE monitor options (select the MAC of the sensor at the bottom of the options menu, Send, enable the option to delete the device, 2 send). Next restart HA and after that, add it again.
from ble_monitor.
Have trouble with this devices mi window and door sensor 2: isa.magnet.dw2hl Xiaomi Mijia Honeywell Smoke Detector: lumi.sensor_smoke.mcn02
The bug additionally affects the following devices with similar behavior.
- JTYJGD03MI Smoke Detector
- SJWS01LM Smart Water Leak Sensor
from ble_monitor.
@ilshatms Could you do another wet/dry test. I understand why the moisture sensor isn't added on the first message. But after you have entered the encryption key, it should just add the binary sensor after it receives the next message (at least, that is what I see on my system).
from ble_monitor.
@ilshatms Could you do another wet/dry test. I understand why the moisture sensor isn't added on the first message. But after you have entered the encryption key, it should just add the binary sensor after it receives the next message (at least, that is what I see on my system).
I tried this test yesterday. After adding the device, I waited for some time and then conducted a wet test hoping that the required sensor would appear. However, it did not show up.
from ble_monitor.
I'm having a hard time finding the root cause of the issue, so I tried something else. I have moved the moisture and smoke sensor to the so called auto-binary sensors devices. These devices should add (binary)sensors as soon as they receive a broadcast of a specific sensortype. Hopefully this will fix the issue. I also added a try .. except
statement around the error in the opening post, to find out what is causing the error, if it still occurs.
Can you try to install 12.8.2-beta
(enable beta's in HACS for BLE monitor). It also contains some other (unrelated) changes, so hopefully it wont break other stuff. Thanks for testing and sorry for the inconvenience. Please report back your findings
from ble_monitor.
ok, thanks. That narrows it down for me to the difference between 12.6.x and 12.5.1. I'm looking further.
After 12.5, such a problem with the opening sensors Xiaomi Mi Door and Window Sensor 2 MCCGQ02HL Opening/closing is simply not registered.
version 12.5.1 is very stable!
from ble_monitor.
12.8.2-beta is only updated for smoke and moisture sensors. I can do a similar fix for the MCCGQ02HL, but I first need to get feedback if the fix worked or not.
from ble_monitor.
Can you try to install
12.8.2-beta
(enable beta's in HACS for BLE monitor). It also contains some other (unrelated) changes, so hopefully it wont break other stuff. Thanks for testing and sorry for the inconvenience. Please report back your findings
2.8.2-beta restored the operation of the SJWS01LM Smart Water Leak Sensor; everything is working perfectly.
JTYJGD03MI Smoke Detector - all sensors are accessible, but I'll be able to test with real smoke only tomorrow during the day; I will provide a separate update.
@Ernst79 , thank you for your prompt work!
from ble_monitor.
Can you try to install
12.8.2-beta
(enable beta's in HACS for BLE monitor). It also contains some other (unrelated) changes, so hopefully it wont break other stuff. Thanks for testing and sorry for the inconvenience. Please report back your findings2.8.2-beta restored the operation of the SJWS01LM Smart Water Leak Sensor; everything is working perfectly.
JTYJGD03MI Smoke Detector - all sensors are accessible, but I'll be able to test with real smoke only tomorrow during the day; I will provide a separate update.
@Ernst79 , thank you for your prompt work!
JTYJGD03MI Smoke Detector is working. Bug fixed
from ble_monitor.
I have released 12.8.2 as final, which is the same as 12.8.2-beta. This should fix the issue for smoke, moisture and gas binary sensors.
@vsimanin @Olegz73 Can you do a check if this version (12.8.2) also fixes the issue for MCCGQ02HL (door/windows sensor)? I haven't made any changes to the door/window binary sensor, but it could be that the fixes for the other sensors has fixed the door/window sensor as well
I'm updating the post. Version 12.8.2 has corrected the operation of opening sensors, motion sensors, smoke and water sensors. Thank you!
from ble_monitor.
Related Issues (20)
- [Bug]: It killed my Home Assistant with over 20.000.000 entries HOT 7
- [New Sensor]: xiaomi motion sensor 2s (new product) HOT 20
- [New Sensor]: Lockin S50F HOT 13
- [Bug]: Mijia wireless switch XMWXKG01LM button Last press attribute Display incorrect HOT 2
- [Bug]: Mijia wireless switch XMWXKG01LM Automation does not have sensor options HOT 2
- [Bug]: Can't setup integration HOT 1
- [Bug]: No encryption key found for device with MAC HOT 1
- [Bug]: Deprecating `async_run_job`
- [New Sensor]: HolyIOT Beacon HOT 1
- [New Sensor]: Cync by GE HOT 1
- bettecap HOT 1
- Cheap BLE iTag (without physical buttons) HOT 1
- [New Sensor]: Medisana Blood Pressure Monitor HOT 1
- Bluetooth Temperature Humidity Sensor tuya app HOT 1
- setup fail on HA 2024.4.3 HOT 10
- [New Sensor]: please delete
- [New Sensor]: BBQ Probe HOT 3
- [Bug]: ble_monitor' accesses hass.helpers.device_registry. HOT 13
- DFRobot Fermion BLE sensor beacon new sensor request
- [New Sensor]: bluetooth usb energy monitors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ble_monitor.