Git Product home page Git Product logo

rtl433_to_mqtt's Introduction

rtl_433 to MQTT ๐Ÿ“ก ๐Ÿ“ข

Dockerfile to help containerize some functionality from https://github.com/merbanan/rtl_433. Specifically publishing recieved device messages to an MQTT broker.

Setup

Connection details for the MQTT broker are handled via the following environment variables:

  • MQTT_HOST host for mqtt broker
  • MQTT_PORT mqtt port, defaults to 1883
  • MQTT_USER mqtt username
  • MQTT_PASS mqtt password

Since rtl_433 uses USB attached SDRs you'll need to pass through the device to container (this requires the privileged flag).

For example, with docker compose:

  rtl433:
    build:
      context: https://github.com/rh0/rtl433_to_mqtt.git
    image: rh0/rtl433_to_mqtt:latest-dev
    container_name: rtl433
    restart: always
    env_file:
      - ./rtl433.env
    privileged: true
    devices:
      - /dev/bus/usb:/dev/bus/usb

If all goes well and your radio is in range of a 433mhz device broadcast, your MQTT broker should start receiving messages from those devices in the rtl_433 topic.

rtl433_to_mqtt's People

Contributors

rh0 avatar

Stargazers

 avatar

Watchers

 avatar  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.