axelson

axelson

Scenic Core Team

15) ElixirConf US 2018 – Did You Hear That Wind? – Frank Kumro

ElixirConf US 2018 – Did You Hear That Wind? – Frank Kumro (@frigidcode)

I’ve been fascinated with the weather, unknowingly, for years. When I first met my wife we would watch a movie during storms to pass the time. Then when a gust of wind hit the house, I would turn to her and say “Did you hear that wind?”.

Fast forward many years, we now live at a higher elevation with lots of wind. Storms would roll in and wind would hit the house. A few seconds later I would receive a message from my wife, “Did you hear that wind!”. The trolling led me to dive into the hardware space and luckily enough I would be able to use my favorite language, Elixir!

The weather station is comprised of a Raspberry Pi 3, wind speed sensor, weather proof temperature sensor, and a few other bits to make it all work. As this was my first attempt at a hardware hacking project, we can laugh (together I hope) at my mix ups and take a peak at the many components. Elixir is used with Nerves to communicate with the hardware (1 wire Dallas and MCP3008 analog to digital), persist readings to an external API (Phoenix), and display with live updates via Elm.

The talk will cover the entire stack giving a look into a project that many commented that “they wish they could do” or “I have no idea where to start”.

Audience: Beginner, Intermediate
Topics: nerves

All talks are available in the ElixirConf US 2018 Talks List or via the elixirconf2018 tag

Most Liked

frigidcode

frigidcode

If anyone has any questions, I’ll be happy to answer them. Based on feedback from talking to those at the conference I will be working on a new project to help capture sensor data from all sorts of devices. I’ll post more about that once I get some solid functionality completed.

Where Next?

Popular in Talks Top

derpycoder
QUIC protocol support coming to BEAM. As of now, I am using Caddy in front of Phoenix server to experience H...
New
axelson
ElixirConf 2017 - HTTP 2 Plug to Phoenix Cowboy too - @Gazler In this talk, we will look at the changes in C...
New
axelson
ElixirConf US 2018 – Meet Virtuoso: The Chatbot Orchestration Framework Built with Elixir – Justus Eapen (@justuseapen) ...
New
axelson
ElixirConf 2017 - The Power of Zero - Andrew Forward Automation is hard, but the benefits can be phenomenal....
New
New
axelson
Posting a little bit late today but here you go: ElixirConf 2017 - Elixir + Neo4j - Regina Imhoff Neo4j is ...
New
axelson
by @zacky1972 Finally, we’ve succeeded in the implementation of Hastega!!! (Maybe until ElixirConf US 2019 :slight_smile: Hastega (Hyp...
New
axelson
ElixirConf 2017 - Managing Tables With Elixir and OTP - Robert Beene We’ve all waited for a table at a resta...
New
axelson
ElixirConf 2017 - Closing Keynote - @chrismccord All talks are available in the Elixir Conf 2017 Talks List o...
New
axelson
ElixirConf US 2018 – Closing Keynote – Chris McCord (@chrismccord) All talks thread:
New

Other popular topics Top

malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 31013 112
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 48342 226
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
jaysoifer
Is there a way to rollback a specific migration and only that one (“skipping” all the other ones)? Would mix ecto.rollback -v 200809061...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement