Every DOBI SDK does the same four things:
register—POST /api/devices/registerwith a provision keyheartbeat—POST /api/devices/<id>/heartbeatwith metricspoll—GET /api/devices/<id>/actionsfor queued commandsreport—POST /api/devices/<id>/actions/<id>/result
One shared lifecycle, three runtimes:
| Runtime | Path | Notes |
|---|---|---|
| Node (Linux, RPi, containers) | node/ |
Zero-dep, native http/https. dobi-sdk on npm. |
| Python (RPi, Linux, anywhere Python 3.7+ runs) | python/ |
Zero-dep, stdlib urllib. pip install dobi-sdk. |
| ESP32 / Arduino | arduino/DobiESP32Example.ino |
Sketch template — WiFi + HTTPClient + ArduinoJson. |
The landing dialog on https://dobi.guru/app/devices also emits these snippets with your chosen provision key pre-filled.