Giter Site home page Giter Site logo

Comments (19)

Ernst79 avatar Ernst79 commented on June 29, 2024 3

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.

Ernst79 avatar Ernst79 commented on June 29, 2024 2

Great, I’ll make a final release asap.

from ble_monitor.

Ernst79 avatar Ernst79 commented on June 29, 2024 1

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.

Ernst79 avatar Ernst79 commented on June 29, 2024 1

Great. Thanks for reporting back. Closing this issue.

from ble_monitor.

Ernst79 avatar Ernst79 commented on June 29, 2024

Which BLE devices do you have?

from ble_monitor.

Olegz73 avatar Olegz73 commented on June 29, 2024

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.

Ernst79 avatar Ernst79 commented on June 29, 2024

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.

Olegz73 avatar Olegz73 commented on June 29, 2024

I already try all, 12.6.x , 12.7.x, 12.8.x last good working it's 12.5.1

from ble_monitor.

Ernst79 avatar Ernst79 commented on June 29, 2024

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.

Ernst79 avatar Ernst79 commented on June 29, 2024

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.

ilshatms avatar ilshatms commented on June 29, 2024

Have trouble with this devices mi window and door sensor 2: isa.magnet.dw2hl Xiaomi Mijia Honeywell Smoke Detector: lumi.sensor_smoke.mcn02

@Ernst79,

The bug additionally affects the following devices with similar behavior.

  1. JTYJGD03MI Smoke Detector
  2. SJWS01LM Smart Water Leak Sensor

from ble_monitor.

Ernst79 avatar Ernst79 commented on June 29, 2024

@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 avatar ilshatms commented on June 29, 2024

@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.

Ernst79 avatar Ernst79 commented on June 29, 2024

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.

vsimanin avatar vsimanin commented on June 29, 2024

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.

Ernst79 avatar Ernst79 commented on June 29, 2024

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.

ilshatms avatar ilshatms commented on June 29, 2024

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.

ilshatms avatar ilshatms commented on June 29, 2024

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!

JTYJGD03MI Smoke Detector is working. Bug fixed

from ble_monitor.

vsimanin avatar vsimanin commented on June 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.