Jump to content
Posted

Deprecation of HTTP support

With the RED compliance being effective per 1st August, all firmware releases being released will no longer support HTTP. The Hue API should be accessed exclusively over TLS (HTTPS) to protect personal and sensitive information even better. Guidance on implementation can be found in our application design guidance.

  • Replies 3
  • Views 99
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I'm going to release a new version of PreShow, hopefully this weekend, with a solution that should take care of this issue. I have attached the updated python file that control actions with the potent

  • The way that they implemented the https is a bit strange. They require that the security certificate be passed to the hue prior to submitting the api web request. Getting the Hue lights to work in Pre

Featured Replies

  • Administrator

I'm going to release a new version of PreShow, hopefully this weekend, with a solution that should take care of this issue.

I have attached the updated python file that control actions with the potential fix. The file goes in your kodi addon directory in the following folder: script.preshowexperience > lib > preshowexperience

Below is a guide to where the kodi folder is. The addon folders is located inside of this, so add addons/script.preshowexperience/lib/preshowexperience to find the location where the action file goes.

Android

Android/data/org.xbmc.kodi/files/.kodi

Flatpak

~/.var/app/tv.kodi.Kodi/data

iOS

/private/var/mobile/Library/Preferences/Kodi

LibreELEC

/storage/.kodi

Linux

~/.kodi

Linux (Flatpak)

~/.var/app/tv.kodi.Kodi

macOS

/Users/<your_user_name>/Library/Application Support/Kodi

Nvidia Shield (SMB)

smb://<nvidiashieldurl>/internal/Android/data/org.xbmc.kodi/files/.kodi

OSMC

/home/osmc/.kodi

tvOS

/private/var/mobile/Library/Preferences/Kodi

WebOS

/media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi

Windows

C:\Users\<YourUsername>\AppData\Roaming\Kodi

Windows Portable

<Install location chosen by you>\portable_data

Windows Xbox

%LOCALAPPDATA%\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi\

If you don't know hot to copy the file to this location, please wait for the updated version of PreShow that will include the change.

actions.py

  • PreShow Supporter

Thanks Matt. Will this be a temporary fix until we figure out how to update the action files or can this be applied as a permanent fix?

  • Administrator

The way that they implemented the https is a bit strange. They require that the security certificate be passed to the hue prior to submitting the api web request.

Getting the Hue lights to work in PreShow is already difficult for most people. Even if I provide instructions for how to do it, I think it would end creating more confusion and get me into more tech support than I can handle for it.

My current solution should be considered temporary, but that may not change how to proceed. The issue is that the https link gives a security error, which is what PreShow will see instead of connecting to the bridge. The current fix is to ignore that error, so that the https works like a standard http link and passes calls to the bridge.

Ultimately, people will probably have to change the http to https in their action files. At some point I'll go in and see if I can add code into PreShow to handle passing the security certificate to make it easier for people. I'm not sure if that will require additional changes to your action files or not at this point.

Create an account or sign in to comment

Topics