Skip to content

piklz/script.kodi.lifx.ambilight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lifx (Ambilight) Addon for Kodi

A Kodi add-on that controls Lifx lights. In Theater mode the add-on dims the Lifx lights as soon as a movie starts playing, and turns the lights back to original settings once the movie is done. Ambilight mode turns your Lifx lights in a room-sized Ambilight.

Ambilight creates light effects around the television that correspond to the video content. Philips claims that a "more immersive viewing experience" can result. Ambilight is a lighting system that actively adjusts both brightness and color based upon picture content. Integrated into the television cabinet, Ambilight technology is aimed to enable the viewer to see more picture detail, contrast and color while eliminating on-screen reflections.

Ambilight technology works by projecting light from the rear of the TV cabinet in a very wide range of colors, shades and intensities. Viewers can choose to have Ambilight follow the color and brightness of the programme content – automatically changing with the colors on the screen

Features

  • Fully customizable
    • Select All lights or a Group of lights.
    • Override brightness/hue/saturation for different states in Ambilight mode - playback started/resumed and paused.
    • Option to forcefully turn on or ignore lights which are powered off (not switched off)
    • Option to flash lights once on discovery
    • Option to disable the Theater/Ambilight mode for short videos
      • Option to customize what is considered a short video
    • Experimental: Option to undim lights when credits start rolling. (Uses ChapterDB.org)
      • Option to delay the credits start time.
      • Does not always work, may ruin your movie-watching experience
    • Restore the lights to original states (color and power) when movie stops.
  • 2 Modes for your Lifx powered media center room
    • Theatre Mode
      • Dim or Turn off the lights when Movie starts playing
      • Undim or Turn on the lights when you pause the movie
      • Return the lights to original settings when Movie ends.
      • Option to configure Fading time to be proportional to the current brightness. (e.g. take 7 seconds to change brightness from 100% to 30%, while taking 5 seconds to change from 50% to 0%)
    • Ambilight Mode
      • Option to Dim the lights when Movie starts playing
      • Option to change minimum and maximum brightness

Demo

Kodi + Lifx + Ambilight + Movie (LOTR) Test

[Kodi + Lifx + Ambilight + Movie (LOTR) Test] (http://www.youtube.com/watch?v=LZui0Ui4hTQ "Kodi + Lifx + Ambilight + Movie (LOTR) Test")

Kodi (XBMC) + Lifx + Ambilight + Video Test

[Kodi (XBMC) + Lifx + Ambilight + Video Test] (http://www.youtube.com/watch?v=UbWo8LaXDlE "Kodi (XBMC) + Lifx + Ambilight + Video Test")

Other Ambient Lighting Demo

Kodi Philips hue Ambilight mode Kodi und Hue Philips Hue Kodi Ambilight Color Demo using two Hue Blooms - 4k Kodi + Philips hue Kodi with Hue ambilight

Addon Information

Addon Information

Addon Settings

Addon Settings - Main Addon Settings - Theater - 1 Addon Settings - Theater - 2 Addon Settings - Ambilight - 1 Addon Settings - Ambilight - 2 Addon Settings - Advance

Installation

  • Download the add-on as a ZIP file from the top of this page
    • (Right click on the "ZIP" icon and select "Download Linked File")
  • Open Kodi
  • Go to System -> Settings -> Add-ons -> Install from zip file
  • Restart Kodi and configure the add-on:
  • System -> Settings -> Add-ons -> Enabled add-ons -> Services -> Lifx Ambilight
  • Configure available settings.

Settings for specific Use cases

I have 3 (color/white) ceiling bulbs, 2 color bulbs behind the TV in my living room, and 4 more bulbs in my bedroom/bathroom. Would it be possible to set it up so that the 3 ceiling bulbs would dim (theater mode), use the 2 color lamps behind TV as ambilight, and don't use the 4 bulbs in bedroom/bathroom at all?

  • From your lifx app
    1. Add the 3 ceiling bulbs to a separate group (e.g. theater)
    2. Add the 2 color lamps behind TV to a separate group (e.g. ambilight)
  • Now from addon settings
    1. In the main settings, select the mode as Ambilight mode and enable for group of lights instead of All lights and use the group name from previous steps (e.g. ambilight lamps).
    2. In the Ambilight settings - enable Dim before playback for group of lights and use appropriate group name (e.g. theater).

Issues

Raspberry Pi users:

  • Save the add-on configuration by exiting Kodi before shutting down the Pi completely Ambilight mode doesn't work on a Raspberry Pi due to the way it renders video

ARM based devices/Nexus Player/Any other Android devices:

  • Try disabling Mediacodec (Surface) in Settings > Video> Acceleration. This seems to fix the problem. Reference

Other issues:

  • Please use Github issue tracker for reporting new issues.

Credits

Pingbacks

Analytics

About

Kodi add-on for Lifx lights with ambilight support.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%