-
Notifications
You must be signed in to change notification settings - Fork 3
A Python app to monitor a RFM12b (or RF12) receiver and publish results from it
License
kylegordon/mqtt-rfm12b
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
SUMMARY ======= A small python application that uses the serial port of a Jeelink or some other serially attached Arduino with a RFM12b module to recieve data from remote RFM12B units using the OpenEnergyMonitor/TinyTX protocol. It will read a list of integers from the incoming data packet, split them into their individual components, divide by 100, and publish the results against the topic name, with the node ID as the last part of the topic. ie, 2 integers from node 4, with data of 2108 and 3303 (temperature and supply voltage for example) will be published as /foo/bar/4/1 21.08 /foo/bar/4/2 33.03 This payload structure is as used by TinyTX and OpenEnergyMonitor INSTALL ======= sudo apt-get install python-mosquitto git sudo mkdir /etc/mqtt-rfm12b/ sudo git clone http://github.com/kylegordon/mqtt-rfm12b.git /usr/local/mqtt-rfm12b sudo cp /usr/local/mqtt-rfm12b/mqtt-rfm12b.init /etc/init.d/mqtt-rfm12b sudo update-rc.d mqtt-rfm12b defaults sudo cp /usr/local/mqtt-rfm12b/mqtt-rfm12b.default /etc/default/mqtt-rfm12b sudo cp /usr/local/mqtt-rfm12b/mqtt-rfm12b.cfg.example /etc/mqtt-rfm12b/mqtt-rfm12b.cfg # Edit the above to suit sudo /etc/init.d/mqtt-rfm12b start
About
A Python app to monitor a RFM12b (or RF12) receiver and publish results from it
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published