gablau / node-red-contrib-blynk-ws

Old/Legacy Blynk library implementation for Node-RED using WebSockets
MIT License
31 stars 10 forks source link

Blynk Token on every node #4

Closed mtrohman closed 6 years ago

mtrohman commented 6 years ago

Hi, nice library, i've used it, but is it possible to put blynk token on every node so that we can use several blynk token without additional configuration node.

gablau commented 6 years ago

Hello, no, it is not possible to insert the auth token in every node. Commonly it would be a waste of resources, because it should open a socket for each node! Now it works like this: the configuration node has the token, and at the start of nodered opens the socket and authenticates with the server, then the various nodes can send commands on that connection.