M5stick C - Rasp Pi integration with MQTT
-
Hi all,
I am currently working on a project which has facial recognition job on Raspberry Pi. But now, I am looking forward to connecting it with M5stick through MQTT. The main goal is to get a notification and an image to be displayed on M5Stick.
Basically, the steps involved in establishing a link between Pi and ESP-32 through MQTT.
Can anyone guide me on the same? I am a newbie here and looking for as much information as possible. -
@nirvana07 I would suggest you:
- First learn about writing normal Python code to learn, test, and validate your MQTT server setup.
- Use uiflow blockly to draw out your MQTT code, and flip to the Python tab to see the auto generated code. Make changes as needed.
No free lunch here. As newbie you should be prepared to invest time into this.
-
Hi
Install mqtt in the pi
https://www.instructables.com/id/Installing-MQTT-BrokerMosquitto-on-Raspberry-Pi/Setup a Python app with a mqtt client on the pi
http://www.steves-internet-guide.com/into-mqtt-python-client/Setup mqtt client on your M5Stick
https://github.com/m5stack/M5Cloud/tree/master/examples/MQTTThis should be a good start to get mqtt connected on the both devices.