From 585a3f0a9ae2325d5b10b2b1b8e9bfe8e0cf7d72 Mon Sep 17 00:00:00 2001 From: Joachim Hummel Date: Sun, 11 Jul 2021 14:47:02 +0000 Subject: [PATCH] Added Variable Flow for Token/Username --- README.md | 2 +- variable.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 variable.json diff --git a/README.md b/README.md index 7c26f2b..7291ec9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Things Mobile IoT / M2M SIm Karte +# Things Mobile IoT / M2M SIM Karte Things Mobile SIM Karten Dashboard mit NodeRED diff --git a/variable.json b/variable.json new file mode 100644 index 0000000..d2b80a5 --- /dev/null +++ b/variable.json @@ -0,0 +1 @@ +[{"id":"82a1d36c.2d872","type":"inject","z":"f604d56a.20dbd8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":230,"y":540,"wires":[["5b92cfc.5373fb"]]},{"id":"5b92cfc.5373fb","type":"function","z":"f604d56a.20dbd8","name":"Global","func":"var g_username = \"Your EMAIL @gmail.com\";\nvar g_token = \"xxxxx-your-token\";\nglobal.set(\"g_username\", g_username);\nglobal.set(\"g_token\", g_token);\nmsg.payload = g_username+g_token;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":390,"y":540,"wires":[["c9bb690b.f48f88"]]},{"id":"c9bb690b.f48f88","type":"debug","z":"f604d56a.20dbd8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":600,"y":540,"wires":[]}] \ No newline at end of file