Welcome to our final chapter! We will round out this book by pulling together various topics and ideas from earlier chapters to build a multifaceted IoT program. Specifically, we will be building an internet-controllable Christmas tree, an IoTree, if you don't mind the pun!
Our approach in this chapter will be to reuse two circuits from previous chapters to create Christmas tree lighting (using an APA102 LED strip) and a rocking mechanism to make the tree shake (we will use a servo) and jingle (well, it'll jingle as it shakes if you decorate the tree with bells!). We will then revisit and adapt our learning about RESTful APIs and MQTT to create two ways in which we can control the lighting and servo over a network or the internet. We will then revisit dweet.io and If-This-Then-That (IFTTT)Â and build IFTTT Applets to...