Skip to main content

Production

Overview:

  1. Each device has a unique ID (12 characters) which is made of two parts, unique password (8 characters) and unique HID (4 characters).
  2. The HID is used to get UID from the cloud.
  3. The UID is then used for MQTT connection.
  4. When flashing the device in production, use build_script.py inside repo/firmware/esp32/. This scripts picks up a unique ID from sheet.csv and flashes the device with it.
$ python3 build_script.py <startingID>

For example:

$ python3 build_script.py 1000