A cli interface for sending [ZCL over IP](https://www.silabs.com/documents/public/user-guides/ug278-zcl-over-ip.pdf) messages.
npm install zclip-cliA cli interface for sending ZCL over IP messages.
This depends on zclip.js and works with zclip-rd. See zclip.js for a list of supported clusters.
``sh`
npm install zclip-cli -g
`sh`
zcl lookup --rdIp
`sh`
zcl lookup #Find all devices
zcl lookup --cluster onOff #Find onOff clusters
zcl lookup --cluster onOff --clusterSide server #Find onOff server clusters
`sh`
zcl lookup --rdIp ::1 --rdPort 5689
zcl lookup --rdIp ::1 --rdPort 5689 --cluster onOff
zcl lookup --rdIp ::1 --rdPort 5689 --cluster onOff --clusterSide server
`sh`
zcl cmd
zcl cmd
`sh`
zcl cmd onOff on --ip ::1
zcl cmd levelControl move --ip ::1 --moveMode 1 --rate 255
`sh`
zcl cmd onOff on --uid P7BU0eh27b2f5f0IC0GLL7uHum_DtmRVe73umRQCAeY --rdIp ::1 --rdPort 5689
zcl cmd levelControl move --uid P7BU0eh27b2f5f0IC0GLL7uHum_DtmRVe73umRQCAeY --rdIp ::1 --rdPort 5689 --moveMode 1 --rate 255
`sh`
zcl read
zcl read
`sh`
zcl read onOff --ip ::1
zcl read onOff --uid P7BU0eh27b2f5f0IC0GLL7uHum_DtmRVe73umRQCAeY --rdIp ::1 --rdPort 5689
`sh`
zcl bind add
`sh`
zcl bind add onOff 2001::1 2001::2
zcl bind add onOff 2001::1 --destinationUid 3fb054d1e876edbd9fe5fd080b418b2fbb87ba6fc3b664557bbdee99140201e6
`sh`
./bin/zcl bind clear onOff ::1
The cli will try to help if you omit part of a command.
`sh`
$ zcl
`sh
Usage:
zcl
Available commands:
cmd
discover
read
`
`sh`
$ zcl cmd
`sh
Usage:
zcl cmd
Available clusters:
alarms
applianceControl
applianceEventsAndAlert
applianceIdentification
applianceStatistics
...
onOff
`
`sh`
$ zcl cmd onOff
`sh
Usage:
zcl cmd
Available commands:
off
on
toggle
`
...and so on.
`sh``
npm test
community.silabs.com or silabs.com/support