Hi James,
- We have an add-on that uploads data to Azure IoT already, so you could use that as a starting point: https://github.com/tim-hellhake/azure-iot-bridge
- Add-ons are already auto-updated by the gateway, so that’s not something that you need to handle yourself.
- You can definitely run your own registration server. Here are a couple resources:
- Our Raspbian distribution includes a few add-ons by default, so you could just use the existing logic to do the same. See here: https://github.com/mozilla-iot/gateway/blob/master/image/add-gateway.sh#L189-L206
- Add-ons are updated separately from the gateway, so you should have no issues. If you want, you can even run your own add-on server with this code: https://github.com/mozilla-iot/addon-proxy
- That server pulls from this list: https://github.com/mozilla-iot/addon-list