INSTALL

Sat, 19 Jan 2019 20:12:56 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 19 Jan 2019 20:12:56 +0100
changeset 572
0df7fcb36b76
parent 553
4091d4fe217f
permissions
-rw-r--r--

Send MQTT messages with temperature values also when the fermenter is off.


	Debian Stretch.
	---------------

All extra libraries and packages are since Debian Strech present in the
standard repository. There is no need for manual downloading and building
packages, only thermferm needs to be build manually.

Using sudo apt-get install the following packages:
    libjson-c-dev, libxml2-dev, mosquitto-clients, libmosquitto-dev, wiringpi,
    i2c-tools, nginx, php-fpm, uuid-dev.

If running over WiFi consider running a local mosquitto server that runs as a
bridge to the main mosquitto server. Install mosquitto.


	Compiling and install.
	----------------------

In the main mbsePi-apps directory run:
    make clean
    ./configure

After configure, see that wiringPi and MQTT are included. Then run:
    make
    sudo make install
    systemctl enable thermferm
    systemctl start thermferm


	Configure nginx.
	----------------

	Configure local mosquitto.
	--------------------------

mercurial