Channel: BRUH Automation
Category: Science & Technology
Tags: how toelectronicsgadgetsmart homebestbruhsmartiotraspberry pihow-toautomationarduinodiyreviewmqtttutorialbruh automationsmarthometechwifimakerhow to get started with mosquitto mqtt brokeresp8266technologycheapbrokerhome automationhome assistantmosquittointernet of thingsgadgets
Description: 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 --- geni.us/bruhkit ---Favorite Parts--- Raspberry Pi 3 - geni.us/raspberrypi3 Case - geni.us/2rQEgy5 SD Card - geni.us/PbZS2oD Power Supply - geni.us/2ABPd1D LIFX - geni.us/r0dC Aeotec Z-Stick Gen 5 - geni.us/N2ULv NodeMCU ESP8266 Chip - 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 - mosquitto.org/man/mosquitto-conf-5.html MQTT Home Assistant - home-assistant.io/components/mqtt My Website - bruhautomation.com Home Assistant - home-assistant.io HA Forum - community.home-assistant.io HA Chatroom - gitter.im/home-assistant/home... HA GitHub - github.com/home-assistant