Settings
Fleet Tokens
Use fleet tokens for zero-touch device provisioning. Flash this token into your firmware so devices register automatically.
Quick Start: Flash Your First Device
Clone the SDK, configure your device, and flash it to get started.
# 1. Clone the firmware template
git clone https://github.com/jettydiot/jettyd-firmware-template my-device
cd my-device
# 2. Configure your device
cat > device.yaml << 'EOF'
wifi:
ssid: "YOUR_WIFI_SSID"
password: "YOUR_WIFI_PASSWORD"
jettyd:
fleet_token: "YOUR_FLEET_TOKEN"
api_url: "https://api.jettyd.com"
mqtt_url: "mqtts://mqtt.jettyd.com:8883"
device:
name: "my-first-device"
type: "esp32-s3"
drivers:
- type: dht22
pin: 4
interval_ms: 10000
EOF
# 3. Build and flash
idf.py set-target esp32s3
idf.py build
idf.py -p /dev/ttyUSB0 flash monitor Replace YOUR_FLEET_TOKEN with your token from the Fleet Tokens section above.