Learn the art of bringing the Internet of Things into your projects with the power of JavaScriptAbout This BookThis is a practical guide to help you configure and build a complete distributed IoT system from scratch using JavaScriptUtilize the power of Node and HTML5 to develop web services and a centralized web server, enabling high-level communication between connected devicesControl all your connected devices from the browser by setting up a common dashboardWho This Book Is ForThis book is for developers who are interested in learning how to communicate with connected devices in JavaScript to set up an IoT system. Some basic knowledge of JavaScript is expected. Hobbyists who want to explore the potential of IoT in JavaScript will also find this book useful.What You Will LearnDevelop the skills to connected devices prepared the field to interact with the devices in a network system Internet of ThingsFind out how to connect sensors and actuators to the devicesSend data to a web server connected devicesUnderstand Internet of things using web services and databaseConfigure a dashboard using HTML5 and JavaScriptControl devices connected from a dashboardMonitor different devices from the dashboardBuild an app for a smartphone to control different devicesIn DetailThe Internet of Things (IoT) is an entirely new platform for developers and engineers, but one thing that remains consistent as we move into this new world, are the programming languages. JavaScript is the most widely used language over the Internet, and with IoT gaining momentum, you will learn how to harness the power of JavaScript to interact with connected devices. This book will teach you how to interact with endpoint devices by developing web services in JavaScript and also set up an interface to control all connected devices.This book begins with setting up a centralized web server that serves as a hub for all connected devices. The book then progresses further towards building web services to facilitate high-level communication between connected devices. Using Arduino and Raspberry Pi Zero as endpoint devices, the book will show you how devices can communicate with each other, perform a wide range of tasks, and also be controlled from a centralized location using JavaScript. The book ends with creating a hybrid app to control the devices that can be run from a browser or installed on a smartphone.Style and approachThis book offers step-by-step guidance on how to set up a distributed IoT system using JavaScript.It will teach you how to interact with endpoint devices by developing web services in JavaScript and also set up an interface for controlling all connected devices.