Vaskivskyi / ha-chroma

Control your Chroma-enabled devices from Home Assistant
Apache License 2.0
22 stars 0 forks source link

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

Open rcampbel3 opened 1 year ago

rcampbel3 commented 1 year ago

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

Vaskivskyi commented 1 year ago

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.

nicofpunkt commented 1 year ago

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