ha-chroma icon indicating copy to clipboard operation
ha-chroma copied to clipboard

[Feature] Make ha-chroma work with openrazer / Polychromatic on Linux

Open rcampbel3 opened this issue 2 years ago • 2 comments

The idea

Linux users with Chroma devices depend on https://polychromatic.app/

Polychromatic is a frontend for OpenRazer that enables Razer devices to control lighting effects and more on GNU/Linux.

Specific device(s)?

Yes

rcampbel3 avatar Oct 14 '22 17:10 rcampbel3

Hello, @rcampbel3,

This integration relies on remote communication with the Chroma SDK via the local network. I didn't find whether OpenRazer has anything similar.

Unfortunately, if this is not possible then either Home Assistant should be on the same machine as Chroma devices, or an additional module should be programmed for OpenRazer to support network control.

Vaskivskyi avatar Oct 14 '22 18:10 Vaskivskyi

Hi!

I tried ha-chroma with this: https://github.com/captin411/python-chroma-rest-server but it doesn't worked. Instead I got this error:

image

But I think this is what @rcampbel3 has searched for.

By the way: I had to change the port and the ip in the run.py

image

Could you take a look at this? @Vaskivskyi

Thank you very much.

Best Regards Nico

nicofpunkt avatar May 07 '23 22:05 nicofpunkt