Hi Microsoft azure team,
i am working on a project which involves usage of microsoft azure cloud services.
1.i have connected a raspberry pi + DHT11 sensor to the cloud and sent the sensor data to the iot hub and from there i routed the messages to service bus topic. now i want to subscribe to that topic from another device (esp32) exterally and read/receive those messages and take further actions on that device like lighting up an led based on the messages.
i have searched a lot for the same but couldn't find any content that would assist me to achieve the issue. can you please help me out?
the above mentioned is the specific issue i am facing...i would like to give details about my project and can you please suggest me ways in which i can achieve that?
main objective: i want to measure the room temperature of my room and then send the data to the cloud (here iot hub) next i want to see if the temperature is greater than say some 25 degrees then i would want to turn on an led on my device i.e in simple words switching on/off an led based on some condition. can you please give a overview on how to achieve this ?
as of now i am trying to do it this way..
(device + sensor) -> (send data to iot hub) -> (route it to service bus topic) -> (write a azure function...in which it evaluates the condition and sends 'yes' or "1" it temperature is greater than 25 and 'no' "0" if otherwise) -> (send to another service bus topic) -> (using an external device i want to connect/subscribe to the azure service bus topic and read messages and perform an action like turning on an led if the message if "yes" "1" and turning off an led if the message is "no/"0").
this is algorithm i am using to achieve the result ? is it possible to achieve the result in the above specified way ?
please do suggest any other method to achieve the result.
Thanks !