A MicroPython implementation of Homie, a lightweight MQTT convention for the IoT. Main target for Microhomie is the ESP8266 device and has been well tested and used on ESP32.
Microhomie v2 implements Homie v4.0.0.
Read the Microhomie documentation to get started.
If you want to make your own node, learn from our examples until we have a "howto build nodes" section in the documentation or join the #microhomie channel on the MicroPython Slack community and chat with us.
Binaries can be verified with minisign and the following public key:
RWTwPeRvouNzP+mcL1t7QDTnKz96i3Kuf95fjpE28szMq8OTycMmiTzX
To save some space we disabled webrepl and btree support. The AccessPoint SSID is Microhomie-MAC with the secret microhomiE. You can see all the details in the micropython.patch file.
Download the latest image and flash it like any MircoPython image to your ESP8266 device. I.E:
esptool --port PORT --baud 460800 write_flash --flash_size=detect --verify -fm dio 0x0 microhomie-esp8266-VERSION.bin
Make your changes in settings.example.py and copy this file as settings.py to your device. You can now test our example nodes from examples/, just copy the main.py to your device. Start with the examples/led node to turn on and off the on-board LED.
To build your own Microhomie image run:
make bootstrap
make
make delpoy PORT=/dev/ttyUSBX
- No SSL support for now