diff --git a/.gitignore b/.gitignore index 898d4c1..bb9b746 100644 --- a/.gitignore +++ b/.gitignore @@ -13,11 +13,13 @@ yarn-error.log .node-red/node_modules/ # Credenciales de flujos (información sensible) .node-red/flows_cred.json -# Backups automáticos +# Archivos de respaldo y configuración dinámica .node-red/.flows.json.backup .node-red/.config.json.backup .node-red/.sessions.json.backup .node-red/flows.json.backup +# Todos los archivos de respaldo +*.backup # Mantener flujos y configuración # flows.json se debe mantener en seguimiento diff --git a/.node-red/flows.json b/.node-red/flows.json index c995e6d..adec9c4 100644 --- a/.node-red/flows.json +++ b/.node-red/flows.json @@ -7,14 +7,6 @@ "info": "", "env": [] }, - { - "id": "75e4ab943ee90cbf", - "type": "tab", - "label": "Browse AI", - "disabled": false, - "info": "", - "env": [] - }, { "id": "772316e0710af934", "type": "inject", @@ -663,7 +655,7 @@ { "id": "9efaa84d2b3edb26", "type": "inject", - "z": "75e4ab943ee90cbf", + "z": "7f0acab470911e6e", "name": "Start", "props": [ { @@ -681,8 +673,8 @@ "topic": "", "payload": "", "payloadType": "date", - "x": 110, - "y": 60, + "x": 350, + "y": 380, "wires": [ [ "3b937e6b06c3278d" @@ -692,7 +684,7 @@ { "id": "3b937e6b06c3278d", "type": "http request", - "z": "75e4ab943ee90cbf", + "z": "7f0acab470911e6e", "name": "Browse AI Status", "method": "GET", "ret": "txt", @@ -705,8 +697,8 @@ "authType": "bearer", "senderr": false, "headers": [], - "x": 190, - "y": 140, + "x": 510, + "y": 400, "wires": [ [ "1d3199e999f849ac" @@ -716,7 +708,7 @@ { "id": "1d3199e999f849ac", "type": "debug", - "z": "75e4ab943ee90cbf", + "z": "7f0acab470911e6e", "name": "Status", "active": true, "tosidebar": true, @@ -726,121 +718,18 @@ "targetType": "msg", "statusVal": "", "statusType": "auto", - "x": 370, - "y": 140, + "x": 690, + "y": 360, "wires": [] }, { "id": "423c04669f93f87f", "type": "comment", - "z": "75e4ab943ee90cbf", + "z": "7f0acab470911e6e", "name": "Palataform Status", "info": "", - "x": 310, - "y": 60, + "x": 150, + "y": 380, "wires": [] - }, - { - "id": "4839de9f51b65164", - "type": "inject", - "z": "75e4ab943ee90cbf", - "name": "Start", - "props": [ - { - "p": "payload" - }, - { - "p": "topic", - "vt": "str" - } - ], - "repeat": "", - "crontab": "", - "once": false, - "onceDelay": 0.1, - "topic": "", - "payload": "", - "payloadType": "date", - "x": 590, - "y": 60, - "wires": [ - [ - "f15af69a5d014b84" - ] - ] - }, - { - "id": "f15af69a5d014b84", - "type": "http request", - "z": "75e4ab943ee90cbf", - "name": "Browse AI Robots List", - "method": "GET", - "ret": "txt", - "paytoqs": "body", - "url": "https://api.browse.ai/v2/robots", - "tls": "", - "persist": false, - "proxy": "", - "insecureHTTPParser": false, - "authType": "bearer", - "senderr": false, - "headers": [ - { - "keyType": "Content-Type", - "keyValue": "", - "valueType": "application/json", - "valueValue": "" - } - ], - "x": 680, - "y": 140, - "wires": [ - [ - "e3d6394c2b98a7d1" - ] - ] - }, - { - "id": "ab16634fed3c7240", - "type": "debug", - "z": "75e4ab943ee90cbf", - "name": "Robots", - "active": true, - "tosidebar": true, - "console": false, - "tostatus": false, - "complete": "payload.robots.items", - "targetType": "msg", - "statusVal": "", - "statusType": "auto", - "x": 1020, - "y": 120, - "wires": [] - }, - { - "id": "140989992205eda1", - "type": "comment", - "z": "75e4ab943ee90cbf", - "name": "Browse AI Robots List", - "info": "", - "x": 880, - "y": 60, - "wires": [] - }, - { - "id": "e3d6394c2b98a7d1", - "type": "json", - "z": "75e4ab943ee90cbf", - "name": "", - "property": "payload", - "action": "", - "pretty": false, - "x": 870, - "y": 140, - "wires": [ - [ - "ab16634fed3c7240" - ] - ] } ] \ No newline at end of file