README

Azure

1) Create a subscription on Azure for paying for the resources

2) Create a resource group linked to the subscription

3) Create an IoT Hub. We used S1 - Standard tier so we didn’t have to worry about the amount of messages being sent but depending on how many devices are being used and the message frequency (by default 1 per device per 30 seconds containing 3 readings) the free tier may be enough (however, you cannot upgrade from the free tier to the paid tiers). Basic tier hubs are not supported as we use the device twin.

4) Create an IoT Hub Device Provisioning Service.

5) Create an SQL Server.

6) Create a Function App

7) Setup device twins

When a device is first ran, it will be created under IoT Devices in the IoT Hub. Clicking on it will bring up its info page, where you can click at the top to modify the device twin. From here you can customize its location and owner.