Raspberry pi voorbereiden
Domotcz Installeren
MQTT installeren https://randomnerdtutorials.com/how-to-install-mosquitto-broker-on-raspberry-pi/
NODE Red installeren
Domoticz instellen
MQTT configuren in Domoticz https://www.youtube.com/watch?v=NAQFjMMjq8Q
MQQT Client Gateway instellen in Domoticz
Commando's voor in terminal op de Pi, zorg ervoor dat je systeem up to date is !
sudo apt update
sudo apt upgrade
sudo bash -c "$(curl -sSfL https://install.domoticz.com)"
username (admin)
password (domoticz)
Resources !
https://www.domoticz.com/wiki/Raspberry_Pi
ook handig hoe kan je de Pi op afstand bedienen zonder team viewer te gebruiken.
https://www.freva.com/nl/hoe-je-raspberry-pi-op-afstand-bedienen/
Domoticz automatisch opstarten
Voer de volgende commando’s uit:
cd domoticz
cd
sudo chmod +x /etc/init.d/domoticz.sh
sudo update-rc.d domoticz.sh defaults
MQTT instellen
https://raspberrypi.tilburgs.com/mosquitto-mqtt/
https://www.domoticz.com/wiki/MQTT
install msquitto
pi@raspberry:~ $ sudo apt update
pi@raspberry:~ $ sudo apt install -y mosquitto mosquitto-clients
https://randomnerdtutorials.com/how-to-install-mosquitto-broker-on-raspberry-pi/
sudo systemctl enable mosquitto.service
6) Now, test the installation by running the following command:
mosquitto -v