The Elixir programming language has become a go-to tool for creating reliable, fault-tolerant, and robust server-side applications. Thanks to Nerves, those same exact benefits can be realized in embedded applications. This book will teach you how to structure, build, and deploy production grade Nerves applications to network-enabled devices. The weather station sensor hub project that you will be embarking upon will show you how to create a full stack IoT solution in record time. You will build everything from the embedded Nerves device to the Phoenix backend and even the Grafana time-series data visualizations.
Elixir as a programming language has found its way into many different software domains, largely in part to the rock-solid foundation of the Erlang virtual machine. Thanks to the Nerves framework, Elixir has also found success in the world of embedded systems and IoT. Having access to all of the Elixir and OTP constructs such as concurrency, supervision, and immutability makes for a powerful IoT recipe. Find out how to create fault-tolerant, reliable, and robust embedded applications using the Nerves framework.
Build and deploy a production-grade weather station sensor hub using Elixir and Nerves, all while leveraging the best practices established by the Nerves community for structuring and organizing Nerves applications. Capture all of your weather station sensor data using Phoenix and Ecto in a lightweight server-side application. Efficiently store and retrieve the time-series weather data collected by your device using TimescaleDB (the Postgres extension for time-series data). Finally, complete the full stack IoT solution by using Grafana to visualize all of your time-series weather station data. Discover how to create software solutions where the underlying technologies and techniques are applicable to all layers of the project.
Take your project from idea to production ready in record time with Elixir and Nerves.
What You Need:
To complete the Nerves weather station project in this book, you will need the following:
Table of contents
- 1. Elixir and Nerves for IoT
- 2. Wirelessly Reading Sensor Data
- 3. Aggregating Sensor Data
- 4. Publishing Sensor Data
- 5. Pulling It All Together
- Title: Build a Weather Station with Elixir and Nerves
- Release date: January 2022
- Publisher(s): Pragmatic Bookshelf
- ISBN: 9781680509021
You might also like
Deciphering Data Architectures
Data fabric, data lakehouse, and data mesh have recently appeared as viable alternatives to the modern …
Functional and Concurrent Programming: Core Concepts and Features
Leverage Modern Language Constructs to Write High-Quality Code Faster The functional and concurrent programming language features …
What's the answer to today's increasingly complex web applications? Micro-frontends. Inspired by the microservices model, this …
Generative Deep Learning, 2nd Edition
Generative AI is the hottest topic in tech. This practical book teaches machine learning engineers and …