node-red-contrib-pixela 0.1.2
Node-RED Node of Pixela.
node-red-contrib-pixela
This node is for calling Pixela API.
Icon was taken from https://pixe.la/.
Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
License
Installation
npm i node-red-contrib-pixela
Sample
Grass growing per deploying "Flow".
[{"id":"958a11ee.70698","type":"inject","z":"320bd89d.6ceb98","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":110,"y":60,"wires":[["31e9654b.236eaa"]]},{"id":"31e9654b.236eaa","type":"pixela","z":"320bd89d.6ceb98","name":"","method":"PUT","path":"/graphs/node-red-deploy/increment","apiclient":"484e28be.3ea4e8","x":390,"y":60,"wires":[[]]},{"id":"484e28be.3ea4e8","type":"pixela-client","z":"","name":"pixela-config"}]
This is the number of Koudenpa's deployment to Node-RED by Flow above.
Can override Node parameter with an input message.
Sample function node:
msg.method = "POST";
msg.path = "/graphs/test-graph";
msg.payload = {
date: "20181016",
quantity: "7474"
};
return msg;