Hey guys, I am new to the world of coding and I am working on a school project. I have MQTT client code that will run on the ESP32. It polls the DHT-22 and publishes the sensor data to a topic called temp humidity. Then I have another script that runs on the raspberry pi 3 that will subscribe to the temp humidity topic and present the results to an OLED display. What I am thinking of doing is that I want to use another ESP32 that will connect to a LED strip which will subscribe to topic “temp humidity” and go over the data and when the temperature get higher than a certain number, for example 50 degrees Celsius it should turn on the LED strip. I am using python for the main script on the raspberry pi 3 and micropython for the script on the ESP32. If anyone can point me in the right direction I would be grateful. Thanks
(Code is on the replies since for some reason it wouldn’t let me post it on the body)