I flashed the most recent firmware: CC1352P2_CC2652P_launchpad_coordinator_20211217
using https://github.com/JelmerT/cc2538-bsl
I plugged it into my TP-Link Archer C7 v2 w. OpenWRT
Installed
Code: Select all
opkg install kmod-usb-serial kmod-usb-serial-cp210x python3 python3-pip
Code: Select all
lsusb
Bus 001 Device 002: ID 10c4:ea60 ITead Sonoff Zigbee 3.0 USB Dongle Plus
...
I then installed domoticz 2021.1 and the Zigbee for domoticz plugin beta6
Code: Select all
pip3 install voluptuous pycrypto aiosqlite crccheck pyusb attr attrs aiohttp pyserial-asyncio
wget https://github.com/openwrt/packages/suites/5428148912/artifacts/171981314 -O mips_24kc-packages.zip # https://github.com/openwrt/packages/actions/runs/1891867403
gzip -d mips_24kc-packages.zip
opkg install minizip_3.0.2-1_mips_24kc.ipk
opkg install domoticz_2021.1-1_mips_24kc.ipk
cd /etc/domoticz/plugins
git clone --depth 1 -b beta6 https://github.com/zigbeefordomoticz/Domoticz-Zigbee.git
cd Domoticz-Zigbee
git config --add submodule.recurse true
git submodule update --init --recursive
chmod +x plugin.py
In the Hardware section I added a "Zigbee for domoticz plugin (zigpy enabled)" entry with
Coordinator Model: Texas Instruments ZNP (via zigpy)
Coordinator Type: USB
Serial Port: /dev/ttyUSB0
WebUI port: 9440
Initialize Coordinator: False
I restarted the router.
The entire Domoticz log is:
Code: Select all
2022-02-24 22:26:53.136 Active notification Subsystems: fcm, http (2/13)
2022-02-24 22:26:53.147 Starting shared server on: :::6144
2022-02-24 22:26:55.151 SONOFF hardware started.
2022-02-24 22:27:26.014 SONOFF: (SONOFF) Zigbee for Domoticz plugin started!
2022-02-24 22:27:26.024 SONOFF: (SONOFF) load PluginConf
running wget locally on the router for http://localhost:9440 also returns nothing
netstat also does not show the plugin listening on the port
Code: Select all
netstat -tulpn | grep LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2065/uhttpd
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 3619/dnsmasq
tcp 0 0 10.0.0.1:22 0.0.0.0:* LISTEN 2572/dropbear
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 2065/uhttpd
tcp 0 0 :::8080 :::* LISTEN 31648/domoticz
tcp 0 0 :::80 :::* LISTEN 2065/uhttpd
tcp 0 0 :::53 :::* LISTEN 3619/dnsmasq
tcp 0 0 fdb0:9ea7:24fc:10::1:22 :::* LISTEN 2572/dropbear
tcp 0 0 :::443 :::* LISTEN 2065/uhttpd
tcp 0 0 :::6144 :::* LISTEN 31648/domoticz
Thanks