tracksolid_timescale_grafan.../n8n-workflows/jimi_pushfaultinfo.json
David Kiania 2f3879aa2a Add n8n workflow templates and change webhook port to 8888
Port 8000 was already in use on the host. Updated uvicorn to listen
on 8888. Added 6 importable n8n workflow JSON files for Jimi push
data forwarding (OBD, faults, alarms, GPS, heartbeats, trips).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 18:54:42 +03:00

91 lines
2 KiB
JSON

{
"name": "Jimi Fault Code Push",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "pushfaultinfo",
"responseMode": "responseNode",
"options": {}
},
"id": "webhook-pushfaultinfo",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [260, 300],
"webhookId": "pushfaultinfo"
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ JSON.stringify({\"code\": 0, \"msg\": \"success\"}) }}",
"options": {}
},
"id": "respond-pushfaultinfo",
"name": "Respond to Jimi",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.1,
"position": [480, 300]
},
{
"parameters": {
"method": "POST",
"url": "https://tshook.rahamafresh.com/pushfaultinfo",
"sendBody": true,
"contentType": "form-urlencoded",
"bodyParameters": {
"parameters": [
{
"name": "token",
"value": "={{ $('Webhook').item.json.body.token }}"
},
{
"name": "data_list",
"value": "={{ $('Webhook').item.json.body.data_list }}"
}
]
},
"options": {
"timeout": 30000
}
},
"id": "http-pushfaultinfo",
"name": "Forward to Webhook Receiver",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [700, 300]
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Respond to Jimi",
"type": "main",
"index": 0
}
]
]
},
"Respond to Jimi": {
"main": [
[
{
"node": "Forward to Webhook Receiver",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"tags": [
{
"name": "Jimi Tracksolid"
}
]
}