I can’t find any example on how to reconnect to cloud server. I think of something like this:
blynk.on(‘disconnect’, function() {
haLogger.info(“Blynk disconnecting”);
var result = blynk.connect();
});
Can somone help?
I can’t find any example on how to reconnect to cloud server. I think of something like this:
blynk.on(‘disconnect’, function() {
haLogger.info(“Blynk disconnecting”);
var result = blynk.connect();
});
Can somone help?
Google Forever Service.
you mean i google How Reconnect Blynk service on Nodejs?
No, do what I posted.
@sh.abar.mard I might have misled you a little because I believe forever service might be more on the server side than the client side. On the server side it basically ensures it’s running 100% of the time, assuming you have configured the server correctly. As far as I know it’s the only software available to ensure a service will reliably restart after a crash / reboot etc with nodejs.
@Costas
Ok i try it to understand.
an another question is how can i have multi node on each user on local server.
imagine that i have a local server and 2 users and every user want to have nodeJs (raspberry-for access on linux setting). so how can i do this?