Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port/leverage weave event to CHIP in data model #1671

Closed
yunhanw-google opened this issue Jul 22, 2020 · 0 comments
Closed

Port/leverage weave event to CHIP in data model #1671

yunhanw-google opened this issue Jul 22, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request V1.X
Milestone

Comments

@yunhanw-google
Copy link
Contributor

yunhanw-google commented Jul 22, 2020

@mrjerryjohns has presented weave event spec in TSG data model team, and received the broad agreement on it. I am working on the initial porting, leverage and prototype for event on CHIP.

Eventing: Motivation
--A way to provide a historical record/log of notable ‘happenings’
--Capture every single ‘edge’ / change
--Send it reliably to interested observers
--Can contain rich metadata

For the existing zcl, there exists 3 gaps
Gap 1: Inconsistent queuing semantics with attribute reporting
--Different queuing constructs observed between ZCL clusters

Gap 2: Lack of meta-model construct to be able to define events
--ZCL today defines in two ways:
Circular ‘tables’ in attributes
‘Notification’ Commands
Need a better construct

Gap 3: Protocol mapping is inefficient, not scalable
--No durable ID per event
--No batching
--No timestamps

We will leverage weave event implementation, create new meta-model construct for Events:
All events have:
Cluster ID + Event Type ID
64-bit unique ID for each event instance, monotonically vended
Importance Levels
Timestamp (system time OR wall-time)

We will modify Reporting protocol to support shuttling batched Events as well
Custom interest set for events
Batched payloads
Synchronization
Event ID optimization

@woody-apple woody-apple added the enhancement New feature or request label Jul 23, 2020
@woody-apple woody-apple added this to the V1.0 milestone Jul 31, 2020
@yunhanw-google yunhanw-google changed the title Port weave event logging to CHIP Port weave event to CHIP in data model Oct 14, 2020
@yunhanw-google yunhanw-google changed the title Port weave event to CHIP in data model Port/leverage weave event to CHIP in data model Oct 15, 2020
@franck-apple franck-apple modified the milestones: V1.0, Not sure when Oct 15, 2020
@franck-apple franck-apple added V1.X and removed V1.0 labels Oct 15, 2020
@yunhanw-google yunhanw-google self-assigned this Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request V1.X
Projects
None yet
Development

No branches or pull requests

3 participants