0.1.2 • Published 6 years ago

node-red-contrib-pixela v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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

MIT

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"}]

Sample Flow


This is the number of Koudenpa's deployment to Node-RED by Flow above.

Sample Graph


Can override Node parameter with an input message.

Sample Flow

Sample function node:

msg.method = "POST";
msg.path = "/graphs/test-graph";
msg.payload = {
    date: "20181016",
    quantity: "7474"
};

return msg;