thovoll

thovoll

Connecting to Azure IoT Hub

Hi @fhunleth @GregMefford @tmecklem @ConnorRigby - nice to meet you all at ElixirConf and looking forward to working on a Nerves sample connecting to Azure IoT Hub. Working on getting the MQTT over TLS to work right now. Once that is working, I will get in touch if I run into any issues with Nerves.

Most Liked

thovoll

thovoll

MQTT over TLS is working now: GitHub - thovoll/elixir-azureiothub · GitHub

Thanks @gausby for the pointers!

GregMefford

GregMefford

Awesome! Sorry for the delay in responding here. I saw it immediately after ElixirConf and then forgot about it in the post-conference exhaustion cool-down phase. :sweat_smile:

Let me know if there’s something we can help with to move the project forward and get Nerves closer to official Azure IoT integration.

thovoll

thovoll

Thanks @GregMefford. I’m trying to find the right point in time when I should switch over to getting the code to run on a device. I’m thinking once I have an actual Elixir application with proper supervisor structure written that does something minimally useful like send a random value up to IoT Hub every few seconds, then it would be a good time to get it running on a device and use an actual sensor (e.g. temp) instead of a random value. What’s the device that you’d recommend for such a hello world project, out of the ones that Nerves supports?

Also, building a full IoT Hub Device SDK is a fairly large effort (it’s not just an API wrapper), so I could also use help with that at some point, in case you are interested :slight_smile: I’ve done a bunch of research into what it would take to build one; it’s more work than I thought and will take me a long time by myself.

Last Post!

jsimmonds2

jsimmonds2

Hi @thovoll ! Any progress ? My Pay-As-You-Go Azure subscription for one IoT Hub is languishing because I’ve turned off all my Intel Joule boards (what a waste of time they were !)
I would like to connect my shiny new RPi3B+ boards (Nerves) up to Azure, too.

Where Next?

Popular in Discussions Top

sergio
There’s a new TIOBE index report that came out that shows Elixir is still not in the top 50 used languages. It also goes on to call Elix...
New
MarioFlach
Hello, I want to share a project I’ve been working on for a while: https://github.com/almightycouch/gitgud Background Some time ago I ...
New
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
New
nburkley
AWS re:Invent is on at the moment with some interesting announcements. One new feature in particular is the Lambda Runtime API for AWS La...
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New

Other popular topics Top

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40042 209
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New

We're in Beta

About us Mission Statement