Quickstart — first telemetry in 5 minutes

No SDK, no broker, no firmware. If it can make an HTTPS request, it can be a Lattice device.

1 · Create your account and project

Sign up — you get your own organization and a first project. No credit card, free while in beta.

2 · Provision a device

  1. In your project, go to Devices → Add device.
  2. Name it (a device type is optional — you can attach one later).
  3. Copy the device token from the confirmation screen.
The token is shown exactly once — Lattice stores only a hash. If you lose it, rotate it from the device page to get a fresh one.

3 · Send a reading

Replace YOUR-DEVICE-ID and YOUR-DEVICE-TOKEN (the connect wizard gives you this exact command pre-filled):

curl -X POST "https://api.latticeiot.com/v1/ingest/YOUR-DEVICE-ID/telemetry" \
  -H "Authorization: Bearer YOUR-DEVICE-TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"temp_c": 23.4, "humidity": 61}'

A 202 Accepted means it landed. The body is flat JSON: metric name → value. Numbers become charts; strings and booleans are stored as text values.

4 · Watch it go live

Back in the app, the device status flips to online and the reading appears on the device page within seconds. To see a moving chart, send a value every few seconds:

while true; do
  curl -s -X POST "https://api.latticeiot.com/v1/ingest/YOUR-DEVICE-ID/telemetry" \
    -H "Authorization: Bearer YOUR-DEVICE-TOKEN" \
    -H "Content-Type: application/json" \
    -d "{\"temp_c\": $((RANDOM % 15 + 18))}"
  sleep 5
done

5 · Next steps

  1. Add a dashboard and drop in a chart widget for your metric.
  2. Create a rule — for example, alert when temp_c > 30 for 60 seconds. See Rules & alerts.
  3. Read the full device HTTP API for commands, acks, and rate limits.
  4. No hardware yet? Use Start with a simulated fleet on your project overview — three virtual greenhouse nodes that report on their own.