Production
Overview:
- Each device has a unique ID (12 characters) which is made of two parts, unique password (8 characters) and unique HID (4 characters).
- The HID is used to get UID from the cloud.
- The UID is then used for MQTT connection.
- When flashing the device in production, use
build_script.pyinsiderepo/firmware/esp32/. This scripts picks up a unique ID fromsheet.csvand flashes the device with it.
$ python3 build_script.py <startingID>
For example:
$ python3 build_script.py 1000
No Comments