Skip to content

Implementation which doesn't open/close the connection each time #3

@andr2000

Description

@andr2000

When querying lots of parameters or doing polling it could be costly to open and close the socket each time. It would be great if API exists which could allow the following scenario:

  1. Open the socket
  2. Read/write multiple times through the same sock
  3. Close the socket at the end

This could be utilized by Home Assistant for example, which could then read multiple sensors using the same socket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions