Unlock the Power of Remote Control: Sending Messages & Commands to Your Raspberry Pi Using MQTT (P1)

  Рет қаралды 2,365

Shilleh

Shilleh

Күн бұрын

In this video learn how to send messages to/from your local computer to your Raspberry Pi over the local network using the Mosquitto MQTT and Python! It's free and incredibly easy to set up and manage. This can form the basis of incredible IoT and distributed systems applications! You can do some amazing things with this simple tool in practice.
Code:
share.razzl.com/V5v1
More Info on Mosquitto:
mosquitto.org/
Where to Donate to Shilleh:
www.buymeacoffee.com/mmshilleh
Other MQTT Videos on the Shilleh Channel:
Connect Raspberry Pi Pico Ws with MQTT:
• Connecting Raspberry P...
How to Connect Raspberry Pi Pico W to a NodeJS Application:
• How to Connect Raspber...
How to Stream Sensor Data from the Raspberry Pi Pico W to a React App in Real-Time using ApexCharts:
• How to Stream Sensor D...
Do not forget to subscribe.
Visit ShillehTek store for Raspberry Pi sensors and items:
shillehtek.com
Amazon store for ShillehTek:
www.amazon.com/stores/Shilleh...
Link to Medium Post:
/ sending-messages-comma...
Link to Blog Post:
shillehtek.com/blogs/news/sen...
TIMESTAMPS:
00:00 Intro
00:10 Background
02:22 Raspberry Pi Setup and Code
09:36 Local Computer Setup and Code
12:35 Outro

Пікірлер: 15
@mattkojetin8198
@mattkojetin8198 8 ай бұрын
Thanks!
@mmshilleh
@mmshilleh 8 ай бұрын
You are welcome!
@quaternion-pi
@quaternion-pi 8 ай бұрын
Great intro to MQTT. You might also consider using both MQTT publish/subscribe nodes in node-red, and the MQTT broker running on the RPi - node-red is very versatile and simple to code a GUI interface. You can also code Python functions in node-red. Thanks for your tutorials, always helpful.
@mmshilleh
@mmshilleh 8 ай бұрын
Okay, I will definitely look into never used it! Thanks mate
@mattkojetin8198
@mattkojetin8198 8 ай бұрын
Thank you. This is great Information!
@mmshilleh
@mmshilleh 8 ай бұрын
Yes I am going to build up on it and figure out a demonstration with a simple mobile app to have the Pi take a picture and show it to you, will be developing in the weeks to come hopefully I can get it to work
@mattmullin5
@mattmullin5 2 ай бұрын
If you are running on paho-mqtt 2.0.0 you will get a "callback_api_version" error on the raspberry pi code. revert to a previous version using 'pip install "paho-mqtt
@mmshilleh
@mmshilleh 2 ай бұрын
Thanks dude, appreciate comments like this :)
@mattmullin5
@mattmullin5 2 ай бұрын
@@mmshilleh thanks for a great video! I am trying to figure out how to send remote commands to a raspberry pi through a cellular connection using a SIM7600 HAT via ssh. Let me know if you have any suggestions!
@mmshilleh
@mmshilleh 2 ай бұрын
@@mattmullin5 i do have some ideas for that but hard to discuss in KZbin comments. I offer some consulting at a fee or if its a short question I will do my best to answer over email :)
@tylercollins7056
@tylercollins7056 4 ай бұрын
I need to do this same thing but using a bluetooth connection between a phone and a Pi without any internet connection. Do you have any videos that go over that?
@mmshilleh
@mmshilleh 4 ай бұрын
Hey Tyler I have not done any videos with Bluetooth because its a little trickier than wifi and involves more technical knowledge about Bluetooth protocol which I haven't had time to learn about. I will do that in the future for sure, perhaps within the next month. For now, I do not, I hope you can subscribe still!.
@Tyrone-Ward
@Tyrone-Ward 8 ай бұрын
Do you have an actual link to the code repo?
@mmshilleh
@mmshilleh 8 ай бұрын
Hey Buddy, no for these next segments of videos the code can only be downloaded on Razzl! For a dollar I believe… Sorry for the inconvenience but its a sponsorship to monetize my content. If you do not like that I hope its simple enough to copy from the video. Hope you stick around and enjoy more content
@mmshilleh
@mmshilleh 8 ай бұрын
If you like this video please consider donating to the channel. An interactive version of this video and downloadable instructions available on Razzl on the App Store and Android Store which contains the code and PDF instructions.Cheers!
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 1,3 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 89 МЛН
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 28 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 89 МЛН
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 27 МЛН
Control ANY COMPUTER with these Pi KVMs!
17:46
Jeff Geerling
Рет қаралды 810 М.
MQTT and Home Assistant
11:38
Home Automation Guy
Рет қаралды 109 М.
How To Set Up MQTT With Raspberry Pi Pico W | Guide For Beginners
9:00
Core Electronics
Рет қаралды 31 М.
Can I Run Youtube Entirely From My Terminal? (No Browser)
15:31
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 188 М.
Problems You will Encounter on Linux (and How to Solve Them)
23:01
Rob Braxman Tech
Рет қаралды 29 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 63 МЛН
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 3,9 МЛН
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 8 МЛН
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 544 М.
Nokia 3310 top
0:20
YT 𝒯𝒾𝓂𝓉𝒾𝓀
Рет қаралды 3,8 МЛН