Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Request all necessary information during update() #53

Copy link
Copy link
@rytilahti

Description

@rytilahti
Issue body actions

It is possible to request data from multiple targets (and functions) using a single request, as is done for the discovery already. The regular update() cycle should be optimized to request all the necessary data to avoid consecutive calls to obtain some extra information.

This is necessary as some devices (mainly bulbs?) are known to have rate limits before they start dropping requests, and some downstreams (esp. homeassistant) want to obtain different sorts of data (status, current consumption, historical consumption) during each update cycle.

This combination will lead to unhappy users (and/or various hacks to go around the issue), so this should be fixed before the release.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.