AI-POWERED DOCS
What do you want to know?
Ignition
Two ready-made kits connect OV Spark to Inductive Automation Ignition (8.3, and 8.1 for the HTTP kit). Each one is an Ignition project, a tag file, a setup guide and a README. Import it, point it at your camera, and you get an Overview dashboard in Perspective with the inspection image, the verdict, every tool's result, counters and yield, and the camera's status.
Use them as a demo for a customer on Ignition, or as the starting point for an integration. The scripts are commented, so they are easy to adapt to other tags, an MES or a database.
The kits were built and tested on an OV Spark Pro, which is why the files are named SparkPro. OV Spark runs the same software and the same HTTP API, so they work the same way on both cameras.
Which kit do I need?
| HTTP client | Webhook | |
|---|---|---|
| Who starts each inspection | Ignition, with POST /trigger | Anything: a PLC, a sensor, the HMI, an interval, or Ignition |
| How the result reaches Ignition | In the answer to the trigger request | The camera sends every Production result to Ignition |
| Inspection image on the dashboard | Loaded from the camera by the browser | Sent with the result, annotated, so the browser does not need to reach the camera |
| Camera software | Any version with the HTTP API | 2026.11.26 or later (Data Connectors > Webhooks) |
| Ignition | 8.1 or 8.3, no extra modules | 8.3 with the Web Dev module |
| Use it when | Ignition or the customer's SCADA owns the trigger | The PLC owns the trigger and Ignition only needs the data |
Downloads
| Kit | Contains | Download |
|---|---|---|
| HTTP client | Ignition project (dashboard view, Overview style classes, OVCamera script, TriggerCamera tag event), OV_tags.json (32 tags), setup guide, README | OV_SparkPro_Ignition_HTTP_Client.zip |
| Webhook | The same, plus the Web Dev scripts ovwebhook_WebDev.py and 37 tags | OV_SparkPro_Ignition_Webhook.zip |
The setup guides are inside each zip. To read one before you download a kit: HTTP client guide (PDF) · Webhook guide (PDF).
The dashboard
Both kits install the same Camera Dashboard view.

- Camera status: RUN MODE, SETUP MODE or OFFLINE, and the active recipe, read every 2 seconds.
- Last result: recipe, trigger ID and source, capture time (UTC), processing time, what decided the verdict, and the result ID.
- Inspection image.
- Verdict: green for PASS, red for FAIL, amber for NOT INSPECTED.
- Trigger Inspection: reads INSPECTING... and is disabled while the camera works, so it cannot overrun the camera.
- Counters kept in Ignition: inspected, pass, fail, not inspected, and yield (pass divided by pass plus fail). Reset counters does not touch the camera's own statistics.
- Tool results: one row per tool, with verdict, score, time, error and a one-line detail (alignment position, barcode data, OCR text and so on).
- Script metadata and variables the recipe script attached to the result.
HTTP client
Ignition is the client and the camera is the server. Ignition sends POST /trigger, the camera runs one inspection on the active recipe and returns the whole result in the same answer. The OVCamera project script writes it to tags under [default]OV, and the dashboard reads the tags. There is no device connection, Gateway Network entry or certificate to set up: the Gateway only needs a network route to the camera.
Set it up
- Get the camera ready. In the recipe's trigger settings, enable the HTTP source, then switch the camera to Production (run mode). From the Ignition server, open
http://CAMERA_IP/api/integration/v1/health; it should return{"status":"ok"}. - Import the project. Unzip the kit and import
OV_SparkPro_HTTP_Client_Project.zipon the Gateway, then open it in the Designer. - Import the tags. In the Designer Tag Browser, select the default provider at the top level (not inside an
OVfolder), importOV_tags.json, and choose Merge for collisions. - Point the script at your camera. In Project Library > OVCamera, set
CAMERA = "http://<camera IP>". If the camera has an Admin user, create a camera account for Ignition and setUSERNAMEandPASSWORDin the same place. Save. - Open the dashboard in a Perspective session. The header turns green and reads RUN MODE within 2 seconds.
- Fire a test trigger. Press TRIGGER INSPECTION, or set
[default]OV/Triggerto true. The verdict, image and tool table fill in. Each result is also logged under OV.SparkPro in the Gateway's Diagnostics > Logs.
From a PC on the camera network, curl -X POST http://CAMERA_IP/api/integration/v1/trigger -H "Content-Type: application/json" -d '{"wait_ms":5000}' should answer 200 with the result. If it does, the Ignition script will work too.
A PLC or another script can trigger through the tag: the TriggerCamera gateway tag event watches [default]OV/Trigger, runs one inspection when it goes true and sets it back to false. It runs on the Gateway, so no Designer or Perspective session has to be open.
Troubleshooting
| What you see | Cause | Fix |
|---|---|---|
Error: 409 trigger_source_not_enabled | The active recipe does not accept HTTP triggers | Enable the HTTP source in the recipe's trigger settings |
Error: 409 trigger_phase_not_production | The camera is in setup mode | Switch to Production. The header shows the current mode |
Error: 409 trigger_disabled | The PLC's Trigger Disable signal is set | Clear it on the PLC |
Error: 503 trigger_source_overrun | A trigger arrived while the previous inspection was still running | Send the next trigger after the previous result |
| Header shows OFFLINE | Ignition cannot reach the camera | Check the route from the Gateway to the camera, and open /api/integration/v1/health from the server |
Error: 401 or 403 | The camera has an Admin user, or the account's role cannot trigger | Set USERNAME and PASSWORD in OVCamera. See Users and Permissions |
| Verdict updates but the image is blank | The browser loads the image straight from the camera | The PC or panel showing the dashboard must be able to reach the camera |
Nothing happens when OV/Trigger goes true | The tag change event is not running | Check the event is enabled, and look for errors in Diagnostics > Logs |
Webhook
The camera is the client: after every inspection in Production it sends the full result to an Ignition Web Dev endpoint, with the annotated image if you turn it on. Ignition does not poll or trigger anything, so results arrive whatever started the inspection. The body is the same result JSON as the HTTP API and MQTT.
If Ignition cannot be reached, the camera keeps retrying and holds results until they are delivered: about 8 per endpoint when each carries an image, up to 1,000 without. Results still waiting are lost if the camera restarts.
Set up Ignition
IGNITION_IP is the IP of the PC or server running the Gateway, on the network the camera can reach. PROJECT_NAME is the name the project gets when you import it.
- Install the Web Dev module from Inductive Automation on the Gateway's Modules page. Without it, every request returns
404 No servlet "webdev" found. - Import the project and tags. Import
OV_SparkPro_Webhook_Project.zip, then in Project Library > OVCamera setCAMERA = "http://<camera IP>"(the dashboard uses it for the camera status). In the Tag Browser, select the default provider at the top level and importOV_tags.jsonwith collision policy Merge. - Create the Web Dev resource. In the Project Browser, right-click Web Dev > New Python Resource and name it
ovwebhook. For each of doGet, doPost and doPut, pick it in the HTTP Method dropdown, tick Enabled, and paste its function fromovwebhook_WebDev.py. Save the project. - Open port 8088 in Windows Firewall. Add an inbound rule for TCP 8088, set to Allow, with the Public profile ticked as well as Private and Domain. A cable straight to a camera usually shows up as an unidentified Public network.
- Check the endpoint. Open
http://IGNITION_IP:8088/system/webdev/PROJECT_NAME/ovwebhook. It should show{"ok":true}.
A browser on the same PC skips Windows Firewall, so a page that loads locally does not prove the camera can get through. Check from another PC on the camera network.
Set up the camera
On the camera, open Data Connectors > Webhooks and click Add endpoint.

| Setting | Value |
|---|---|
| Name | Ignition |
| Address | POST and http://IGNITION_IP:8088/system/webdev/PROJECT_NAME/ovwebhook. Not localhost: to the camera that means itself, and it refuses the address |
| What to send | Full, so the tool table gets positions, counts and decoded text |
| Image | Annotated, to show the camera's overlay on the dashboard. Each request is then about 1 MB. With None the dashboard loads the image from the camera instead |
| Sign-in | None. To require a key, add a custom header X-API-Key and set the same value as WEBHOOK_KEY in OVCamera |
- Save, then click Send test request. All four checks should pass. The dashboard shows the recipe "Webhook test", delivered by WEBHOOK TEST. The test has no real picture in it, and it counts as one inspection, so press Reset counters afterwards.
- Switch the camera to Production. Webhooks only carry Production results.
Check that results arrive
The endpoint should read Delivering, with nothing waiting or lost:

Open the endpoint for its Deliveries tab. Every attempt should answer 200 within a few tens of milliseconds: the script replies to the camera first and writes the tags afterwards.

In Ignition, the WebhookCount and LastWebhookAt tags count what came in, and WebhookLast holds the last body the camera sent. If Ignition also triggers the camera over HTTP, the same result arrives twice, in the trigger answer and by webhook; the script recognizes the result ID and counts it once.
Troubleshooting
| What you see | Cause | Fix |
|---|---|---|
Test fails at Connect: destination refused (loopback or unspecified address) | The Address uses localhost | Use the Gateway PC's IP on the camera network (ipconfig on the PC) |
| Test fails: No answer within 15 seconds | The request does not reach Ignition | Open TCP 8088 in Windows Firewall with the Public profile included, and remove any Block rule for Java or Ignition |
404 No servlet "webdev" found | The Web Dev module is not installed or running | Install or start it on the Modules page |
404 Resource "ovwebhook" not found | The resource does not exist, has another name, or was not saved | Create ovwebhook under Web Dev in this project and save |
501 Not Implemented | doPost is not enabled on the resource | Select doPost in the HTTP Method dropdown, tick Enabled, save |
| Nothing sent yet on the endpoint | The camera is in Setup | Switch to Production. Send test request works in either mode |
| Results arrive but no image | The ImageData tag is missing, Image is None, or only test requests were sent | Set Image to Annotated and run a real inspection. The webhook guide has a snippet that adds the missing tags |
| Camera shows Refused by your server | Ignition answered 4xx, usually 401 from a key mismatch | Match the X-API-Key header to WEBHOOK_KEY |
| Webhooks stop after a while | The Ignition trial timer ran out and the Gateway paused | Reset the trial or activate the license. The camera retries until its queue is full |
Where to go next
- HTTP API: every call the HTTP kit uses, and the result format
- MQTT: another way to publish every result
- Triggering: enable the HTTP source
- Industrial Ethernet: when a PLC owns the trigger