Skip to content

A Python app to monitor one-wire servers, and publish the temperature, humidity and other data from their sensors

License

Notifications You must be signed in to change notification settings

eloebl/mqtt-owfs-temp

 
 

Repository files navigation

mqtt-owfs-temp

This script will read a list of hosts, ports and devices from /etc/mqtt-owfs-temp/devices.csv, query the devices from the relevant owserver instance, and publish the results over MQTT

INSTALL

sudo apt-get install git python-ow python-pip

sudo pip install setuptools
sudo pip install setproctitle
sudo pip install paho-mqtt

mkdir /etc/mqtt-owfs-temp/
git clone git://github.com/mloebl/mqtt-owfs-temp.git /usr/local/mqtt-owfs-temp/
cp /usr/local/mqtt-owfs-temp/mqtt-owfs-temp.cfg.example /etc/mqtt-owfs-temp/mqtt-owfs-temp.cfg
cp /usr/local/mqtt-owfs-temp/mqtt-owfs-temp.init /etc/init.d/mqtt-owfs-temp
update-rc.d mqtt-owfs-temp defaults
cp /usr/local/mqtt-owfs-temp/mqtt-owfs-temp.default /etc/default/mqtt-owfs-temp

Edit /etc/default/mqtt-owfs-temp and /etc/mqtt-owfs-temp/mqtt-owfs-temp.cfg to suit

/etc/init.d/mqtt-owfs-temp start

SERVER

If you are interested in running a 1-wire owserver instance on a Raspberry Pi, the original author has written a short guide here http://lodge.glasgownet.com/2012/11/14/owfs-server-on-the-raspberry-pi/

About

A Python app to monitor one-wire servers, and publish the temperature, humidity and other data from their sensors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 73.8%
  • Shell 26.2%