Send a real reading, not just a mockup.
Choose a path, replace the marked credentials and run it. Every example uses TLS and the same telemetry pipeline as production devices.
Pick what you have in front of you.
- 01Create the destination
Sign in, create or select a workspace, then add a device.
- 02Issue a credential
Choose HTTP for cURL/Python HTTP, or MQTT for Mosquitto, Python MQTT and ESP32. Copy the credential when it is shown; secrets cannot be recovered later.
- 03Replace the placeholders
Use the values from Devicecamp for DEVICE_ID, DEVICE_SECRET or the MQTT fields. Never commit the completed file.
- 04Run and verify
Start the command or program, then open the device workbench. Temperature and humidity should appear within a few seconds.
One HTTPS request
Requires cURL. Available on macOS, most Linux systems and current Windows versions.
curl -X POST \
https://api.devicecamp.app/v1/devices/DEVICE_ID/telemetry \
-H "Authorization: Bearer DEVICE_SECRET" \
-H "Content-Type: application/json" \
-d '{"temperature":22.4,"humidity":51}'Paste the command after replacing DEVICE_ID and DEVICE_SECRET.- DEVICE_ID and its credential
- Wi-Fi name and password for ESP32
- Sample sensor reads with your hardware reads
The device changes to online and Devicecamp discovers temperature and humidity automatically. If it does not, check the terminal or Serial Monitor first; the examples print transport errors without exposing the secret.
Once the first message works, use these patterns to shape a complete project.
A secure MQTT dashboard without broker work.
Create one device credential, publish compact JSON and let Devicecamp handle topic ACLs, metric discovery and history.
Docs →ESP32 dashboardFrom ESP32 sensor to browser dashboard.
A practical route for greenhouse, room-air and aquarium projects using Arduino-compatible libraries.
Docs →ESP32 data loggerA hosted data logger with retention built in.
Send timestamped readings over HTTP or MQTT instead of maintaining an SD-card export and custom server.
Docs →HTTP sensor dashboardPost JSON. Get a sensor dashboard.
Send authenticated readings from a script, gateway, microcontroller, or industrial adapter without adopting a proprietary SDK.
Docs →Agent-native IoTTelemetry your coding agent can operate safely.
Give tools bounded workspace context and revocable access instead of pasting device credentials or exposing the database.
Docs →Compare platforms
See where Devicecamp differs before you migrate or start a new build.