Results 1 to 3 of 3
  • Topic Tools
  • Display
  • Bookmark and Share
  1. #1
    New Member
    Points: 53, Level: 1
    Level completed: 3%, Points required for next Level: 97
    Overall activity: 0%
    Achievements:
    New Achievement!7 days registered

    Join Date
    Mar 2014
    Posts
    3
    Points
    53
    Level
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question Desktop/Server app (SDK/Algorithm problem)

    It's not very convenient to run the app on a phone or tablet, I wanted to create a desktop app for the media center or a server app that can be controlled remotely (like enable ambilight+hue mode when you play video and restore configuration back automatically).

    I know that JointSpace API is available and there is SDK for hue control. I've tried to write a desktop app to copy the behavior of the mobile app and it even works (gets values from the TV, sends colors to lamps), however the algorithm used for the color conversion is not trivial at all.

    One tricky part is averaging ambilight values from the sides, another part is converting it to RGB and brightness levels for the lamps with smooth transitions. It appears that the code would depend on the actual lamp models.

    Are there any plans to release SDK with the functions used for the color manipulation or to open source the algorithm?
    It would really help the community to create desktop and server side applications that would provide more control and convenience for the users.

    P.S. I've tried to reuse some classes from Android code in the desktop app with little success. I can convert RGB values to XY values using the same "convertRGBtoXY_final" function that Android app, but I have issues with brightness which is always at maximum level. Not sure if I'm doing something wrong or this bug is because of the poor binary code porting.

  2. #2
    New Member
    Points: 53, Level: 1
    Level completed: 3%, Points required for next Level: 97
    Overall activity: 0%
    Achievements:
    New Achievement!7 days registered

    Join Date
    Mar 2014
    Posts
    3
    Points
    53
    Level
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I've also asked this question on GitHub, and even developers cannot help with it:
    https://github.com/PhilipsHue/Philip...droid/issues/2 .

    Can anyone from the tpvision dev team provide a response?

  3. #3
    New Member
    Points: 53, Level: 1
    Level completed: 3%, Points required for next Level: 97
    Overall activity: 0%
    Achievements:
    New Achievement!7 days registered

    Join Date
    Mar 2014
    Posts
    3
    Points
    53
    Level
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I've released a cross-platform application that provides similar functionality to the mobile version:
    http://amip.tools-for.net/hambisync .

    It uses the same algorithm as Android version.

    You can run it on your HTPC or server and enable ambilight+hue automatically when video is played.

Similar Topics

  1. Can the B120 monitor be observed from a desktop computer?
    By bcbc in forum Apps: In.Sight Wireless Monitor and In.Sight App
    Replies: 1
    Last Post: 01-04-2013, 06:37 AM
  2. Can't stream from my desktop.
    By ivar in forum TV: Streaming & Network
    Replies: 9
    Last Post: 12-29-2011, 04:08 PM
  3. Is the NP3300 able to wake my desktop pc? (to send a magic paket)
    By babbaluba in forum Sound: Streamium NP Series (NP3900|NP3700|NP3500|NP3300|NP2900)
    Replies: 5
    Last Post: 12-01-2011, 12:21 PM
  4. bdp-3100/12 and WD Elements Desktop - 2 Tb
    By luckrm in forum Blu-ray: BDP2000 & 3000 Series
    Replies: 5
    Last Post: 10-13-2011, 12:24 PM
  5. watch tv and desktop at the same time
    By zoran in forum TV: User Interface
    Replies: 4
    Last Post: 01-12-2011, 10:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •