Blynk - How do we install the library?
I still can't use Blynk on the Omega, even with the latest opkg nodejs package.
I have installed Blynk through NPM in another machine and just copied over the node_modules folder to the Omega.
When trying to run a simple script I get an error when it's trying to connect to the blynk cloud:
events.js:146 throw err; ^ Error: Uncaught, unspecified "error" event. (ENOTFOUND) at emit (events.js:144:17) at Blynk.error (/root/blynk/node_modules/blynk-library/blynk.js:569:8) at null.<anonymous> (/root/blynk/node_modules/blynk-library/blynk.js:532:48) at emitOne (events.js:77:13) at emit (events.js:169:7) at Socket.<anonymous> (/root/blynk/node_modules/blynk-library/blynk-node.js:56:7) at emitOne (events.js:77:13) at Socket.emit (events.js:169:7) at connectErrorNT (net.js:997:8) at nextTickCallbackWith2Args (node.js:437:9)
I manually changed some code in the library to print out the real error and this is what I found:
getaddrinfo ENOTFOUND http://cloud.blynk.cc http://cloud.blynk.cc:8442
I'm guessing it might be related to the problem some people is having when trying to install stuff through NPM.
Well you got further than I did! And yea looks like the issue is related to IPv6 as Zheng Han has just hinted at.
Hope this gets resolved shortly, it's external tools & apps like Blynk that make the implementation of the Omega into the real world possible (without a degree in nerd) :).
Thanks Matt, I'm actually more interested in the license that I signed up for during the campaign. (Blynk + all widgets) I can wait for onion support if I can use one of my pi's in the meantime.
@Shawn-Ferris we have provided Blynk with a list of all KS backers who have backed the Blynk bundle. They should already upgraded your account. If you think they have missed yours. Please shoot an email to firstname.lastname@example.org with your detailed info.
With the new 0.0.8 firmware release you can now install blynk-library with npm. We are aware that the disk space on the Omega is limited. There will be a more compact version of Blynk library that you can install with opkg soon.
Hi @Zheng-Han, is there any further update on the compact Blynk library via OPKG?
Awfully quiet about this.