techwitheddie

raspbee

Sep 4th, 2021 (edited)
950
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.92 KB | None | 0 0
  1. 1. #Edit Boot Config
  2.     sudo nano /boot/config.txt
  3.  
  4.     # Uncomment some or all of these to enable the optional hardware interfaces
  5.     dtparam=i2c_arm=on
  6.     dtparam=i2s=on
  7.     # Add > Additional overlays and parameters are documented /boot/overlays/README
  8.     dtoverlay=disable-bt
  9.     dtoverlay=disable-wifi
  10.     # add > [all]
  11.     enable_uart=1
  12.  
  13. 2. #locating raspbee and confirm if enabled
  14.     ls -l /dev/ttyAMA0
  15.     dmesg | grep tty
  16.  
  17. 3. #permissions
  18.     sudo usermod -a -G uucp $USER
  19.     sudo usermod -a -G tty $USER
  20.     sudo usermod -a -G dialout $USER
  21.  
  22. 4. #resolving locale failed
  23.     export LC_ALL=C
  24.  
  25. 5. #modify File Permissions
  26.     sudo chmod -R 777 /opt/zigbee2mqtt
  27.  
  28. 6. #Required: serial settings
  29.     serial:
  30.         port: /dev/ttyAMA0
  31.         adapter: deconz
  32.  
  33. 7. #frontend configuration
  34.     frontend:
  35.         # Optional, default 8080 or you can use your own as well.
  36.         port: 8080
  37.         # IP address of the device running Zigbee2MQTT
  38.         host: 192.168.86.12
Add Comment
Please, Sign In to add comment