Загрузка страницы

How-To Get Started with Mosquitto MQTT Broker on a Raspberry Pi

Yo,

In this video, I'll be covering how-to install, setup, and use Mosquitto MQTT broker on a Raspberry Pi. Mosquitto is an awesome open source MQTT broker that you can run on a device like a Raspberry Pi. It's great because you don't have to share you data to the cloud and can keep everything locally on your system. Plus, it's free! MQTT is a great protocol for various DIY tech - like an Arduino, NodeMCU, or ESP8266 chip. If you have any questions, let me know! Happy to help with what I can!

Cheers,
Ben
--- The Tech I Use ---

http://geni.us/bruhkit
---Favorite Parts---

Raspberry Pi 3 - http://geni.us/raspberrypi3
Case - http://geni.us/2rQEgy5
SD Card - http://geni.us/PbZS2oD
Power Supply - http://geni.us/2ABPd1D
LIFX - http://geni.us/r0dC
Aeotec Z-Stick Gen 5 - http://geni.us/N2ULv
NodeMCU ESP8266 Chip - http://geni.us/6i9vl
---Shell Commands---

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install mosquitto
sudo apt-get install mosquitto-clients

sudo nano /etc/mosquitto/mosquitto.conf

allow_anonymous false
password_file /etc/mosquitto/pwfile
listener 1883

sudo mosquitto_passwd -c /etc/mosquitto/pwfile username

mosquitto_sub -d -u username -P password -t "dev/test"
mosquitto_pub -d -u username -P password -t "dev/test" -m "Hello world"
---Resources---

Mosquitto Configuration - http://mosquitto.org/man/mosquitto-conf-5.html
MQTT Home Assistant - https://home-assistant.io/components/mqtt/
My Website - http://www.bruhautomation.com
Home Assistant - https://home-assistant.io/
HA Forum - https://community.home-assistant.io/
HA Chatroom - https://gitter.im/home-assistant/home...
HA GitHub - https://github.com/home-assistant

Видео How-To Get Started with Mosquitto MQTT Broker on a Raspberry Pi канала BRUH Automation
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
19 июля 2016 г. 18:16:22
00:08:34
Яндекс.Метрика