This page is under construction! I'm working on it :)
There are two ways to send data to Inventronix Connect:
The Inventronix Arduino library handles all the complexity for you - HTTP requests, retries, error handling, and command dispatch.
Arduino IDE:
PlatformIO:
1 | |
1 | |
If you have multiple schemas, tell the library which one to use:
1 | |
Commands are automatically received when you call `sendPayload()`. Register handlers in `setup()`:
1 | |
For things that should run for a set duration then stop (pumps, buzzers):
1 | |
Or get the duration from the server:
1 | |
Check if a pulse is active:
1 | |
1 | |
1 | |
The library provides clear error messages:
For non-Arduino devices, or when you want full control.
1 | |
JSON object with your data fields:
1 | |
Success (202 Accepted):
1 | |
With pending commands:
1 | |
Validation error (400):
1 | |
curl:
1 | |
Python:
1 | |
JavaScript (Node.js):
1 | |
MicroPython (ESP32):
1 | |
Each account has a rate limit of 30 requests per minute, shared across all projects.
If you exceed the limit, you'll get a `429 Too Many Requests` response. Wait a moment and retry.
The Arduino library handles this automatically with exponential backoff.
Commands are returned in the response to your payload. Your device should:
Commands are only delivered once. If your device doesn't process them, they're lost.
The command format:
1 | |
Always report what's actually happening, not what you think should happen:
1 | |
Don't send garbage data if a sensor read fails:
1 | |
Never commit your API key to public repositories. Use: