Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Latest commit

 

History

History
47 lines (27 loc) · 1.32 KB

README.md

File metadata and controls

47 lines (27 loc) · 1.32 KB

openhaystack-esp32-firmware

This is a compiled OpenHaystack firmware for esp-wroom-32.

Tested on macOS 12.4.

How to use(macOS)

Install VCP driver

install CP210x USB to UART Bridge VCP Driver for esp-wroom-32

brew install silicon-labs-vcp-driver

you may need to run installer.app manually by following prompt of brew command.

Install OpenHaystack app on Mac

Follow the instruction from OpenHaystack to install OpenHaystack app on Mac.

Get advertisement key

  1. Open OpenHaystack app on Mac, create a new accessory.
  2. Right click the accessory name, choose "Copy advertisement key" -> "Base64".
  3. Right click the accessory name, choose "Mark as deployed".

Alt text

Deploy firmware on esp-wroom-32

Connect esp32 with Macos by USB, execute

./flash_esp32.sh -p /dev/yourSerialPort "Base64-encoded advertisement key"

You might need to reset your device after running the script before it starts sending advertisements.

Get accessory position on OpenHaystack app

Alt text

References