Elixir hot-reloading for MIDI events generation (PoC) IoT Fun with Elixir! Sensing Hot Behavior with ElixirALE and GenServers

IoT Fun with Elixir! Sensing Hot Behavior with ElixirALE and GenServers

If you ever wanted to take a Raspberry Pi (or any linux-based platform exposing an i2c driver), a connected sensor, and wrap them both into an Elixir program but thought it might be too daunting of a task, this article is for you! In this article, we are going to focus on a simple i2c device that senses temperature and humidity and demonstrate how to write an application that will run as a GenServer. You can use this application (available as a hex archive) to request a measurement in your application by including it as a dependency.

Https://lute.io