Instalace

Domoticz instalace

Návod na:

Wiki Domoticz

https://www.domoticz.com/wiki/Linux

 

sudo apt-get install build-essential nano cmake git libboost-dev libboost-thread-dev libboost-system-dev -y; sudo apt-get install libsqlite3-dev curl libcurl4-openssl-dev libssl-dev libusb-dev zlib1g-dev python3-dev -y; sudo apt-get install build-essential-y; wget https://cmake.org/files/v3.8/cmake-3.8.0.tar.gz; tar xf cmake-3.8.0.tar.gz; cd cmake-3.8.0; ./configure; make; sudo make install; cd ~; git clone https://github.com/domoticz/domoticz.git domoticz; cd domoticz; cmake -DCMAKE_BUILD_TYPE=Release .; make; 

 

cd domoticz
sudo cp domoticz.sh /etc/init.d
sudo chmod +x /etc/init.d/domoticz.sh
sudo update-rc.d domoticz.sh defaults

 

Editovat soubor

sudo nano /etc/init.d/domoticz.sh

 

USERNAME=yourusername
DAEMON=/home/$USERNAME/domoticz/$NAME
DAEMON_ARGS="-daemon -www 8080"