AtmoHue - BETA - Philips Hue support for AtmoLight & AtmoWin (1 Viewer)

killer8

Portal Pro
July 29, 2012
378
186
Home Country
Netherlands Netherlands
Did some more testing with the new color calculation and it seems much better. For example red is really red now instead of pink and dark blue is blue now like the blue on my TV instead of the washed out blue it was before. Well done!
 

skyli

New Member
December 22, 2014
9
2
Home Country
Hungary Hungary
Hi!

For me, setting brightness in test works, but when i try to set anything related to the colors, i got this exception:
FUOOvnJ.png

But setting the brightness works perfectly for all the bulbs. How could I solve this? Where can I find the log file?

Thank you very much! Happy Christmas! :)
 

Rick164

MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Hi,

    Could you send me your settings.xml which is located in the AtmoHue folder?
    Looks like it has an invalid value somewhere but hard to tell which, probably need to add some checks on a few fields to prevent this in the future :)
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Tried it with that settings file but not getting an error message, can you enable the debug log option in AtmoHue (general tab) and post the debug.log file afterwards?
    Also in the Testing tab when you press red green or blue does the same error popup?
     

    skyli

    New Member
    December 22, 2014
    9
    2
    Home Country
    Hungary Hungary
    Yes,anything related to color gives the same error. But I'm able to change the brightness fine.

    Debug log:

    [ 15:38:56.974116 ] - [ LOCAL ] Setting color #Color [Red] to Hue Bridge
    [ 15:38:58.897845 ] - System.FormatException: Nem megfelelő a bemeneti karakterlánc formátuma.
    a következő helyen: System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
    a következő helyen: AtmoHue.Form1.getRGBtoXY(Color c, DeviceType device)
    a következő helyen: AtmoHue.Form1.<hueSetColor>d__12.MoveNext()
    [ 15:40:04.638354 ] - [ LOCAL ] Completed sending brightness 4 to Hue Bridge
    [ 15:40:10.683786 ] - [ LOCAL ] Completed sending brightness 255 to Hue Bridge​

    In English, it says: "Inadequate input string format"
     
    Last edited:

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Looks like its related to the custom color calibration but can't reproduce it, attached is a sample XML config with only your LED devices added for testing.
    If that works I know where to look :)
     

    Attachments

    • settings.xml
      2 KB

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Correct, wanted to make sure it was not something setting related :)
    Added some debug functions in the attached AtmoHue version to see if we can pinpoint the exact cause, best to enable the debug log and attach that file after running.
     

    Attachments

    • AtmoHue_v0080.zip
      846.7 KB

    skyli

    New Member
    December 22, 2014
    9
    2
    Home Country
    Hungary Hungary
    Now it changes the bulbs color to blue (for every color - red and green too- , it changes to blue) without error mesage, but error in log file. If I press Clear/reset, then it turns off the lights.

    [ 16:18:39.218561 ] - [ LOCAL ] Setting color #Color [Red] to Hue Bridge
    [ 16:18:39.238580 ] - Error during RGB XY conversion: System.FormatException: Nem megfelelő a bemeneti karakterlánc formátuma.
    a következő helyen: System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
    a következő helyen: AtmoHue.Form1.getRGBtoXY(Color c, DeviceType device)
    [ 16:18:39.434777 ] - [ LOCAL ] Completed sending color Color [Red] to Hue Bridge
    [ 16:18:42.062121 ] - [ LOCAL ] Setting color #Color [Green] to Hue Bridge
    [ 16:18:42.064122 ] - Error during RGB XY conversion: System.FormatException: Nem megfelelő a bemeneti karakterlánc formátuma.
    a következő helyen: System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
    a következő helyen: AtmoHue.Form1.getRGBtoXY(Color c, DeviceType device)
    [ 16:18:42.067125 ] - [ LOCAL ] Completed sending color Color [Green] to Hue Bridge
    [ 16:18:43.401330 ] - [ LOCAL ] Setting color #Color [Black] to Hue Bridge
    [ 16:18:43.402330 ] - Error during RGB XY conversion: System.FormatException: Nem megfelelő a bemeneti karakterlánc formátuma.
    a következő helyen: System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
    a következő helyen: AtmoHue.Form1.getRGBtoXY(Color c, DeviceType device)
    [ 16:18:43.406330 ] - [ LOCAL ] Completed sending color Color [Black] to Hue Bridge
    [ 16:18:45.570281 ] - [ LOCAL ] Setting color #Color [Red] to Hue Bridge
    [ 16:18:45.572279 ] - Error during RGB XY conversion: System.FormatException: Nem megfelelő a bemeneti karakterlánc formátuma.
    a következő helyen: System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
    a következő helyen: AtmoHue.Form1.getRGBtoXY(Color c, DeviceType device)
    [ 16:18:45.573280 ] - [ LOCAL ] Completed sending color Color [Red] to Hue Bridge​
     

    Users who are viewing this thread

    Top Bottom