Philips Hue default power-on values?

Hi All,

I need the default power-on values for my Hue bulbs but can not find them anywhere.
Has anyone used the codes in their own script or scene?

light.hue1:
state: on
rgb_color: […, …, …]
color_temp: …
transition: 2
brightness: …

I want the lights to return to default after watching a movie with KODI ambilight,
but the ligts used for ambilight don’t have a power switch.

Thanks in advance

Up :slight_smile:

If you go in to the states page in your instance of HASS, the link looks like this “< >”. You can read all attributes that every entity has got right now. So you can configure your Hue bulbs with the Hue app to get the color you want and then copy them from the states page.

2 Likes

That’s how I did it. Tune the light how you like them default using the HUE app. Then look in HASS for the values and copy paste them in your “normal lights” automation.

1 Like

Awesome, thanks guys :slight_smile:

So to answer my own question :grinning:

These are the power-on values for first gen Hue bulbs:
state: on
brightness: 254
rgb_color: [255,199,116]
color_temp: 369

1 Like

Wow that’s quite bright!
For me, after 22:00 they return to:

      brightness: 170
      rgb_color: [173,124,56]
      color_temp: 445

And before 22:00 they return to:

      brightness: 100
      rgb_color: [173,124,56]
      color_temp: 445

This is because “Normal” is quite bright compared to “During movie watching”, and if the movie ends after 22:00 we don’t want the lights to change so much and so bright. We prefer dimmer light to the transition is nicer late at night.

Of course it all depends on your personal preference :slight_smile: and where your lights are placed.

Here is my automation for around and during movie watching:

- alias: "Media player Stopped after 22:00"
  trigger:
    - platform: state
      entity_id: media_player.kodi
      to: 'idle'
  condition: 
    condition: and
    conditions: 
      - condition: state
        entity_id: light.hue_color_1_voor
        state: 'on'
      - condition: time
        after: '22:00:00'
  action:
      service: scene.turn_on
      entity_id: scene.woonkamer_aftermoviedim

- alias: "Media player Stopped before 22:00"
  trigger:
    - platform: state
      entity_id: media_player.kodi
      to: 'idle'
  condition:
    condition: and
    conditions: 
      - condition: state
        entity_id: light.hue_color_1_voor
        state: 'on'
      - condition: time
        before: '21:59:59'
  action:
      service: scene.turn_on
      entity_id: scene.woonkamer_normaal

- alias: "Media player to Paused"
  trigger:
    - platform: state
      entity_id: media_player.kodi
      to: 'paused'
  condition: 
    condition: and
    conditions: 
      - condition: state
        entity_id: light.hue_color_1_voor
        state: 'on'
  action:
      service: scene.turn_on
      entity_id: scene.woonkamer_moviepaused

- alias: "Media player playing"
  trigger:
    - platform: state
      entity_id: media_player.kodi
      to: 'playing'
  condition:
    - condition: state
      entity_id: light.hue_color_1_voor
      state: 'on'
  action:
      service: scene.turn_on
      entity_id: scene.woonkamer_Moviedim

And the scenes:

- name: Woonkamer Normaal
  entities:
    light.hue_color_1_voor:
      state: on
      transition: 4
      brightness: 170
      rgb_color: [173,124,56]
      color_temp: 445
    light.hue_color_2_haard:
      state: on
      transition: 4
      brightness: 138
      rgb_color: [173,124,56]
      color_temp: 445
    light.hue_color_3_achter:
      state: on
      transition: 4
      brightness: 177
      rgb_color: [173,124,56]
      color_temp: 445

- name: Woonkamer Moviedim
  entities:
    light.hue_color_1_voor:
      state: on
      transition: 4
      brightness: 80
      rgb_color: [173,124,56]
      color_temp: 445
    light.hue_color_2_haard:
      state: on
      transition: 4
      brightness: 76
      rgb_color: [173,124,56]
      color_temp: 445
    light.hue_color_3_achter:
      state: on
      transition: 4
      brightness: 95
      rgb_color: [173,124,56]
      color_temp: 445

- name: Woonkamer Moviepaused
  entities:
    light.hue_color_1_voor:
      state: on
      transition: 2
      brightness: 95
      rgb_color: [173,124,56]
      color_temp: 445
    light.hue_color_2_haard:
      state: on
      transition: 2
      brightness: 91
      rgb_color: [173,124,56]
      color_temp: 445
    light.hue_color_3_achter:
      state: on
      transition: 2
      brightness: 110
      rgb_color: [173,124,56]
      color_temp: 445

- name: Woonkamer AfterMoviedim
  entities:
    light.hue_color_1_voor:
      state: on
      transition: 4
      brightness: 100
      rgb_color: [173,124,56]
      color_temp: 445
    light.hue_color_2_haard:
      state: on
      transition: 4
      brightness: 96
      rgb_color: [173,124,56]
      color_temp: 445
    light.hue_color_3_achter:
      state: on
      transition: 4
      brightness: 115
      rgb_color: [173,124,56]
      color_temp: 445
1 Like

Nice automation @PuckStar, will keep that in mind for the future, for now I will keep it simple.

The main reason for the Kodi automation is to reset my Kodi Hue Ambilight bulbs to the default setting when the movie is finished.
The Kodi Hue Theater function is not smart enough to do both things the right way :slight_smile: