Zigbee2Mqtt CC2531 installation on Raspberry Pi 4

Описание к видео Zigbee2Mqtt CC2531 installation on Raspberry Pi 4

Zigbee2Mqtt CC2531 installation on Raspberry Pi 4
Raspberry Pi 4 :::: Model B - 8GB RAM
Memory Card :::: SanDisk Ultra microSDH 32G
Zigbee2Mqtt :::: 1.17.1
-Documentation-
https://www.zigbee2mqtt.io/getting_st...
***************Commands***************
sudo curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs git make g++ gcc
sudo git clone -b 1.17.1 https://github.com/Koenkk/zigbee2mqtt...
sudo mv zigbee2mqtt /opt/zigbee2mqtt
sudo chown -R pi:pi /opt/zigbee2mqtt
nano /opt/zigbee2mqtt/data/configuration.yaml
cd /opt/zigbee2mqtt
npm ci --production
npm start
sudo nano /etc/systemd/system/zigbee2mqtt.service

------------------------------------------------------------copy paste text
[Unit]
Description=zigbee2mqtt
After=network.target

[Service]
ExecStart=/usr/bin/npm start
WorkingDirectory=/opt/zigbee2mqtt
StandardOutput=inherit
Or use StandardOutput=null if you don't want Zigbee2MQTT messages filling syslog, for more options see systemd.exec(5)
StandardError=inherit
Restart=always
User=pi

[Install]
WantedBy=multi-user.target
------------------------------------------------------------copy paste text

sudo systemctl start zigbee2mqtt
systemctl status zigbee2mqtt.service
sudo systemctl enable zigbee2mqtt.service

Show status
systemctl status zigbee2mqtt.service

View the log of Zigbee2MQTT
sudo journalctl -u zigbee2mqtt.service -f

Комментарии

Информация по комментариям в разработке