Introduction and problem statement
I recently bought a "Sonoff Zigbee 3.0 USB Dongle Plus" (model "ZBDongle-E") and a Lixee ZLinky_TIC.
I want to pair them and acquire data that is measured by the ZLinky_TIC using simple command lines. Furthermore I want to avoid to install frameworks for home automation like Home assistant, MQTT stuff, etc because I think it is an overkill...
On Ubuntu (22.04) I have installed zigpy
(https://github.com/zigpy/zigpy) and bellows
(https://github.com/zigpy/bellows) using pip
.
First, I wanted to scan the available components (similarly to what we can do with Wifi or Bluetooth).
The bellows
command provide a scan
command but it requires to specify the "device
".
Does anyone know how to use this command and can tell me how to specify the device argument?
Main issue
The documentation does not explain clearly how to specify the device. Please read the help provided in the following appendix section. One can see that the --device
option expects a TEXT
but what should be stated ?
Appendix : help provided by the bellows
command line :
~$ bellows --help
Usage: bellows [OPTIONS] COMMAND [ARGS]...
Options:
-v, --verbosity LVL Either CRITICAL, ERROR, WARNING, INFO or
DEBUG
-d, --device TEXT [required]
-b, --baudrate INTEGER
--flow-control [software|hardware]
use hardware flow control
--help Show this message and exit.
Commands:
backup Backup NCP config to stdio.
bootloader Start bootloader
config Get/set configuration on the NCP
devices Show device database
dump Capture frames on CHANNEL and write to FILE in tcpdump...
form Form a new ZigBee network
info Get NCP information
join Join an existing ZigBee network as an end device
leave Leave the ZigBee network
permit Allow devices to join this ZigBee network
permit-with-key Allow devices to join this ZigBee network using an...
restore Backup NCP config to stdio.
scan Scan for networks or radio interference
stream Transmit random stream of characters on CHANNEL with...
tone Transmit continuous unmodulated tone on CHANNEL with...
zcl Perform ZCL operations against a device
zdo Perform ZDO operations against a device