Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LYWSD03MMC Xiaomi temperature sensor stuck in Bluetooth communication #268

Closed
sorinutzu opened this issue Mar 29, 2023 · 2 comments
Closed
Labels
question Further information is requested

Comments

@sorinutzu
Copy link

Hi,

I am using RPIEasy since a while on RPI-3B+ and RPI Zero W with 10 Xiaomi temperature & humidity sensor LYWSD03MMC on Bluetooth. Everything works fine but since ~one week ago sensors read with RPI-3B+ all remains stuck on communication mode active (Bluetooth icon from upper right being ON) then connection with them is lost, then battery is drained. The RPIEasy from RPI Zero W still working good, no issues, I have moved the sensors on this RPI Zero W and are working fine again. I did not done any change/update/installation on RPI-3B+ before issue begun. I have updated OS and RPIEasy on RPI 3B+ but the same, no fix.

Versions :

  • RPI-3B+ : RPIEasy v2.2.212 then updated to v2.3.022, both with issues; "Raspbian GNU/Linux 11 (bullseye)"; python 2 and 3 installed but default is Python 3.9.2
  • RPI Zero W : RPIEasy v2.2.168, working fine ; "Raspbian GNU/Linux 10 (buster)"; python 2 and 3 installed but default is Python 2.7.16

Do you know what is the root cause ? What can I do to fix broken RPIEasy version ?
I would like to rever from RPIEasy v2.3.022 (latest) to RPIEasy v2.2.168, where can I find an archive of RPIEasy v2.2.168 ?

Thank you !

@enesbcs enesbcs added invalid This doesn't seem right question Further information is requested and removed invalid This doesn't seem right labels Mar 30, 2023
@enesbcs
Copy link
Owner

enesbcs commented Mar 30, 2023

I am using RPI zero W with DietPi 7.1.2 (Buster) and RPIEasy 2.1.327 (6 LYWSD03MMC - BLE Xiaomi sniffer plugin)
I have no issues at all.

I think it may be the OS kernel bluetooth driver which stucks, i saw that earlier on a miniPC with USB BLE stick.
When something works, dont update, or prepare yourself for the consequences. Either Windows or Linux, this is Rule No1.
https://forums.raspberrypi.com/viewtopic.php?t=323480

The last RPIEasy version, where BLE functions changed was 2.1.166 so there will be no gain to revert RPIEasy, but here is the link for 2.2.168:

https://github.com/enesbcs/rpieasy/archive/56837399474856e6dbe0ce92b98758fa29db4e3e.zip

@enesbcs
Copy link
Owner

enesbcs commented May 29, 2023

Closed as no response

@enesbcs enesbcs closed this as completed May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants