/mqtt-rf-bridge

A small Python app to converse between MQTT messages and 433MHz RF signals.

Primary LanguagePython

mqtt-rf-bridge

A small Python app to converse between MQTT messages and 433MHz RF signals. This acts as a bridge between Paho MQTT and rpi-rf. Requirements: pip3 install paho-mqtt rpi-rf yaml

Implemented:

  • Configuration file definitions for topics, GPIO pins, RF transmit/recieve codes
  • Subscribing to MQTT Topic
  • Writing data to RF Transmitter
  • Systemd user service (for example)
  • Receiving data from RF Reciever
  • Publishing to MQTT Topic

config.yaml

  • hostname : MQTT Broker hostname
  • topics : A list of MQTT Topics to subscribe to. For each topic you can define:
    • rf_codes: On/Off codes to be sent to your RF Transmitter
    • gpio : The GPIO connections for the transmitter/receiver.