1 line
876 B
JSON
1 line
876 B
JSON
|
[{"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":[]}]
|