• 1
  • 20
  • 21
  • 22(current)
  • 23
  • 24
Release Philips Hue Service & Ambilight
(2019-06-24, 01:04)Snapcase Wrote: Hello,

I created this addon for my own use to adjust my lights based on Kodi. It can adjust lights based on playback options, and includes experimental support for Ambilight.

Requirements
  • Kodi 19 Matrix
  • Hue Bridge V2 (Square)

Installation
  1. Get Repo for auto-updates
  2. Install to Kodi from Zip 
  3. Install Hue Service from Snapcase Repo
  4. Adjust your Hue lights using the official or a 3rd party Hue app to the desired configuration
  5. Go to add-on settings and select "Create scene" to save your light set up.
  6. In video or audio actions, select your newly created scene to be applied when you play, pause or start media


Features:
  • Create and delete multi-room LightScenes
  • Adjust your light's colour and brightness
    • Optional transition time for scenes
    • Supports lights in multiple rooms or groups
    • Edit your scenes in 3rd party apps
  •    Apply selected scene on video or audio player actions
    • Can be disabled based on video type (Episode, Movie or music video) or duration
  • Ambilight Support
    • Lighting effects synced with on-screen action
    • Hardware decoding not supported with all hardware renderers
  •    Daylight detection
    • Uses Hue's sunrise and sunset settings
    • Disable during daylight hours
    • If sunset falls while watching media, optionally turn on lights
    • Add-on does nothing at sunset if there's no playback
  • Enable schedule
    • Set a start and end time at which the add-on should be enabled
    • Time in 24h format (Eg: 22:00, not 10:00 PM)
    • Disable during daylight setting takes precedence over active hours

Known Issues:
  • Does not support multiple bridges on your network
  • Ambilight is not supported on all hardware / render methods
  • Unofficial zigbee lights can be added, but may have inaccurate colours with ambilight

Problems?
Hi, I followed your steps, and the add-on installation failed. I am using Kodi 19 on the Nvidea Shield Pro.
Reply
Hi,

As of today, this add-on is now available in the official Kodi repo. I've updated the first post with this information. 

Maybe you could try again via the official repo, it should be more straightforward. If it still doesn't work, please make sure to include any error messages or logs
Reply
@Snapcase thank you very much for this addon!

Can you pls add a function for theather mode only for movies or tv shows?

So when a movie begin playing the lights will dim to 10%? And when movie stops the lights wil be undimmed?

Is that possible?

Thanks!
Reply
Hi @Pienoet 

You can already do this! Create 2 scenes via the app with the lights at 10% and one with the lights undimmed, and assign it to Play and Stop under Video Actions.

Under Video Activation, you can choose to only activate it for movies or TV shows, or set a minimum video length (eg. if you only want it to activate for shows that are an hour, but not for shorter shows)
Reply
Hi @Snapcase 

I would love to see your addon in action, but I cannot find my Hue bridge. Also entering the IP manually doesn't work. I did some research and found out that by checking "https://discovery.meethue.com/" I can find 8 different hue bridges. And only one of them has the right (my) internal IP address. I checked the logs and discovered that the process failed because the addon tries to connect to one of the wrong addresses. 

Do you see any solution here? 

Best
Hans
Reply
Hi @hansbrix75 

Its true that the script doesn't support more than one bridge, and I think it will just take the first one if it detects more than one. Do you really have several or is Hue's discovery thing the one bugging?

Anyways, manually entering your IP should work. Can you please tell me what happens when you do, and if not, provide logs?
Reply
Hi @Snapcase

thank you for your reply. I don't have multiple bridges, I have just one. While searching for a solution I found this: https://forum.nymea.io/t/hue-bridge-wrong-ip/356/2 . One answer says that this problem might be connected to "Vodafone in Germany which offer IPv6-only internet connections and then use a 6-to-4 NAT for a group of many customers to route them from their IPv6-only connection into the IPv4 internet. As they will all share the same public IPv4, the Hue servers think they’re all in the same LAN."

I will try again to enter the IP address manually and let you know in a few minutes.
Reply
Hi @Snapcase ,

here are the logs: https://paste.kodi.tv/nukesusaze.kodi

The IP Address is correctly displayed in the settings. But if I try to create scenes or choose lights it says "Bridge not configured".

Please let me know if you need additional information!
Reply
Hi @hansbrix75 

It looks like you manually set up the bridge IP but it also needs a bridge username. There's instructions on how to do that here using the built-in debug tool: https://developers.meethue.com/develop/get-started-2/, but it's a bit technical... 

I'll try and find the time to make a better solution to handle multiple bridges in the future, but I only have one bridge so it's something that's pretty hard for me to reproduce and test
Reply
Hi @Snapcase ,

Thank you for your answer and the link you provided. It's now working, and it was very easy for me to follow the steps.
I am looking forward to exploring your add-on!
Reply
Just found this gem of an add-on, works perfectly with my Ambilight setup, big thank you!
One little thing, if at all possible, would it be doable to have the option of turning a light off when using this add-on in the Ambilight mode, as it is now I can set the light to a minimum of 1%?
Reply
I do this myself, and you should be able to do that by setting the lights to off and then selecting it when you create a scene in the add-on. Basically do what you're already doing, but you should be able to just select a light that's set to off.
Reply
(2022-01-31, 01:37)Snapcase Wrote: I do this myself, and you should be able to do that by setting the lights to off and then selecting it when you create a scene in the add-on. Basically do what you're already doing, but you should be able to just select a light that's set to off.

That is what I do, and it works great, but I can only set it to start with movie playback and have the lights go back on when the movie stops. I was thinking if there was a way to implement it so that the lights go off when ambilight on the TV starts and lights go back on when ambilight stops?

The Ambilight and Hue control on the TV can only control 9 bulbs, so I set the colour bulbs to be handled by the TV and the rest of the lights go through this add-on, and it would be great if the TV Ambilight could control the on and off on the add-on as well. Still, if not possible, it works great as is already, thanks for your work.
Reply
Oh, I thought you were talking about the ambilight function in the app, not a TV. 

To answer your question, no. Unless its something controlled by Kodi there's no way to trigger it from an outside source.
Reply
(2022-02-06, 18:01)Snapcase Wrote: Oh, I thought you were talking about the ambilight function in the app, not a TV. 

To answer your question, no. Unless its something controlled by Kodi there's no way to trigger it from an outside source.

Thanks, yeah, I thought that would be the case, anyway I'm happy with how the add-on works as is.
Reply
  • 1
  • 20
  • 21
  • 22(current)
  • 23
  • 24

Logout Mark Read Team Forum Stats Members Help
Philips Hue Service & Ambilight0