♾ Sensor Light Add On - Media & Movie Lights - House Alarm Lights - Smoke Alarm Lights & Exhaust Fans + More

Looks like it indeed was a ‘case sensitive’ issue. Thanks again!

Looking forward to the script update. Thank you.

Nice one :+1:

Okay

Blacky :smiley:

New Update - Version 1.9

Lights, Camera, Action! Get ready to grab the popcorn because it’s movie time with a touch of cinematic magic! :clapper::sparkles:

New Feature :new:

  • End Turn ON - You can now select scripts. If you are using a script in the Sensor Light Blueprint this allows you to use the same script when using the automation link option.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

Super awesome as always. A few nitpicks about the awesome app feature (mostly just proper app labeling):

  • If the app is for an Apple TV, rename it to “Apple TV”. (E.g. Plex - Apple TV) vs just “Apple” as that’s not always specific enough.
  • HBO Max is now just officially “Max”
  • I’m not sure what the plain “Apple TV” in the app list refers to? Do you mean “Apple TV+” the streaming service? That app is on other platforms too, so I would relabel it to “Apple TV+ - Apple TV” to be clearer
  • Maybe use ( ) around the media player platform name? “Apple TV+ - Apple TV” looks a bit messy. “Apple TV+ (Apple TV)” I think looks better.

Thanks for your suggestions.

Blacky :smiley:

New Update - Version 2.0

Lights, Camera, Action! Get ready to grab the popcorn because it’s movie time with a touch of cinematic magic! :clapper::sparkles:

New Feature :new:

  • Intermission - Trigger State - You can now select idle from the drop down list.

Maintenance :toolbox:

  • The APP Option - Cleaned up selections in the drop down to make it clearer from feedback given.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

Awesome thanks! Just one question…what app is “Apple TV & TV+” though?

Apple TV = The physical black puck that runs tvOS
Apple TV+ = The streaming TV service for movies/TV shows

I think it should read “Apple TV+ (Apple TV)” to remain consistent with the rest of the list, assuming you mean Apple’s streaming service app when using the physical Apple TV black box.

Because it is Apple TV (The physical black puck that runs tvOS) we don’t need to say it is Apple TV like this ‘Apple TV & TV+ (Apple TV)’. In apple TV you go into the app ‘Apple TV’ inside that app you can play your movies or anything you purchased etc. You can also select Apple TV+. It is all the same app app_id. So there are 2 parts to the app.

Hope this make scene

Blacky :smiley:

I’ve some apple tv additions for anyone who needs them:

            - label: Disney+ (Apple TV)
              value: com.disney.disneyplus
            - label: Infuse (Apple TV)
              value: com.firecore.infuse
            - label: Jellyfin (Apple TV)
              value: com.jellyfin.swiftfin

Hello
I love the idea in this automation. I don’t have separate lights to turn on, I’m just looking to dim the same lights. But I can’t seem to get it to work. Whenever I pause, the lights turn off rather than going to the intermission star or snapshot. Any help?

alias: Movie transitions
description: ""
use_blueprint:
  path: Blackshome/sensor-light-add-on.yaml
  input:
    trigger_bypass: input_boolean.movie_mode
    light_switch:
      entity_id:
        - light.living_room_side_lights
    include_light_control:
      - use_brightness
      - use_colour_temperature
      - use_transition
    light_brightness: 28
    light_transition_on: 3
    light_transition_off: 2
    include_intermission: intermission_disable
    intermission_state:
      - paused
      - idle
    trigger_entities:
      - media_player.jellyfin_lg_smart_tv
    intermission_include_light_control:
      - use_brightness
      - use_colour_temperature
    intermission_light_brightness: 80
    intermission_light_colour_temperature: 4000
    light_colour_temperature: 3500
    include_end_turn_on: enable_end_turn_on_snapshot
    intermission_light_switch:
      entity_id: light.living_room_side_lights_old
    end_snapshot_helper: input_boolean.movie_snapshot_helper
    end_light_switch:
      entity_id: light.living_room_side_lights_old
    end_include_light_control:
      - use_brightness
      - use_colour_temperature
    end_light_brightness: 80
    end_light_colour_temperature: 6100
    end_light_transition_on: 4
    include_automation_link: disable_automation_link
    automation_link: []
    include_sun: sun_enabled
    include_bypass: bypass_disabled
    trigger_off_state:
      - standby
      - paused
    trigger_on_state:
      - playing
    end_snapshot_name: lights_before_movie
    ambient_light_value: 20
    ambient_light_options: ambient_light_option_enabled
    time_delay: 0.5
    include_start_turn_off: enable_start_turn_off

@geozza

Welcome to the community :wave:

Your have ‘paused’ in your ‘Trigger - OFF State’, please remove it from there and only have it in ‘Intermission - Trigger State’. Hope you can see the conflict.

Let us know how you go.

Blacky :smiley:

Hiya.

Thanks for the quick response. I adjusted that this evening to have the off state as standby (a state my media player doesn’t give), but it seems whenever I have have the intermission enabled, the lights turn off when paused. The lights also don’t seem at any point to return to a before movie state with the snapshot.

Please forgive my ignorance. I’m doing my best haha


alias: Movie transitions
description: ""
use_blueprint:
  path: Blackshome/sensor-light-add-on.yaml
  input:
    trigger_bypass: input_boolean.movie_mode
    light_switch:
      entity_id:
        - light.living_room_side_lights
    include_light_control:
      - use_brightness
      - use_colour_temperature
      - use_transition
    light_brightness: 28
    light_transition_on: 3
    light_transition_off: 2
    include_intermission: intermission_enable
    intermission_state:
      - paused
      - idle
    trigger_entities:
      - media_player.jellyfin_lg_smart_tv
    intermission_include_light_control:
      - use_brightness
      - use_colour_temperature
    intermission_light_brightness: 80
    intermission_light_colour_temperature: 4000
    light_colour_temperature: 3500
    include_end_turn_on: enable_end_turn_on_snapshot
    intermission_light_switch:
      entity_id: light.living_room_side_lights_old
    end_snapshot_helper: input_boolean.movie_snapshot_helper
    end_light_switch:
      entity_id: light.living_room_side_lights_old
    end_include_light_control:
      - use_brightness
      - use_colour_temperature
    end_light_brightness: 80
    end_light_colour_temperature: 5000
    end_light_transition_on: 4
    include_automation_link: disable_automation_link
    automation_link: []
    include_sun: sun_enabled
    include_bypass: bypass_disabled
    trigger_off_state:
      - standby
    trigger_on_state:
      - playing
    end_snapshot_name: lights_before_movie
    ambient_light_value: 20
    ambient_light_options: ambient_light_option_enabled
    time_delay: 0.5
    include_start_turn_off: enable_start_turn_off

@geozza

This is really important, you need to see what state your ‘media_player.jellyfin_lg_smart_tv’ provides. Looks like you know how to see what the state it is in but just encase you are unsure go into developer tools and search for your media player, then play a move, pause it, cancel it, stop it, etc and see what states it provides. It is case sensitive so you have to copy it exactly to what is provided. Then you can add your states in buy typing it and hitting enter and you should see your state is added. Then remove any state your media (TV) doesn’t provide.

I have also noted that you have 2 different entities for your lights, it is probably correct but just checking.

  • light.living_room_side_lights
  • light.living_room_side_lights_old

The states are critical for it to work correctly.

Please let us know how you go and if you still can’t work it out we will get there in the end… happy to help.

Blacky :smiley:

My Google 4K Chromecast App list.

New Update - Version 2.1

Lights, Camera, Action! Get ready to grab the popcorn because it’s movie time with a touch of cinematic magic! :clapper::sparkles:

Maintenance :toolbox:

  • Update the description in “Lights - Switches - Scenes”, “Start Turn OFF - Lights - Switches”, “Intermission - Lights - Switches - Scenes” and “End Turn ON - Lights - Switches - Scenes - Scripts” to include the new option to select “labels”. The updated description should read:

    NOTE: Only entities can be used. Areas, devices, and labels are not supported.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

Can a separation for movies and TV shows be added for plex purposes? I only want to activate my movie lights when we are watching a movie. not a tv show.

1 Like

@Robert_Shed

If you can go into developer tools and search for your Plex media entity. Then Play a movie and take a screen shot of it and then watch a TV show and take a screen shot of it and post them here and I will see what we can do and if it can be done.

Blacky :smiley:

1 Like

I would also love to see this feature added, but I use kodi for this. I hope this can be done for it too.
Movie:

TV-Show:

@PeterFly

Welcome to the community :wave:

For your kodi follow this.

If you look at what you have you will see “media_content_type:” and then movie & video. Chose what you would like… see below.

For Movie = In the “Use The APP Option (Optional)” just type the word ‘movie’ all lower case an not the ‘’ just the word movie and hit enter.

For TV-Show = In the “Use The APP Option (Optional)” just type the word ‘video’ all lower case an not the ‘’ just the word video and hit enter.

Let us know if this works for you.

Blacky :smiley:

1 Like

For the TV:

For the movies: