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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login