BillmanH / learn-iothub

A working model of the azure IOT hub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure IOT-HUB

Working out some evening and weekend code to see if I can get an azure IOT hub working.

  • thermostat.py is just like the sensor example in the MSFT docs, but simplified and actually works.

What you need:

key_thermostat1.yaml should contain the key that you got from the azure portal.

Looks like this:

connection_string: HostName={your hostname};DeviceId={id};SharedAccessKey={access key}

Creating the environment:

I'm using anaconda so you should be able to build the environemnt in any system with:

conda env create --file=environment.yaml

About

A working model of the azure IOT hub


Languages

Language:Python 67.2%Language:Jupyter Notebook 24.9%Language:PowerShell 3.4%Language:Dockerfile 3.2%Language:HTML 1.3%