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!
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
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?
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"
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
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.
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