may be usefull for somebody - this topic accumulate info for running homebridge with cc253xx Zigbee stick
1) flash dietpi (I use dietpi 9.5.1 - bullseye) to emmc
- see wiki -> load from sdcard (use SD image of friendlywrt, not "flasher" image) -> flash via emmc tools on friendlywrt -> reboot
2) connect via ssh and step-by-step setup dietpi (time zone and etc.) -> select software for install: mosquitto, homebridge, mc -> confirm and install -> reboot
3) open homebridge (ip_of_r5c:8581), setup homebridge
4) install Homebridge Zigbee Nt plugin (/dev/ttyACM0 for cc253x stick, "mosquitto" for login to broker and you password, port for http server with UI for zigbee). After you see error - no permissions to ports or something just like this
5) connect via ssh to dietpi and use "sudo chmod 666 /dev/ttyACM0". After add (sudo nano ...) to ~/.bashrc this:
# Give permissions to serial port
sudo chmod 666 /dev/ttyACM0
6) reboot and enjoy
thanks to:
https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R5C#Flash_third_party_OS_.28Image_file.29_to_eMMC
https://dietpi.com/docs/install/
https://discourse.nodered.org/t/serial-port-issue-permission-denied-cannot-open-dev-ttyacm0/4500 and https://askubuntu.com/questions/58119/changing-permissions-on-serial-port
1) flash dietpi (I use dietpi 9.5.1 - bullseye) to emmc
- see wiki -> load from sdcard (use SD image of friendlywrt, not "flasher" image) -> flash via emmc tools on friendlywrt -> reboot
2) connect via ssh and step-by-step setup dietpi (time zone and etc.) -> select software for install: mosquitto, homebridge, mc -> confirm and install -> reboot
3) open homebridge (ip_of_r5c:8581), setup homebridge
4) install Homebridge Zigbee Nt plugin (/dev/ttyACM0 for cc253x stick, "mosquitto" for login to broker and you password, port for http server with UI for zigbee). After you see error - no permissions to ports or something just like this
5) connect via ssh to dietpi and use "sudo chmod 666 /dev/ttyACM0". After add (sudo nano ...) to ~/.bashrc this:
# Give permissions to serial port
sudo chmod 666 /dev/ttyACM0
6) reboot and enjoy
thanks to:
https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R5C#Flash_third_party_OS_.28Image_file.29_to_eMMC
https://dietpi.com/docs/install/
https://discourse.nodered.org/t/serial-port-issue-permission-denied-cannot-open-dev-ttyacm0/4500 and https://askubuntu.com/questions/58119/changing-permissions-on-serial-port