Advertisement
NittyGritty

Weekday Switch

Jul 28th, 2021
1,788
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 5.75 KB | None | 0 0
  1. [
  2.     {
  3.         "id": "2a2aa3d9.593edc",
  4.         "type": "inject",
  5.         "z": "8eb0bd53.a473a",
  6.         "name": "",
  7.         "props": [
  8.             {
  9.                 "p": "payload"
  10.             },
  11.             {
  12.                 "p": "topic",
  13.                 "vt": "str"
  14.             }
  15.         ],
  16.         "repeat": "",
  17.         "crontab": "",
  18.         "once": false,
  19.         "onceDelay": 0.1,
  20.         "topic": "",
  21.         "payload": "",
  22.         "payloadType": "date",
  23.         "x": 180,
  24.         "y": 900,
  25.         "wires": [
  26.             [
  27.                 "665b913.cee947"
  28.             ]
  29.         ]
  30.     },
  31.     {
  32.         "id": "88abdcae.c873b",
  33.         "type": "switch",
  34.         "z": "8eb0bd53.a473a",
  35.         "name": "",
  36.         "property": "payload",
  37.         "propertyType": "msg",
  38.         "rules": [
  39.             {
  40.                 "t": "eq",
  41.                 "v": "Montag",
  42.                 "vt": "str"
  43.             },
  44.             {
  45.                 "t": "eq",
  46.                 "v": "Dienstag",
  47.                 "vt": "str"
  48.             },
  49.             {
  50.                 "t": "eq",
  51.                 "v": "Mittwoch",
  52.                 "vt": "str"
  53.             },
  54.             {
  55.                 "t": "eq",
  56.                 "v": "Donnerstag",
  57.                 "vt": "str"
  58.             },
  59.             {
  60.                 "t": "eq",
  61.                 "v": "Freitag",
  62.                 "vt": "str"
  63.             },
  64.             {
  65.                 "t": "eq",
  66.                 "v": "Samstag",
  67.                 "vt": "str"
  68.             },
  69.             {
  70.                 "t": "eq",
  71.                 "v": "Sonntag",
  72.                 "vt": "str"
  73.             }
  74.         ],
  75.         "checkall": "true",
  76.         "repair": false,
  77.         "outputs": 7,
  78.         "x": 730,
  79.         "y": 900,
  80.         "wires": [
  81.             [
  82.                 "72d01309.5fb7dc"
  83.             ],
  84.             [
  85.                 "b9e92f4d.fe091"
  86.             ],
  87.             [
  88.                 "9905062f.447028"
  89.             ],
  90.             [
  91.                 "995baf75.124cd"
  92.             ],
  93.             [
  94.                 "6f66fe0b.2df4"
  95.             ],
  96.             [
  97.                 "6ec6039a.3799ac"
  98.             ],
  99.             [
  100.                 "4ee651e.b9532b"
  101.             ]
  102.         ]
  103.     },
  104.     {
  105.         "id": "665b913.cee947",
  106.         "type": "moment",
  107.         "z": "8eb0bd53.a473a",
  108.         "name": "",
  109.         "topic": "",
  110.         "input": "",
  111.         "inputType": "msg",
  112.         "inTz": "ETC/GMT",
  113.         "adjAmount": 0,
  114.         "adjType": "days",
  115.         "adjDir": "add",
  116.         "format": "dddd",
  117.         "locale": "de_DE",
  118.         "output": "",
  119.         "outputType": "msg",
  120.         "outTz": "Europe/Berlin",
  121.         "x": 520,
  122.         "y": 900,
  123.         "wires": [
  124.             [
  125.                 "88abdcae.c873b"
  126.             ]
  127.         ]
  128.     },
  129.     {
  130.         "id": "72d01309.5fb7dc",
  131.         "type": "debug",
  132.         "z": "8eb0bd53.a473a",
  133.         "name": "Montag",
  134.         "active": true,
  135.         "tosidebar": false,
  136.         "console": false,
  137.         "tostatus": true,
  138.         "complete": "payload",
  139.         "targetType": "msg",
  140.         "statusVal": "payload",
  141.         "statusType": "auto",
  142.         "x": 980,
  143.         "y": 720,
  144.         "wires": []
  145.     },
  146.     {
  147.         "id": "b9e92f4d.fe091",
  148.         "type": "debug",
  149.         "z": "8eb0bd53.a473a",
  150.         "name": "Dienstag",
  151.         "active": true,
  152.         "tosidebar": false,
  153.         "console": false,
  154.         "tostatus": true,
  155.         "complete": "payload",
  156.         "targetType": "msg",
  157.         "statusVal": "payload",
  158.         "statusType": "auto",
  159.         "x": 980,
  160.         "y": 780,
  161.         "wires": []
  162.     },
  163.     {
  164.         "id": "9905062f.447028",
  165.         "type": "debug",
  166.         "z": "8eb0bd53.a473a",
  167.         "name": "Mittwoch",
  168.         "active": true,
  169.         "tosidebar": false,
  170.         "console": false,
  171.         "tostatus": true,
  172.         "complete": "payload",
  173.         "targetType": "msg",
  174.         "statusVal": "payload",
  175.         "statusType": "auto",
  176.         "x": 980,
  177.         "y": 840,
  178.         "wires": []
  179.     },
  180.     {
  181.         "id": "995baf75.124cd",
  182.         "type": "debug",
  183.         "z": "8eb0bd53.a473a",
  184.         "name": "Donnerstag",
  185.         "active": true,
  186.         "tosidebar": false,
  187.         "console": false,
  188.         "tostatus": true,
  189.         "complete": "payload",
  190.         "targetType": "msg",
  191.         "statusVal": "payload",
  192.         "statusType": "auto",
  193.         "x": 990,
  194.         "y": 900,
  195.         "wires": []
  196.     },
  197.     {
  198.         "id": "4ee651e.b9532b",
  199.         "type": "debug",
  200.         "z": "8eb0bd53.a473a",
  201.         "name": "Sonntag",
  202.         "active": true,
  203.         "tosidebar": false,
  204.         "console": false,
  205.         "tostatus": true,
  206.         "complete": "payload",
  207.         "targetType": "msg",
  208.         "statusVal": "payload",
  209.         "statusType": "auto",
  210.         "x": 980,
  211.         "y": 1080,
  212.         "wires": []
  213.     },
  214.     {
  215.         "id": "6ec6039a.3799ac",
  216.         "type": "debug",
  217.         "z": "8eb0bd53.a473a",
  218.         "name": "Samstag",
  219.         "active": true,
  220.         "tosidebar": false,
  221.         "console": false,
  222.         "tostatus": true,
  223.         "complete": "payload",
  224.         "targetType": "msg",
  225.         "statusVal": "payload",
  226.         "statusType": "auto",
  227.         "x": 980,
  228.         "y": 1020,
  229.         "wires": []
  230.     },
  231.     {
  232.         "id": "6f66fe0b.2df4",
  233.         "type": "debug",
  234.         "z": "8eb0bd53.a473a",
  235.         "name": "Freitag",
  236.         "active": true,
  237.         "tosidebar": false,
  238.         "console": false,
  239.         "tostatus": true,
  240.         "complete": "payload",
  241.         "targetType": "msg",
  242.         "statusVal": "payload",
  243.         "statusType": "auto",
  244.         "x": 980,
  245.         "y": 960,
  246.         "wires": []
  247.     }
  248. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement