Skip to content

Openlinkhub compatibility #89

Open

Description

@roose242

Not sure it's an issue for Openlinkhub or openrgb-python. It seems Openlinkhub doesn't have endpoints for plugins and profiles. So querying Openlinkhub's Openrgb-Server runs into a timeout:

  File "/home/user/openrgb/openrgb-env/lib/python3.13/site-packages/openrgb/network.py", line 96, in read
    self.sock.recv_into(header)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^
TimeoutError: timed out

Commenting out profile and plugin updates in orgb.py helps:

#if self.comms._protocol_version >= 2:
#    self.update_profiles()
#if self.comms._protocol_version >= 4:
#    self.update_plugins()

Activity

  1. jath03 commented on Mar 23, 2026

    @jath03
    Owner

    If I'm understanding this correctly, OpenLinkHub reimplemented the server side of the OpenRGB protocol?

    Yeah if they don't support features from a version, they should just be advertising an older version of the protocol.

  2. roose242 commented on Mar 25, 2026

    @roose242
    Author

    Yes, right.

    client.protocol_version shows "4"

    With the little hack it works like a charm, with two openrgb-clients running (openrgb and openlinkhub) at the same time in the same loop, controlling 26 180mm fans and other stuff - more than 900 LEDs in total incl. "realtime" effects implemented in python!

  3. CalcProgrammer1 commented on Mar 25, 2026

    @CalcProgrammer1

    I am adding flags in protocol 6 so that clients and servers can advertise what parts of the protocol a client/server support.

  4. jath03 commented on Mar 27, 2026

    @jath03
    Owner

    As a workaround for now, instead of commenting out parts of the library, you can request a lower protocol version when you initialize the client.

    cli = OpenRGBClient(protocol_version=1)
  5. jurkovic-nikola commented on Mar 30, 2026

    @jurkovic-nikola

    This is resolved on OpenLinkHub. An empty plugin and profile list will be sent, and the Py client will be able to connect. You can either compile the latest main or wait for a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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