[ { "id": "printr-example-tab", "type": "tab", "label": "Printr examples", "disabled": false, "info": "One inject per Printr node. Set the URL and the token in the printr config node first." }, { "id": "printr-example-config", "type": "printr-config", "name": "Printr", "url": "http://raspberrypi:8080" }, { "id": "printr-example-ticket-inject", "type": "inject", "z": "printr-example-tab", "name": "Ticket", "props": [{ "p": "payload" }], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"blocks\":[{\"type\":\"title\",\"text\":\"Alarm\"},{\"type\":\"text\",\"text\":\"Door opened at 14:32\"}]}", "payloadType": "json", "x": 150, "y": 60, "wires": [["printr-example-print"]] }, { "id": "printr-example-print", "type": "printr-print", "z": "printr-example-tab", "name": "Print a ticket", "server": "printr-example-config", "x": 400, "y": 60, "wires": [["printr-example-debug"]] }, { "id": "printr-example-todo-inject", "type": "inject", "z": "printr-example-tab", "name": "To-do", "props": [{ "p": "payload" }], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "Call the plumber\nWater the plants", "payloadType": "str", "x": 150, "y": 140, "wires": [["printr-example-todo"]] }, { "id": "printr-example-todo", "type": "printr-todo", "z": "printr-example-tab", "name": "Print a to-do list", "server": "printr-example-config", "x": 400, "y": 140, "wires": [["printr-example-debug"]] }, { "id": "printr-example-shopping-inject", "type": "inject", "z": "printr-example-tab", "name": "Shopping", "props": [{ "p": "payload" }], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "Milk\nBread", "payloadType": "str", "x": 150, "y": 220, "wires": [["printr-example-shopping"]] }, { "id": "printr-example-shopping", "type": "printr-shopping", "z": "printr-example-tab", "name": "Add to shopping list", "server": "printr-example-config", "x": 400, "y": 220, "wires": [["printr-example-debug"]] }, { "id": "printr-example-preset-inject", "type": "inject", "z": "printr-example-tab", "name": "Saved ticket", "props": [{ "p": "payload" }], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 150, "y": 300, "wires": [["printr-example-preset"]] }, { "id": "printr-example-preset", "type": "printr-preset", "z": "printr-example-tab", "name": "Print a saved ticket", "server": "printr-example-config", "preset": "Morning", "x": 400, "y": 300, "wires": [["printr-example-debug"]] }, { "id": "printr-example-status-inject", "type": "inject", "z": "printr-example-tab", "name": "Status", "props": [{ "p": "payload" }], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 150, "y": 380, "wires": [["printr-example-status"]] }, { "id": "printr-example-status", "type": "printr-status", "z": "printr-example-tab", "name": "Read the status", "server": "printr-example-config", "x": 400, "y": 380, "wires": [["printr-example-debug"]] }, { "id": "printr-example-debug", "type": "debug", "z": "printr-example-tab", "name": "Result", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "printr", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 650, "y": 220, "wires": [] } ]