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

Support ATC_MiThermometer flashed Xiaomi LYWSD03MMC sensors #818

Open
marrold opened this issue Jul 18, 2021 · 2 comments
Open

Support ATC_MiThermometer flashed Xiaomi LYWSD03MMC sensors #818

marrold opened this issue Jul 18, 2021 · 2 comments

Comments

@marrold
Copy link
Contributor

marrold commented Jul 18, 2021

Thanks to @atc1441 it's possible to flash the LYWSD03MMC sensors to remove the encryption - https://github.com/atc1441/ATC_MiThermometer

However once flashed, Room Assistant doesn't seem to be able to parse them:

7/18/2021, 6:07:29 PM - warn - XiaomiMiService: XIAMOI_LYWSD03MMC_03 does not appear to be a Xiaomi device. Got advertisement {"localName":"ATC_6DBDE7","serviceData":[{"uuid":"181a","data":{"type":"Buffer","data":[164,193,56,109,189,231,1,61,49,100,12,157,36]}}],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]} 7/18/2021, 6:07:32 PM - warn - XiaomiMiService: XIAOMI_LYWSD03MMC_02 does not appear to be a Xiaomi device. Got advertisement {"localName":"ATC_AEE5EA","serviceData":[{"uuid":"181a","data":{"type":"Buffer","data":[164,193,56,174,229,234,1,59,48,100,12,171,44]}}],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]}

Would it be possible to add support?

Thanks!

@mplacona
Copy link

Wondering if there have been any updates on this. I have some of these working well but all my new devices which report the same as the above don't ever make it to the entities page and therefore never get queued to my MQTT server.

I don't know how to "dump" the messages that come from the ones that currently work, but can do it if anyone tells me how in case it's helpful. This is exactly what I get from devices that aren't working at the moment:

Nov 18 17:28:42 pigateway room-assistant[18064]: 18/11/2021, 17:28:42 - warn - XiaomiMiService: Deathstar does not appear to be a Xiaomi device. Got advertisement {"localName":"ATC_DEATHS","serviceData":[{"uuid":"181a","data":{"type":"Buffer","data":[164,193,56,190,3,99,0,230,50,66,10,239,95]}}],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]}

Thanks

@mplacona
Copy link

I may have solved this one by myself. I thought it had to do with how advertising works. Turns out the custom firmware defaults to the "custom" ode as described here. So I went ahead and changed it to "Mi" and now it works.

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

No branches or pull requests

2 participants