-
Notifications
You must be signed in to change notification settings - Fork 0
Standard software som er installeret
agoralive edited this page Apr 19, 2020
·
4 revisions
sudo apt-get install ffmpeg v4l-utils --fix-missing -y
sudo apt-get install mosquitto -y
sudo apt-get install mosquitto-clients -y
sudo systemctl enable mosquitto.service
Der skal indsættes et < foran (curl således det ser således ud <(curl....
bash (curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
Du skal svare yes til begge spørgsmål - installation kan tage op til 30 minutter
sudo systemctl enable nodered.service
sudo curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install git -y
sudo git clone https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt
sudo chown -R pi:pi /opt/zigbee2mqtt
cd /opt/zigbee2mqtt
npm ci
sudo nano /etc/systemd/system/zigbee2mqtt.service
Du skal nu lave en konfigurationsfil i din systemctl:
sudo nano /etc/systemd/system/zigbee2mqtt.service
Kopier følgende og sæt det ind
[Unit] Description=zigbee2mqtt After=network.target [Service] ExecStart=/usr/bin/npm start WorkingDirectory=/opt/zigbee2mqtt StandardOutput=inherit StandardError=inherit Restart=always User=pi [Install] WantedBy=multi-user.target
Afslut nano og gem
sudo systemctl enable zigbee2mqtt.service
curl -sL https://install.raspap.com | bash
Yes - Yes - Yes - Yes - No - Yes
Ændre dit hostname til hjemmeflow-server
sudo raspi-config -> Network Options -> Hostname -> OK -> hjemmeflow-server -> Finish -> Reboot
https://lefkowitz.me/setup-a-network-share-via-samba-on-your-raspberry-pi/