techwitheddie

Sonoff Zigbee Dongle

Jan 29th, 2022 (edited)
4,463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.49 KB | None | 0 0
  1. # Change Directory
  2. cd /opt/zigbee2mqtt/
  3.  
  4. # Grant Permissions
  5. sudo chown -R pi:pi /opt/zigbee2mqtt
  6.  
  7. # Device Location
  8. ls -l /dev/serial/by-id
  9.  
  10. # Update configuration.yaml
  11. sudo nano /opt/zigbee2mqtt/data/configuration.yaml
  12.  
  13. #Run
  14. npm start
  15.  
  16. #Update configuration.yaml with pan_id (if required)
  17. sudo nano /opt/zigbee2mqtt/data/configuration.yaml
  18.  
  19. #Run
  20. npm start
  21.  
  22. # Run automatically on boot up
  23. sudo nano /etc/systemd/system/zigbee2mqtt.service
  24.  
  25. # Restart Server
  26. sudo reboot
Add Comment
Please, Sign In to add comment