Advertisement
csongorvarga

Dashboard form submit

Dec 21st, 2022
749
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 5.32 KB | None | 0 0
  1. [
  2.     {
  3.         "id": "8b2cd71f81ce0c9c",
  4.         "type": "ui_text_input",
  5.         "z": "f6b1667f7ee0d1b0",
  6.         "name": "",
  7.         "label": "Lokacio",
  8.         "tooltip": "",
  9.         "group": "bf7c3e30333f0b0b",
  10.         "order": 2,
  11.         "width": 0,
  12.         "height": 0,
  13.         "passthru": true,
  14.         "mode": "text",
  15.         "delay": 300,
  16.         "topic": "topic",
  17.         "sendOnBlur": true,
  18.         "className": "",
  19.         "topicType": "msg",
  20.         "x": 260,
  21.         "y": 3960,
  22.         "wires": [
  23.             [
  24.                 "b41652fe36755e64"
  25.             ]
  26.         ]
  27.     },
  28.     {
  29.         "id": "b7a44da47e081bda",
  30.         "type": "ui_text_input",
  31.         "z": "f6b1667f7ee0d1b0",
  32.         "name": "",
  33.         "label": "darab",
  34.         "tooltip": "",
  35.         "group": "bf7c3e30333f0b0b",
  36.         "order": 2,
  37.         "width": 0,
  38.         "height": 0,
  39.         "passthru": true,
  40.         "mode": "text",
  41.         "delay": 300,
  42.         "topic": "topic",
  43.         "sendOnBlur": true,
  44.         "className": "",
  45.         "topicType": "msg",
  46.         "x": 250,
  47.         "y": 4000,
  48.         "wires": [
  49.             [
  50.                 "948f186a16fa83c9"
  51.             ]
  52.         ]
  53.     },
  54.     {
  55.         "id": "e33a7d2f4c8b7da0",
  56.         "type": "ui_text_input",
  57.         "z": "f6b1667f7ee0d1b0",
  58.         "name": "",
  59.         "label": "kg",
  60.         "tooltip": "",
  61.         "group": "bf7c3e30333f0b0b",
  62.         "order": 2,
  63.         "width": 0,
  64.         "height": 0,
  65.         "passthru": true,
  66.         "mode": "text",
  67.         "delay": 300,
  68.         "topic": "topic",
  69.         "sendOnBlur": true,
  70.         "className": "",
  71.         "topicType": "msg",
  72.         "x": 250,
  73.         "y": 4040,
  74.         "wires": [
  75.             [
  76.                 "cdaed1ea66374d8d"
  77.             ]
  78.         ]
  79.     },
  80.     {
  81.         "id": "b41652fe36755e64",
  82.         "type": "change",
  83.         "z": "f6b1667f7ee0d1b0",
  84.         "name": "",
  85.         "rules": [
  86.             {
  87.                 "t": "set",
  88.                 "p": "lokacio",
  89.                 "pt": "flow",
  90.                 "to": "payload",
  91.                 "tot": "msg"
  92.             }
  93.         ],
  94.         "action": "",
  95.         "property": "",
  96.         "from": "",
  97.         "to": "",
  98.         "reg": false,
  99.         "x": 460,
  100.         "y": 3960,
  101.         "wires": [
  102.             []
  103.         ]
  104.     },
  105.     {
  106.         "id": "948f186a16fa83c9",
  107.         "type": "change",
  108.         "z": "f6b1667f7ee0d1b0",
  109.         "name": "",
  110.         "rules": [
  111.             {
  112.                 "t": "set",
  113.                 "p": "darab",
  114.                 "pt": "flow",
  115.                 "to": "payload",
  116.                 "tot": "msg"
  117.             }
  118.         ],
  119.         "action": "",
  120.         "property": "",
  121.         "from": "",
  122.         "to": "",
  123.         "reg": false,
  124.         "x": 460,
  125.         "y": 4000,
  126.         "wires": [
  127.             []
  128.         ]
  129.     },
  130.     {
  131.         "id": "cdaed1ea66374d8d",
  132.         "type": "change",
  133.         "z": "f6b1667f7ee0d1b0",
  134.         "name": "",
  135.         "rules": [
  136.             {
  137.                 "t": "set",
  138.                 "p": "kg",
  139.                 "pt": "flow",
  140.                 "to": "payload",
  141.                 "tot": "msg"
  142.             }
  143.         ],
  144.         "action": "",
  145.         "property": "",
  146.         "from": "",
  147.         "to": "",
  148.         "reg": false,
  149.         "x": 450,
  150.         "y": 4040,
  151.         "wires": [
  152.             []
  153.         ]
  154.     },
  155.     {
  156.         "id": "0b51f3f5d3b94650",
  157.         "type": "ui_button",
  158.         "z": "f6b1667f7ee0d1b0",
  159.         "name": "",
  160.         "group": "bf7c3e30333f0b0b",
  161.         "order": 5,
  162.         "width": 0,
  163.         "height": 0,
  164.         "passthru": false,
  165.         "label": "button",
  166.         "tooltip": "",
  167.         "color": "",
  168.         "bgcolor": "",
  169.         "className": "",
  170.         "icon": "Mentes",
  171.         "payload": "",
  172.         "payloadType": "str",
  173.         "topic": "topic",
  174.         "topicType": "msg",
  175.         "x": 250,
  176.         "y": 4080,
  177.         "wires": [
  178.             [
  179.                 "d50aa1f419eaca08"
  180.             ]
  181.         ]
  182.     },
  183.     {
  184.         "id": "d50aa1f419eaca08",
  185.         "type": "function",
  186.         "z": "f6b1667f7ee0d1b0",
  187.         "name": "save data",
  188.         "func": "msg.payload = \"Adat: \"+ flow.get(\"lokacio\") + \",\" + flow.get(\"darab\")+\",\"+flow.get(\"kg\")\nreturn msg;",
  189.         "outputs": 1,
  190.         "noerr": 0,
  191.         "initialize": "",
  192.         "finalize": "",
  193.         "libs": [],
  194.         "x": 440,
  195.         "y": 4080,
  196.         "wires": [
  197.             [
  198.                 "5af008e775792c39"
  199.             ]
  200.         ]
  201.     },
  202.     {
  203.         "id": "5af008e775792c39",
  204.         "type": "debug",
  205.         "z": "f6b1667f7ee0d1b0",
  206.         "name": "debug 9",
  207.         "active": true,
  208.         "tosidebar": true,
  209.         "console": false,
  210.         "tostatus": false,
  211.         "complete": "false",
  212.         "statusVal": "",
  213.         "statusType": "auto",
  214.         "x": 590,
  215.         "y": 4080,
  216.         "wires": []
  217.     },
  218.     {
  219.         "id": "bf7c3e30333f0b0b",
  220.         "type": "ui_group",
  221.         "name": "Counter",
  222.         "tab": "156af96f.f8fd27",
  223.         "order": 1,
  224.         "disp": true,
  225.         "width": "6",
  226.         "collapse": false
  227.     },
  228.     {
  229.         "id": "156af96f.f8fd27",
  230.         "type": "ui_tab",
  231.         "name": "Home",
  232.         "icon": "home",
  233.         "order": 1
  234.     }
  235. ]
Tags: node-red
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement