Hello The Things Stack community,
I’m currently working on a Proof of Concept (POC) involving the integration of The Things Stack (TTN) with Azure IoT Hub for LoRaWAN devices. I’ve successfully set up a LoRaWAN network using The Things Stack with a Raspberry Pi gateway (SX1302) and an ESP32 device with an SX1278 chip.
Current Status:
- Device data is successfully transmitted from my LoRaWAN device to TTN.
- Integration with Azure IoT Hub is established, and telemetry data is visible in Azure IoT Explorer.
Challenge: I’ve encountered an issue with device creation and deletion between The Things Stack and Azure IoT Hub. According to the official documentation LINK, we should be able to create and delete devices from both platforms seamlessly. However, in my case:
- I can create devices from TTN, but not from Azure IoT Hub.
- Deleting a device from Azure IoT Hub does not reflect in The Things Stack.
Configuration Details: I have attempted two methods for integration:
- ARM Deployment:
- Followed the ARM deployment method as outlined in the documentation LINK
- Manual Integration with Existing Azure IoT Hub:
- Tried to integrate with an existing Azure IoT Hub.
- Using iot hub hostname and access key.
Questions:
- How can I create devices from Azure IoT Hub and ensure they are reflected in TTN?
- When deleting a device from Azure IoT Hub, how can I make sure it is also removed from The Things Stack?
I would appreciate any insights, suggestions, or guidance from the community regarding this issue. Your expertise is invaluable, and I’m eager to make progress on this integration.
Thank you in advance for your assistance!