Does node.js not include packages in opkg yet?
-
@Boken-Lin Ok, that's kind of what I figured. Thought I could be Superman, guess not
Yes! If you could figure out a way to get a Twitter stream working in node on the Omega I would OWE YOU BIG TIME!!!!!!
-
@Steve-Fister There you go: https://github.com/OnionIoT/simple-twitter-stream. I've tested it out and it seems to work. There are probably some bugs, but they should be easy to debug.
Cheers!
-
@Boken-Lin said:
You are a Super Hero! Thank you so much for the help on this! I now have my project completely running. I will share the details with the community soon. It's been a very fun little project and I've learned a lot since I unboxed the Omega. My project is not all that special, but it's fun and quirky and uses the Omega!!
Thank you again!
-
@Steve-Fister Awesome! Looking forward to seeing it
-
Well, here's my little project! I used a small electro-mechanical toy bird which I purchased online for about $10 (bought a couple in case I made fried parakeet). The bird uses a photoresistor to detect movement in front of the bird, like a hand, and causes the bird to move its head/tail and tweet.
I remove the photoresistor and connected the pins to one of the Omega's GPIO pins, set to high. With the use of Node.js and a Twitter Streaming module (Thanks @Boken-Lin!!!), I was able to get the bird to chirp by setting the GPIO pin to low, based on the keyword being found in the Twitter Stream!
I have a short little video of it in action here: https://www.dropbox.com/s/earpuvg5vgdgw24/20151221_145132.mp4?dl=0
Again, thanks for the help of the Onion Community! Couldn't have done it without you. Looking forward to the next, more in-depth project!
-
@Steve-Fister Wow! That's so cool!!!
Thanks for sharing
-
@Boken-Lin Any updates on supporting later versions of node.js (>4)?
-
Hi @Mikael-HĂ„kansson, Unfortunately we don't have any update yet. It turns out to be a much harder problem than we anticipated. But don't worry, we will keep on trying, and we will send out an update as soon as we have made any progress on it!
-
Hi all,
Just wanted to mention that you can install Blynk using an IPK file, which is currently provided with Blynk library.
https://github.com/vshymanskyy/blynk-library-js/blob/master/dist/blynk-library-js.ipk
-
This post is deleted!