[PYTHON] MQTT on Raspberry Pi and Mac

Overview

I need to understand MQTT, so I want to communicate with Raspberry Pi on Mac and get an image

Raspberry Pi

--Installed mosquiito and mosquiito_clients on Raspberry Pi --Installed mosquitto on Man --Start Broker with Raspberry Pi --Launch mosquitto_sub -h 192.168.11.13 -t tp1 / test on Mac (preparation for reception) --Execute mosquitto_pub -h localhost -t tp1 / test -m Hello on Raspberry Pi (send data) --Hellow confirmation of reception on Mac terminal

Based site

-MQTT Specifications: Topic Wildcards -Send and receive MQTT with python -Using mosquitto on Raspberry Pi -I put Mosquitto on Mac and Raspberry Pi -Basic knowledge of MQTT

My youtube channel

-YouTube: Easy Microcomputer Class

Recommended Posts

MQTT on Raspberry Pi and Mac
pigpio on Raspberry pi
Cython on Raspberry Pi
MQTT RC car with Arduino and Raspberry Pi
Catalina on Mac and pyenv
Introduced pyenv on Raspberry Pi
Use NeoPixel on Raspberry Pi
Install OpenCV4 on Raspberry Pi 3
Install TensorFlow 1.15.0 on Raspberry Pi
Record temperature and humidity with systemd on Raspberry Pi
Ubuntu 20.04 on raspberry pi 4 with OpenCV and use with python
Installation of Docker on Raspberry Pi and L Chika
Install pyenv on Raspberry Pi and version control Python
Troubleshoot with installing OpenCV on Raspberry Pi and capturing
Testing uart communication on Raspberry Pi
raspberry pi 4 centos7 install on docker
Install ghoto2 on Raspberry Pi (memo)
Try using ArUco on Raspberry Pi
OpenCV installation procedure on Raspberry Pi
Power on / off Raspberry pi on Arduino
Detect switch status on Raspberry Pi 3
Install OpenMedia Vault 5 on Raspberry Pi 4
L Chika on Raspberry Pi C #
Build wxPython on Ubuntu 20.04 on raspberry pi 4
Weighing instrument using raspberry pi and hx711 (GUI display on Tkinter)
Pet monitoring with Rekognition and Raspberry pi
"Honwaka Notification Lamp" on Raspberry Pi Part 2
[Raspberry Pi] Add a thermometer and a hygrometer
Detect "brightness" using python on Raspberry Pi 3!
USB boot on Raspberry Pi 4 Model B
"Honwaka Notification Lamp" on Raspberry Pi Part 1
Enable UART + serial communication on Raspberry Pi
Adafruit Python BluefruitLE works on Raspberry Pi.
Accelerate Deep Learning on Raspberry Pi 4 CPU
Set swap space on Ubuntu on Raspberry Pi
Programming normally with Node-RED programming on Raspberry Pi 3
Use the Grove sensor on the Raspberry Pi
Install 64-bit OS (bate) on Raspberry Pi
Notes on building Python and pyenv on Mac
Install docker-compose on 64-bit Raspberry Pi OS
Run servomotor on Raspberry Pi 3 using python
"Honwaka Notification Lamp" on Raspberry Pi Part 3
Working with sensors on Mathematica on Raspberry Pi
Build OpenCV-Python environment on Raspberry Pi B +
Detect temperature using python on Raspberry Pi 3!
Replacing rmtrash on Mac and replacing rm on Linux
Mount Windows shared folder on Raspberry Pi
Matrix multiplication on Raspberry Pi GPU (Part 2)
How to install NumPy on Raspberry Pi
I installed OpenCV-Python on my Raspberry Pi
Working with GPS on Raspberry Pi 3 Python
Raspberry Pi backup
python on mac
Initial settings for using GrovePi + starter kit and camera on Raspberry Pi
Raspberry Pi 3 x Julius (reading file and grammar file)
Why detectMultiScale () is slow on Raspberry Pi B +
Detect slide switches using python on Raspberry Pi 3!
Build a Django environment on Raspberry Pi (MySQL)
Try using a QR code on a Raspberry Pi
Detect magnet switches using python on Raspberry Pi 3!
Enjoy electronic work with GPIO on Raspberry Pi