This IoT framework runs on top of the JerryScript engine, which is a JavaScript runtime optimized for small devices. If you’re looking to perform some IoT from within a connected device (instead of being on the receiving end inside a buffy, strong and filled-with-resources server), then maybe you need something optimized for that environment. The way Cylon.js works, is by allowing others to provide connectors through a plug-in system, which means there are no limitations to what this library offers.Īnd on top of that, the documentation itself is very detailed and well written, filled with examples, so check them out right now. Or perhaps you want to connect to your Philips Hue lights? Sure, give it a try Just call takeoff() and land(), simple right? You can use Cylon.js to connect to your keyword and listen for events sent by it, or your Arduino board, or perhaps provide an HTTP API interface and get data through there (they also support socket.io and MQTT).ĭo you want to control a freaking drone through JavaScript? Sure, just install:
That’s right 43 different places or ways for you to connect with machines.
More than “just an IoT” library, Cylon.js is a full robotics framework with support for more than 43 different platforms. I also fear it because of the same reason, but that’s another thing. #1 Cylon.jsĪs a fan of Battlestar Galactica, I must say I love the name of this library. What you do with the data, and how you handle it, that’s completely up to you.
In this article, I’m going to quickly cover the top 5 libraries you can use from within your JavaScript code to connect with these devices. The problem is that when you start having so many devices sending data in different formats, you start seeing the need to standardize your protocols, and that is why the term IoT was born: to bring order to chaos.
Mind you, back when I started, “devices” meant computers, and now the word is used for literally anything that works on batteries (from a watch, to the fridge, your TV or even the toaster because, why not?). IoT or the Internet of Things is a term that’s been around for a while now, but do you know exactly what it means?īecause it’s not really a new activity, it’s just a formalized definition of something we’ve been doing for years and years now: connecting devices.