Hyperion Config Details

Can anyone share additional info about configuring Hyperion? I’ve looked at the code for this component and I can see that there’s an optional default_color config, but I’m having trouble getting it to work. My config attempt is below. I’ve also tried to enter it as a string “0, 0, 0” and as an array without quotes. Thanks!

# Hyperion
light:
  platform: hyperion
  host: 192.168.1.103
  port: 19444
  default_color: "[0, 0, 0]"
1 Like

I think using light you probably want to ditch the default colour and apply colour in your automations etc

When I need to specify colour it’s like this (no " " and no spaces) -

rgb_color: [0,0,0]

I looked through the cookbook examples today for shell commands and I came across hyperion in @brusc’s examples, so that may be worth a look for you. https://github.com/brusc/Home-Assistant-Configuration

Thanks for the reply. I’m actually not using automation, just want to use HA as my switch to turn on/off my Hyperion setup. I looked at the component source and there’s definitely a default color optional configuration, I’m just struggling with the input format. I tried no “” and no spaces, but still no dice. Hopefully someone else can help. It’s probably obvious from the source, but I’m still learning python (and yaml).

Source for the component is here: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/light/hyperion.py

1 Like

Hi @shooks,

i’ve taken a look at the code today and can see that @fabaff has made some changes to the code.

Maybe this will allow us to set a default colour using that parameter…

@fabaff are you able to confirm at all?

Just to confirm,

I have also tested with defualt_colour and that make no difference

it would be good if we could get some clarity on this option as it seems to be available, but the documentation doesn’t cover its use

Thank You

Joe

1 Like