Raspberry pi voorbereiden https://www.raspberrypi.com/software/
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:
1. Create the password file and add a user
Stop the Mosquitto broker:
sudo systemctl stop mosquitto
Create a new password file and add your first user. This command will prompt you to enter and confirm a password for the user. The password will not be echoed on the screen:
sudo mosquitto_passwd -c /etc/mosquitto/passwd <username>
To add more users to the file without creating a new one, use the -b (batch mode) flag to specify the password on the command line, or run the command again without -c:
sudo mosquitto_passwd -b /etc/mosquitto/passwd <username> <password>