Repository navigation
Hue MotionAware - #8343
Merged
Merged
Hue MotionAware#8343
Conversation
Add Hue-specific MotionAware cluster 0xFC04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I would open an issue, but they only support bug reports or device requests. I suppose this is a feature request, but you could also see it as enhancement for Hue devices that support MotionAware.
This PR updates
general.xml, adding support for Hue MotionAware to the deCONZ GUI. With these updates, you can manually setup a Hue MotionAware group and start or stop the reporting of raw data to the deCONZ gateway. I don't yet know how to interpret the raw data, but I figured monitoring it in the GUI is a good first step.Hue devices that support Hue MotionAware carry the Hue MotionAware (0xFC04) server cluster. As far as I can tell, this cluster supports:
A MotionAware group consists of three or four devices. One is the proxy, the others are members. It is identified by an ID. The Hue Bridge Pro reconfigures the group, incrementing the ID each time the motion area is activated.
When active, all devices in the group continuously send MAC level broadcasts, using the ZLL Commissioning cluster with the raw radio signal strength data. This data is collected by the proxy who continuously sends Report to the coordinator (note that the Hue Bridge Pro is a proper coordinator, with NWK address 0x0000).
Configure, Start, and Stop are sent to the proxy and to each member; only the proxy sends Report. The raw data for groups of three devices consists of 6 bytes (presumably 3 devices, each reporting signal strength to 2 neighbours); for four devices, it consists of 12 bytes (presumably 4 devices reporting 3 neighbours each).
The proxy is configured with all roles and member nr 0; the members only acts as sensor and use subsequent member nrs. The first unknown parameter always seems to be 0x0190; the second unknown parameter is 0, 133, 266 for groups of three and 0, 100, 200, 300 for groups of four.