- Install ESP Tool if you don't have it already.
- Download fullhaboot.bin file.
- Connect serial adapter cable:
- 3.3v -> 3.3v
- RX -> TX
- TX -> RX
- GND -> GND
- Connect with flashing mode: Press and hold device button (or connect GPIO0 to GND), connect serial adapter to computer, release button after ~1 seconds.
esptool.py -p /dev/cu.usbserial-1410 erase_flash
- Disconnect adapter and reconnect again with flashing mode as described in Step 3.
esptool.py -p /dev/cu.usbserial-1410 --baud 115200 write_flash -fs 8m -fm dout -ff 40m 0x0 path/to/fullhaaboot.bin
(or1M
instead of8m
for some devices).- Disconnect and reconnect without flashing mode.
- Connect to device hostpot WiFi (HAA-XXXXX).
- Go to http://192.168.4.1 or http://192.168.4.1:4567
- Enter your JSON config:
{"c":{"l":13,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":0}]}]}
and click Save. - Wait for several minutes and your device should be ready to be added to HomeKit.
- Click + in Home app, then scan the code 021-82-017.
- If you get any errors while adding, try clicking "I don't have a code or cannot scan" and you should see your device in the list.
Based on https://github.com/RavenSystem/esp-homekit-devices/wiki/Installation