Voltech

ESP32 Connectivity Test

Verify API key auth, trigger test packets, and confirm realtime data flow

Connecting…

API Key Authentication

Loading API keys…

Connection Status

Supabase RealtimeConnecting
API EndpointReady
API Key AuthNot tested
Last Packet

Endpoint

POST /api/device/data

Header: x-api-key: <key>

Trigger Test Packets

— sends a real packet to the API, stores in Supabase, and pushes via realtime

Custom Packet

Connection Log0 entries

Waiting for events…

💡 Click any log entry with a ▼ arrow to expand its full payload. Realtime packets appear automatically as ESP32 data arrives.

ESP32 Quick Reference

Arduino / ESP32 POST example

HTTPClient http;
http.begin("https://voltech1097.builtwithrocket.new/api/device/data");
http.addHeader("Content-Type", "application/json");
http.addHeader("x-api-key", YOUR_API_KEY);
String body = "{"hex":"23 23 FF FF 41 ...","protocol":"RS232"}";
int code = http.POST(body);

cURL test command

curl -X POST \
  https://voltech1097.builtwithrocket.new/api/device/data \
  -H "Content-Type: application/json"  -H"x-api-key: YOUR_KEY" \
  -d '{"hex":"23 23 FF FF 41 0A 0A 00 00 00 DB 00 F4 01 00 00 00 1D 00 00 00 00 08 00 FF FF FF FF 24 24","protocol":"RS232"}'