Relative Content

Tag Archive for pythonazuremqttpublish-subscribeazure-iot-hub

How to publish and subscribe from and to device in iot hub?

Currently I’m trying to send a temperature data to my azure iot hub using publish (python) and at the same time I’m trying to read or receive the temperature data using subscribe method in another python code both code runs through command prompt.
so far the result is either one is to connected to the device. Can’t I do as per the below image.
enter image description here