Skip to content

Enhancement: Improvement to state system #7

Open
@cjavad

Description

@cjavad

To address certain issues:

  • Fix partially cleared events (has_changed) removing the dirty event and never getting retriggered.
  • In combination with intervals when a value is only pushed when it is changed we need a way to automatically re-dirty an event after the interval has passed.
  • When a field is a float, but it is only sent as a integer, either support floored diffing or conversion to not trigger events when the proposed value is actually the same as the last sent value in reality. (Ei. temperature)

Rework internal state system to make printer status more efficient and accurate and prevent bugs long term. See the state_effect branch for a WIP model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions