ESP32 Mijia LYWSD03MMC MQTT hub
Self device configuration for Home assitant so that you don't need to configure them manually.
- Custom firmware
- Abandoned
- Low brick risk
This project hasn't been claimed by its maintainer yet, so its details come from the community. Is it yours? Claim it
Before you start
- How hard is it?
- HardUses the command line or developer tools.
- What you need
- A computer
- Can it break my device?
- Very unlikely to break anything.
- Can I undo it?
- The project doesn't say. Assume you can't.
Did it work for you?
Did ESP32 Mijia LYWSD03MMC MQTT hub work on your Xiaomi LYWSD03MMC?
No reports yet.
One-tap reports from owners. Bricked reports are checked before they count.
Compatibility
Devices: Xiaomi LYWSD03MMC.
No compatibility information yet.
Getting started
From the project's README ("Platformio users"):
It's developed using platformio. Four different esp32 boards are configured so if you use a diferent board you must make consequent changes in platformio.ini file.
About platformio.ini. Two very important considerations:
boardbuild.partitions = partitionscustom2.csv
Three partition table files are provided, the default one will not allow code to fit as BLE, MQTT and Wifi combined all together take too much memory. So you may play with the other two alternatives. I used custom2 and it worked fine.
buildflags = -D MQTTMAXPACKETSIZE=600
Play with this flag at will. Adjust it if your json config files are bigger or smaller. By default, pubsubclient uses 128 which is never enough for large json MQTT configuration messages.
Risk and recovery
- Brick risk
- Low