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

Xiaomi Mijia LYWSD03MMC, firmware 3.7 no data on home assistant #205

Closed
nerdguy1338 opened this issue Mar 15, 2022 · 9 comments
Closed

Xiaomi Mijia LYWSD03MMC, firmware 3.7 no data on home assistant #205

nerdguy1338 opened this issue Mar 15, 2022 · 9 comments

Comments

@nerdguy1338
Copy link

Title is pretty self explanatory.

I had the sensors on 3.5, they're working perfectly.

I happen to check for updates, and flash 3.7 to a few of them.

Now they wind show up in home assistant, just "unknown" for temp and humidity data.

In the online flasher, the advertising format drop-down no longer has "all" as an option.

@pvvx
Copy link
Owner

pvvx commented Mar 17, 2022

The "All" option has been replaced with the new "HA-BLE" format.
Support home brew DIY sensors

@nerdguy1338
Copy link
Author

nerdguy1338 commented Mar 17, 2022 via email

@pvvx
Copy link
Owner

pvvx commented Mar 17, 2022

Old versions of HA ble_monitor custom components are available in 3 formats: atc1441, pvvx, mijia.
The new version will have 4 formats. HA-BLE will be added soon.
The current EspHome supports 3 formats: atc1441, pvvx, mijia.

@nerdguy1338
Copy link
Author

nerdguy1338 commented Mar 17, 2022 via email

@pvvx
Copy link
Owner

pvvx commented Mar 17, 2022

A working beta with 'HA_BLE' is available here:
https://github.com/custom-components/ble_monitor/tree/new-HA_BLE

@pvvx
Copy link
Owner

pvvx commented Mar 17, 2022

In the yaml, I'm just using "pvvx_mithermometer"
Oh ok. So I just upgraded too early.

You need to switch the format to "custom" and everything will continue to work.
With the "All" option, the consumption is slightly higher and it makes no sense to use it if components that understand only one format are installed.

@Ernst79
Copy link

Ernst79 commented Mar 17, 2022

For HA-BLE you can use the latest beta of BLE monitor

@comet424
Copy link

comet424 commented Mar 21, 2022

im guessing it was too soon to upgrade to 3.7c? as no option in esphome?
i tried to downgrade to 3.5c as it was working... and it wouldnt work either.. as i had that running.. only fix i found was
to load up the atc1441 firmware.. i even tried orginal firmware and then to 3.5c and still didnt work.. guess it saves something in memory that couldnt be erased..
so for now running that atc1441.. as i couldnt downgrade and get it back up and running

ill wait a couple months and try again

@pvvx
Copy link
Owner

pvvx commented Mar 22, 2022

im guessing it was too soon to upgrade to 3.7c? as no option in esphome?
i tried to downgrade to 3.5c as it was working... and it wouldnt work either.. as i had that running.. only fix i found was
to load up the atc1441 firmware.. i even tried orginal firmware and then to 3.5c and still didnt work.. guess it saves something in memory that couldnt be erased..

Using TelinkMiFlasher

image

  1. For ESPHome and ATC1441 compatibility, select Ad Type: Atc1441.
  2. For very old versions of programs - check the box "AdFlags".
  3. Save the configuration. image

In "Home Assistant" with "BLE Monitor" the device will look like this:
image

  • Note that temperature and humidity values are limited in the Atc1441 format compared to other formats.

@pvvx pvvx closed this as completed Apr 29, 2022
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

4 participants