Giter Club home page Giter Club logo

raspberry-mqtt's Introduction

Raspberry-MQTT

The project is an upgrade of the telegram_esp32 project. The purpose of the project is to configure an MQTT broker on Raspberry to initially manage an Esp32-Cam surveillance camera. Later other functions can be configured or other devices connected via mqtt.

Description

Below you will find a logical scheme of operation.

schema

Configuration

Remember that you can configure the MQTT broker not necessarily on a Raspberry but also on a normal PC.

Raspberry

  • 1 : To configure an MQTT broker on our raspberry you can install mosquitto by following the multiple online guides (eg : https://www.ev3dev.org/docs/tutorials/sending-and-receiving-messages-with-mqtt/). However, I summarize below the only three necessary steps:

    sudo apt update && sudo apt upgrade
    
    sudo apt-get install mosquitto
    

    You can check if it is working by using the following command:

    systemctl status mosquitto
    

    or

    sudo service mosquitto status
    

    Remember that if you want to use the MQTT broker only locally without exposing it to the network you don't need to set up authentication, so just run the commands above. However, if you still want to set up authentication on the broker or want to expose your ip address for remote access then follow the online guides like this: https://randomnerdtutorials.com/how-to-install-mosquitto-broker-on-raspberry-pi/, or official documentation: https://mosquitto.org/documentation/authentication-methods/.

    If you don't already know the ip address of your Raspberry (or pc) you can see it using the following command. You will need it later to connect to the broker from client devices such as the Esp32.

    hostname -I
    

    or

    ifconfig
    

raspberry-mqtt's People

Contributors

albino98 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.