Skip to content

Setting a device variable only when it changes: Implementing data streams. #7

@instanceofMA

Description

@instanceofMA

Currently, device variables are only updated when the device calls set(), which it has to do in loop() to push updates onto Grandeur, which in most of the cases is redundant data. We can add a function to the SDK that watches a variable, and calls the underlying when an update occurs. Like a stream of data. A variable can be piped to its version on Grandeur.

This looks useful to me. Tell me your thoughts about it.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions