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

Connection lost loop #127

Open
pristis opened this issue Aug 29, 2022 · 2 comments
Open

Connection lost loop #127

pristis opened this issue Aug 29, 2022 · 2 comments

Comments

@pristis
Copy link

pristis commented Aug 29, 2022

Hello!

I have an issue with the script. I am using this command to get data from my temp and hum sensor:

python3.9 LYWSD03MMC.py -d A4:C1:38:B4:48:55 -r -b

And the answer from console is always this loop:

Trying to connect to A4:C1:38:B4:48:55
Connection lost
Waiting...
Trying to connect to A4:C1:38:B4:48:55
Connection lost
Waiting...

I can connect with gatttool -I with no issues, but with LYWSD03MMC.py I can't find a solution.

I will be glad for some help. Thanks for your time.

@JsBergbau
Copy link
Owner

Hi pristis,

which Firmware are you using? If not already ATC Firmware von there https://github.com/pvvx/ATC_MiThermometer I recommend using this Firmware. Connection mode is not recommended any more and support will be removed in a future version.

@wojtekza
Copy link

hello, while trying to connect the sensor to domoticz, I updated the sensor. When trying to change the software, I get the message
10:16:48: Searching for devices
10:16:54: Connecting to: LYWSD03MMC
10:16:58: Hardware Revision String: B1.5
10:16:58: Software Revision String: 0159
10:16:58: Firmware Revision String: 2.1.1_0159
10:16:58: Detected Mi device
10:16:58: (!) Version: 2.1.1_0159 is temporarily not supported (!)
10:16:58: Disconnected.

Will he be able to change the software version in some way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants