Write firmware with setInterval and send, then watch and control the device from the dashboard.
Put the pairing code from the portal in begin().
On first boot the device exchanges that code for a token and keeps it.
Telemetry and commands show up on the dashboard.
#include <Pulsync.h> void setup() { Pulsync.setWiFi("SSID", "password"); Pulsync.setVersion("1.0.0"); Pulsync.begin("PUL-A7K9X2"); Pulsync.setInterval([]() { Pulsync.send("temperature", analogRead(34) * 0.1f); }, 5000); } void loop() { Pulsync.loop(); }
Non-blocking scheduler. setInterval and setTimeout run from loop() without delay().
Live dashboard. Latest values, controls, and a socket for updates.
OTA. The device reports its version and applies a build you assign.
Self-hosting. The same library talks to a server you run. Self-hosting docs.