Hello there,
we have a ParticleIO Electron successfully connected to Azure IoT hub. We got this working because the ParticleIO console provides a Azure IoT hub integration. However, this is one way traffic. With the Particle.publish() function you can send variable data to the ParticleIO cloud which forwards the data to Azure IoT hub. This is nice, but when I send a message to the device from Azure IoT hub, for instance to turn an LED on or off, this doesn’t work. I found a tutorial in which is explained how to send a message to your device using a REST POST request. I got this working as well. But how can I make Azure IoT Hub send a message to the device, instead of a custom built POST?
Kind Regards,
Frankie van Meel Itility B.V.