Skip to content

Prevent sending values if update too frequent #313

@WinndyBoy

Description

@WinndyBoy

I'm updating the SensorDimmer->setPercentage() when a button is held, and currently a message is being sent to the network on every change.

I suggest enhancing the Child::sendValue some how so that if values change quicker than say 5 seconds (configurable) then these messages arn't sent until things have settled. Perhaps the SensorDimmer is a special case and sending messages can be prevented somewhere else, but though I'd mention it for feedback.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions