This is the code repository for Practical Internet of Things with JavaScript, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
This book will focus on building IoT-based Web projects that will drive you to the next level of your IoT understanding. This book will follow a project based approach that will teach you to build standalone exciting projects and will also teach you to extend your project to another level. We will use Raspberry Pi 3 and JavaScript as the base to build all these projects. We will begin with talking about IoT and start with building a small weather station with temperature, humidity and atmosphere pressure measurement. You will further integrate Alexa with this weather station. You will then build a healthcare project that will show you how the data from the system is analysed and put back into the system to make it better. Lastly, with the help of sensors and actuators you will build a smart office manager and an pet feeder.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
The code will look like the following:
// MongoDB connection options
mongo: {
uri: 'mongodb://admin:[email protected]:41055/iotfwjs'
},
mqtt: {
host: process.env.EMQTT_HOST || '127.0.0.1',
clientId: 'API_Server_Dev',
port: 8883
}
};
Click here if you have any feedback or suggestions.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.
https://packt.link/free-ebook/9781788292948