It has been a couple weeks since we did a proper IO update, and there has been a lot of progress going on behind the scenes. First off, we are getting really close to hitting 10k (9,750) online feeds. This is our favorite metric as it means that there are almost 10k feeds actively sending and receiving data. We have had really steady growth, which has allowed us to learn, fix, and scale the system accordingly.
Last week Todd posted a couple nice articles to the AIO blog that talked about our recent MQTT changes. If you aren’t following the AIO blog, be sure to check it out here.
One of the best parts of the growth of AIO has been to see how people have been using it. There has been a good amount of discussion and sharing happening on the Adafruit IO Forum. As an example, smccully shared his code to trigger two LEDs with MQTT and AIO.
I have had some requests from people to share my code to talk to Adafruit IO using MQTT and being able to trigger two LED’s.
Note that I am using the latest AdafruitIO MQTT code from GitHub, as it has the latest fixes available. –> https://github.com/adafruit/Adafruit_MQTT_Library
In Adafruit IO, I created two feeds, called ledone and ledtwo, and added them to a group called leds.
I then created a dashboard with two toggle switches, and tied them to the feeds (one to each, obviously) using the default ON and OFF button text.
Head on over to the Adafruit IO Forums for more info, including a wiring diagram and code.
Here at Adafruit, we sell all of these amazing components, but we couldn’t find a good way to interact with them over the internet. There are certainly a lot of great services out there for datalogging, or communicating with your microcontroller over the web, but these services are either too complicated to get started, or they aren’t particularly fun to use. So, we decided to experiment with our own system, and that is how Adafruit IO got started.
To start, please visit https://io.adafruit.com, and take a look around. You can also visit our comprehensive tutorial located on the Adafruit Learning System.
We also have a blog/changelog specifically for Adafruit IO to keep you updated with the latest changes.
To make it easy for people to get started using Arduino or ESP8266 we have starter packs with just about everything you may want to connect to the internet, with known-working WiFi modules!
ESP8266 Huzzah Kit