openenergymonitor / emonhub

Python service linking and decoding input to MQTT & Emoncms
90 stars 83 forks source link

Rfm69 spi pi #178

Closed TrystanLea closed 2 years ago

TrystanLea commented 2 years ago

RFM69 SPI Interfacer.

Example EmonHub conf:

[[SPI]]
    Type = EmonHubRF69Interfacer
    [[[init_settings]]]
        nodeid = 5
        group = 210
    [[[runtimesettings]]]
        pubchannels = ToEmonCMS,

Steps to get working:

  1. Enable SPI in raspi-config:
  2. sudo adduser emonhub spi
  3. sudo apt-get install python3-spidev (may just upgrade an existing package)