/Azure-IoT-Central-AZ3166-Setup

A config template file for the MXChip AZ3166 IOT device for Azure IoT Central

MIT LicenseMIT

Azure-IoT-Central-AZ3166-Setup

I bought an Microsoft Azure IoT capable MXChip AZ3166 in early 2019, and when I got round to using it again with Azure IOT Central in December 2020 I found that a lot of things had changed. From what I can tell it is not

The origional purchase was inspired by Scott Hanselman's garage door opener.

In order to get it working you should get the latest devkit - https://github.com/Azure/iot-central-firmware . I used the 2.1.2 firmware here.

Do note that the project above is marked as archive as of August 2020, so there are unlikely to be any new updates. This is different from the Azure IoT Hub firmware. (I did try, however could not get the device to connect to IoT Hub at all. I suspect there is some infrastructure change in Azure preventing this.)

The Microsoft Azure IOT Central still works as fine as before, however it no longer has a template for my device! I'm not sure why they removed it, so I have recreated from the raw data and am sharing here on Github.

Instructions

Step 1: In your Azure IOT Central account, go to Device Templates and create 'New'

Step 2: Create a custom device template IOT 'Device'. Click 'Next: Customize':

Step 3: Give your template a name. Click 'Next: Review', then 'Create'.

Step 4: Click 'Import a model'. At this point select the AZ3166.json file I am sharing here.

That's it. You can now assign your device to this template.

Notes

Note 1: The template includes the location (longitude and langitude), but only displays as a JSON string currently. I still need to fix that to pick up the correct properties.

Note 2: The config file currently picks up:

  • Motion sensor
  • Magnetometer sensor
  • Atmospheric pressure sensor
  • Temperature and humidity sensor
  • GPS (as a JSON string)

It still does not pick up:

  • Microphone
  • Both user buttons (I think this is a firmware issue)
  • Infrared emitter
  • Connecting finger extension interface