zsmartsystems / com.zsmartsystems.zigbee

ZigBee Cluster Library Java framework supporting multiple dongles
Eclipse Public License 1.0
142 stars 88 forks source link

Improve fingerprint command to also read attribute values #1328

Closed cdjackson closed 2 years ago

cdjackson commented 2 years ago

This improves the fingerprint console command to also read the attribute values from the device. If the device responds to the attributes supported request, then it will read the attribute values. If not, it will request all known attributes for the cluster and print any that receive a response.

Attribute data will only be read from the device if it was not received in the past 60 seconds.

| | | | |>| Attributes Supported
| | | | | |> 0000  Scene Count                               >> 0
| | | | | |> 0001  Current Scene                             >> 0
| | | | | |> 0002  Current Group                             >> 0
| | | | | |> 0003  Scene Valid                               >> false
| | | | | |> 0004  Name Support                              >> 0
| | | | | |> FFFD  Cluster Revision                          >> 2

Signed-off-by: Chris Jackson chris@cd-jackson.com

lgtm-com[bot] commented 2 years ago

This pull request introduces 1 alert when merging 2de57157577b6866eafab0281d4a12c44e8ce5ef into 7a5efab57e195db8e0f7549a83be9ccd0991a06f - view on LGTM.com

new alerts: