- Edited
Hello,
I am new to MQTT and I wanted to test out flespi with my Arduino MKR1500. I am trying to publish change of sensor value from my website and that goes through flespi and then sent to my Arduino. Then the arduino will act based on what sensor value was sent through the website. I have attached my code here and wanted to know how could I test the pubsub communication using it. I want to connect without using SSL(so I am using port 1883). I am trying to test the subcritpion to a channel using: flespi/message/gw/devices/. How do I determine what is my device ID?
If my code doesnt make sense, can you direct me to a reference code for building and testing it.
Thanks a ton in advance!
https://drive.google.com/drive/folders/1XbxxYMi0UDi5rwlHDmXJ_A6Rgl6Sudwo?usp=sharing