Connect an HTTP-polled device

Synacl polls an HTTP/REST endpoint and extracts values from the JSON response.

Protocol: http

Connection fields:

Field Meaning
url Endpoint to poll
method GET or POST
pollIntervalMs How often to poll (ms)
authHeader Optional Authorization header value
jsonPath Path to the value(s) in the response

Steps

  1. Add a device with protocol http and enter the endpoint and poll interval.
  2. Use jsonPath to point at the field(s) to read into tags.
  3. Add an authHeader if the endpoint needs a token.

Frequent http/poll-error events usually mean a bad URL, auth failure, or unexpected JSON shape.

Auto-disable after repeated failures: if a poll fails 10 times in a row, Synacl stops querying the device and marks it Polling disabled (a device/poll-disabled event is raised). Fix the cause, then click Re-enable polling on the device page — querying resumes within about a minute. See My device shows offline.