New Ambient Lighting system - no knowledge | Page 11

Discussion in 'Ambient Lighting System' started by The_Stig, December 3, 2015.

  1. Lightning303
    • Premium Supporter

    Lightning303 MP Donator

    Joined:
    September 12, 2009
    Messages:
    798
    Likes Received:
    384
    Gender:
    Male
    Ratings:
    +578 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Nah.



    Logs look weird. Never seen it like that before. Im gonna hop on IRC.
     
    • Thank You! Thank You! x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Rick164
    • Super User

    Rick164 Super User

    Joined:
    January 7, 2006
    Messages:
    1,335
    Likes Received:
    918
    Ratings:
    +1,359 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Will be on IRC as well, seems enabled in Mediaportal according to config but no mention of AtmoLight of Hyperion in logs which definitely is weird.
     
    • Thank You! Thank You! x 1
  4. The_Stig
    • Premium Supporter

    The_Stig Retired Team Member

    Joined:
    April 5, 2005
    Messages:
    2,176
    Likes Received:
    288
    Ratings:
    +426 / 5
    Hrm...still struggling...tried a bit around with the help of @Lightning303 and @Rick164 but still no luck.

    Current investigations lets me think the China-PSU is defective. Would this be likely for this kind of error? Gotta search for a better one...
     
  5. The_Stig
    • Premium Supporter

    The_Stig Retired Team Member

    Joined:
    April 5, 2005
    Messages:
    2,176
    Likes Received:
    288
    Ratings:
    +426 / 5
    Wiring should be ok, or? See pictures attached. What makes it a bit troublesome is that the wiring colours of the LED strip doesnt seem to very logical.
     

    Attached Files:

    • IMG_1813.JPG
      IMG_1813.JPG
      File size:
      485.6 KB
      Uploaded:
      January 9, 2016
      Views:
      50
    • IMG_1814.JPG
      IMG_1814.JPG
      File size:
      648.2 KB
      Uploaded:
      January 9, 2016
      Views:
      49
    • IMG_1815.JPG
      IMG_1815.JPG
      File size:
      619.6 KB
      Uploaded:
      January 9, 2016
      Views:
      49
    • IMG_1816.JPG
      IMG_1816.JPG
      File size:
      604.8 KB
      Uploaded:
      January 9, 2016
      Views:
      47
    • IMG_1817.JPG
      IMG_1817.JPG
      File size:
      737.1 KB
      Uploaded:
      January 9, 2016
      Views:
      46
  6. Lightning303
    • Premium Supporter

    Lightning303 MP Donator

    Joined:
    September 12, 2009
    Messages:
    798
    Likes Received:
    384
    Gender:
    Male
    Ratings:
    +578 / 0
    Home Country:
    Germany Germany
    Show System Specs
    In most cases the problem is not the hardware. Why do you think the psu is faulty? Have you meassured voltages?
    What is the current problem? Best if you attach pictures of what the leds are showing and what is expected.
     
  7. The_Stig
    • Premium Supporter

    The_Stig Retired Team Member

    Joined:
    April 5, 2005
    Messages:
    2,176
    Likes Received:
    288
    Ratings:
    +426 / 5
    Simple reason: the psu has a blue light indicating that its powered. This light goes off sometimes when chaniging colours. Will try to do a proper shooting later this day.
     
  8. The_Stig
    • Premium Supporter

    The_Stig Retired Team Member

    Joined:
    April 5, 2005
    Messages:
    2,176
    Likes Received:
    288
    Ratings:
    +426 / 5
    So, more infos, still the same situation as yesterday, even with the new hyperion version installed, thanks to @Rick164.

    I now guess its the PSU too, but not only, as I have a stable blue light on the PSU currently. Gotta exchange it as its too risky for me. Any recommondations? I don't want a PSU making a noise when its not under full load. Can I use an old Notebook-PSU, see next pic, but I guess its too powerful?!?
    IMG_1818.JPG

    And a few pictures what is happening currently. Only tried with hyperion webremote. Hopefully the pictures will be recognizable.

    - Colour changing doesn't really work. If I change something in remote control to e.g. blue, LEDs on strip changes colour but all different, some totally off.
    - Effects are working quite a bit.
    Knight rider makes the first 14 LEDs to red and blinking around. Guess this is ok, but what about the rest of the LEDs. They stay in the old colours.
    IMG_1819.JPG

    Strobe white is giving full white on all LEDs.
    IMG_1820.JPG

    Strobe blue is giving red on first 24 LEDs, rest of the LEDs stay unchanged.
    IMG_1821.JPG

    I am absolutely puzzled and don't know how to move on. Happy for every suggestion and hanging around on IRC as much as I can...

    EDIT: Shall I drop Openelec and go for Raspian? And has anyone looked at my pictures with the connections if its all correct this way?
     
  9. Rick164
    • Super User

    Rick164 Super User

    Joined:
    January 7, 2006
    Messages:
    1,335
    Likes Received:
    918
    Ratings:
    +1,359 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    For PSU would expect different results like it intermittent colors instead of being able to do full white (which draws the max), the notebook PSU is 19V so that will blow up the leds and would need something with 5V like a phone charge for instance.
    What type / brand of PSU are you using at the moment?

    OpenElec should be fine, for testing you can go for Raspian and should be these steps in an SSH session:

    Code (Text):
    1.  
    2. rpi-update
    3. reboot
    4. apt-get update
    5. apt-get upgrade
    6. apt-get install libqtcore4 libqtgui4 libqt4-network libusb-1.0-0 libprotobuf7 ca-certificates
    7. wget -N https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh
    8. sh ./install_hyperion.sh
    You can update Hyperion for APA102 later but that fix is only for the last led bug so would skip it for now as would first try to get the other issue sorted :)

    Could you attach the Hyperion config just in case something is off in it?
     
    • Thank You! Thank You! x 1
  10. The_Stig
    • Premium Supporter

    The_Stig Retired Team Member

    Joined:
    April 5, 2005
    Messages:
    2,176
    Likes Received:
    288
    Ratings:
    +426 / 5
    Hyperion config:
    Code (Text):
    1. // Automatically generated configuration file for 'Hyperion daemon'
    2. // Generated by: HyperCon (The Hyperion deamon configuration file builder
    3.  
    4. {
    5.     /// Device configuration contains the following fields:
    6.     /// * 'name'       : The user friendly name of the device (only used for display purposes)
    7.     /// * 'type'       : The type of the device or leds (known types for now are 'ws2801', 'ldp8806',
    8.     ///                  'lpd6803', 'sedu', 'adalight', 'lightpack', 'test' and 'none')
    9.     /// * 'output'     : The output specification depends on selected device. This can for example be the
    10.     ///                  device specifier, device serial number, or the output file name
    11.     /// * 'rate'       : The baudrate of the output to the device
    12.     /// * 'colorOrder' : The order of the color bytes ('rgb', 'rbg', 'bgr', etc.).
    13.     "device" :
    14.     {
    15.         "name"       : "MyPi",
    16.         "type"       : "apa102",
    17.         "output"     : "/dev/spidev0.0",
    18.         "rate"       : 250000,
    19.         "colorOrder" : "bgr"
    20.     },
    21.  
    22.     /// Color manipulation configuration used to tune the output colors to specific surroundings.
    23.     /// The configuration contains a list of color-transforms. Each transform contains the
    24.     /// following fields:
    25.     ///  * 'id'   : The unique identifier of the color transformation (eg 'device_1')    ///  * 'leds' : The indices (or index ranges) of the leds to which this color transform applies
    26.     ///             (eg '0-5, 9, 11, 12-17'). The indices are zero based.    ///  * 'hsv' : The manipulation in the Hue-Saturation-Value color domain with the following
    27.     ///            tuning parameters:
    28.     ///            - 'saturationGain'  The gain adjustement of the saturation
    29.     ///            - 'valueGain'       The gain adjustement of the value
    30.     ///  * 'red'/'green'/'blue' : The manipulation in the Red-Green-Blue color domain with the
    31.     ///                           following tuning parameters for each channel:
    32.     ///            - 'threshold'       The minimum required input value for the channel to be on
    33.     ///                                (else zero)
    34.     ///            - 'gamma'           The gamma-curve correction factor
    35.     ///            - 'blacklevel'      The lowest possible value (when the channel is black)
    36.     ///            - 'whitelevel'      The highest possible value (when the channel is white)
    37.     ///
    38.     /// Next to the list with color transforms there is also a smoothing option.
    39.     ///  * 'smoothing' : Smoothing of the colors in the time-domain with the following tuning
    40.     ///                  parameters:
    41.     ///            - 'type'            The type of smoothing algorithm ('linear' or 'none')
    42.     ///            - 'time_ms'         The time constant for smoothing algorithm in milliseconds
    43.     ///            - 'updateFrequency' The update frequency of the leds in Hz
    44.     "color" :
    45.     {
    46.         "transform" :
    47.         [
    48.             {
    49.                 "id"   : "default",
    50.                 "leds" : "*",
    51.                 "hsv" :
    52.                 {
    53.                     "saturationGain" : 1.2000,
    54.                     "valueGain"      : 1.2000
    55.                 },
    56.                 "red" :
    57.                 {
    58.                     "threshold"  : 0.1000,
    59.                     "gamma"      : 2.0000,
    60.                     "blacklevel" : 0.0000,
    61.                     "whitelevel" : 1.0000
    62.                 },
    63.                 "green" :
    64.                 {
    65.                     "threshold"  : 0.1000,
    66.                     "gamma"      : 2.0000,
    67.                     "blacklevel" : 0.0000,
    68.                     "whitelevel" : 1.0000
    69.                 },
    70.                 "blue" :
    71.                 {
    72.                     "threshold"  : 0.1000,
    73.                     "gamma"      : 2.0000,
    74.                     "blacklevel" : 0.0000,
    75.                     "whitelevel" : 1.0000
    76.                 }
    77.             }
    78.         ],
    79.         "smoothing" :
    80.         {
    81.             "type"            : "linear",
    82.             "time_ms"         : 100,
    83.             "updateFrequency" : 25.0000
    84.         }
    85.     },
    86.  
    87.     ///  The configuration for each individual led. This contains the specification of the area
    88.     ///  averaged of an input image for each led to determine its color. Each item in the list
    89.     ///  contains the following fields:
    90.     ///  * index: The index of the led. This determines its location in the string of leds; zero
    91.     ///           being the first led.
    92.     ///  * hscan: The fractional part of the image along the horizontal used for the averaging
    93.     ///           (minimum and maximum inclusive)
    94.     ///  * vscan: The fractional part of the image along the vertical used for the averaging
    95.     ///           (minimum and maximum inclusive)
    96.     "leds" :
    97.     [
    98.         {
    99.             "index" : 0,
    100.             "hscan" : { "minimum" : 0.0000, "maximum" : 0.0313 },
    101.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    102.         },
    103.         {
    104.             "index" : 1,
    105.             "hscan" : { "minimum" : 0.0313, "maximum" : 0.0625 },
    106.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    107.         },
    108.         {
    109.             "index" : 2,
    110.             "hscan" : { "minimum" : 0.0625, "maximum" : 0.0938 },
    111.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    112.         },
    113.         {
    114.             "index" : 3,
    115.             "hscan" : { "minimum" : 0.0938, "maximum" : 0.1250 },
    116.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    117.         },
    118.         {
    119.             "index" : 4,
    120.             "hscan" : { "minimum" : 0.1250, "maximum" : 0.1563 },
    121.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    122.         },
    123.         {
    124.             "index" : 5,
    125.             "hscan" : { "minimum" : 0.1563, "maximum" : 0.1875 },
    126.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    127.         },
    128.         {
    129.             "index" : 6,
    130.             "hscan" : { "minimum" : 0.1875, "maximum" : 0.2188 },
    131.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    132.         },
    133.         {
    134.             "index" : 7,
    135.             "hscan" : { "minimum" : 0.2188, "maximum" : 0.2500 },
    136.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    137.         },
    138.         {
    139.             "index" : 8,
    140.             "hscan" : { "minimum" : 0.2500, "maximum" : 0.2813 },
    141.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    142.         },
    143.         {
    144.             "index" : 9,
    145.             "hscan" : { "minimum" : 0.2813, "maximum" : 0.3125 },
    146.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    147.         },
    148.         {
    149.             "index" : 10,
    150.             "hscan" : { "minimum" : 0.3125, "maximum" : 0.3438 },
    151.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    152.         },
    153.         {
    154.             "index" : 11,
    155.             "hscan" : { "minimum" : 0.3438, "maximum" : 0.3750 },
    156.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    157.         },
    158.         {
    159.             "index" : 12,
    160.             "hscan" : { "minimum" : 0.3750, "maximum" : 0.4063 },
    161.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    162.         },
    163.         {
    164.             "index" : 13,
    165.             "hscan" : { "minimum" : 0.4063, "maximum" : 0.4375 },
    166.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    167.         },
    168.         {
    169.             "index" : 14,
    170.             "hscan" : { "minimum" : 0.4375, "maximum" : 0.4688 },
    171.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    172.         },
    173.         {
    174.             "index" : 15,
    175.             "hscan" : { "minimum" : 0.4688, "maximum" : 0.5000 },
    176.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    177.         },
    178.         {
    179.             "index" : 16,
    180.             "hscan" : { "minimum" : 0.5000, "maximum" : 0.5313 },
    181.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    182.         },
    183.         {
    184.             "index" : 17,
    185.             "hscan" : { "minimum" : 0.5313, "maximum" : 0.5625 },
    186.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    187.         },
    188.         {
    189.             "index" : 18,
    190.             "hscan" : { "minimum" : 0.5625, "maximum" : 0.5938 },
    191.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    192.         },
    193.         {
    194.             "index" : 19,
    195.             "hscan" : { "minimum" : 0.5938, "maximum" : 0.6250 },
    196.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    197.         },
    198.         {
    199.             "index" : 20,
    200.             "hscan" : { "minimum" : 0.6250, "maximum" : 0.6563 },
    201.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    202.         },
    203.         {
    204.             "index" : 21,
    205.             "hscan" : { "minimum" : 0.6563, "maximum" : 0.6875 },
    206.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    207.         },
    208.         {
    209.             "index" : 22,
    210.             "hscan" : { "minimum" : 0.6875, "maximum" : 0.7188 },
    211.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    212.         },
    213.         {
    214.             "index" : 23,
    215.             "hscan" : { "minimum" : 0.7188, "maximum" : 0.7500 },
    216.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    217.         },
    218.         {
    219.             "index" : 24,
    220.             "hscan" : { "minimum" : 0.7500, "maximum" : 0.7813 },
    221.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    222.         },
    223.         {
    224.             "index" : 25,
    225.             "hscan" : { "minimum" : 0.7813, "maximum" : 0.8125 },
    226.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    227.         },
    228.         {
    229.             "index" : 26,
    230.             "hscan" : { "minimum" : 0.8125, "maximum" : 0.8438 },
    231.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    232.         },
    233.         {
    234.             "index" : 27,
    235.             "hscan" : { "minimum" : 0.8438, "maximum" : 0.8750 },
    236.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    237.         },
    238.         {
    239.             "index" : 28,
    240.             "hscan" : { "minimum" : 0.8750, "maximum" : 0.9063 },
    241.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    242.         },
    243.         {
    244.             "index" : 29,
    245.             "hscan" : { "minimum" : 0.9063, "maximum" : 0.9375 },
    246.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    247.         },
    248.         {
    249.             "index" : 30,
    250.             "hscan" : { "minimum" : 0.9375, "maximum" : 0.9688 },
    251.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    252.         },
    253.         {
    254.             "index" : 31,
    255.             "hscan" : { "minimum" : 0.9688, "maximum" : 1.0000 },
    256.             "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 }
    257.         }
    258.     ],
    259.  
    260.     /// The black border configuration, contains the following items:
    261.     ///  * enable    : true if the detector should be activated
    262.     ///  * threshold : Value below which a pixel is regarded as black (value between 0.0 and 1.0)
    263.     "blackborderdetector" :
    264.     {
    265.         "enable" : true,
    266.         "threshold" : 0.01
    267.     },
    268.  
    269.     /// The configuration of the effect engine, contains the following items:
    270.     ///  * paths        : An array with absolute location(s) of directories with effects
    271.     ///  * bootsequence : The effect selected as 'boot sequence'
    272.     "effects" :
    273.     {
    274.         "paths" :
    275.         [
    276.             "/storage/hyperion/effects"
    277.         ]
    278.     },
    279.  
    280. //     "bootsequence" :
    281. //     {
    282. //         "effect" : "Rainbow swirl fast",
    283. //         "duration_ms" : 3000
    284. //     },
    285.  
    286.     ///  The configuration for the frame-grabber, contains the following items:
    287.     ///   * width        : The width of the grabbed frames [pixels]
    288.     ///   * height       : The height of the grabbed frames [pixels]
    289.     ///   * frequency_Hz : The frequency of the frame grab [Hz]
    290.     "framegrabber" :
    291.     {
    292.         "width" : 64,
    293.         "height" : 64,
    294.         "frequency_Hz" : 10.0
    295.     },
    296.  
    297.     /// The configuration of the XBMC connection used to enable and disable the frame-grabber. Contains the following fields:
    298.     ///  * xbmcAddress       : The IP address of the XBMC-host
    299.     ///  * xbmcTcpPort       : The TCP-port of the XBMC-server
    300.     ///  * grabVideo         : Flag indicating that the frame-grabber is on(true) during video playback
    301.     ///  * grabPictures      : Flag indicating that the frame-grabber is on(true) during picture show
    302.     ///  * grabAudio         : Flag indicating that the frame-grabber is on(true) during audio playback
    303.     ///  * grabMenu          : Flag indicating that the frame-grabber is on(true) in the XBMC menu
    304.     ///  * grabScreensaver   : Flag indicating that the frame-grabber is on(true) when XBMC is on screensaver
    305.     ///  * enable3DDetection : Flag indicating that the frame-grabber should switch to a 3D compatible modus if a 3D video is playing
    306.     "xbmcVideoChecker" :
    307.     {
    308.         "xbmcAddress" : "127.0.0.1",
    309.         "xbmcTcpPort" : 9090,
    310.         "grabVideo" : false,
    311.         "grabPictures" : false,
    312.         "grabAudio" : false,
    313.         "grabMenu" : false,
    314.         "grabScreensaver" : false,
    315.         "enable3DDetection" : false
    316.     },
    317.  
    318.     /// The configuration of the Json server which enables the json remote interface
    319.     ///  * port : Port at which the json server is started
    320.     "jsonServer" :
    321.     {
    322.         "port" : 19444
    323.     },
    324.  
    325.     /// The configuration of the Proto server which enables the protobuffer remote interface
    326.     ///  * port : Port at which the protobuffer server is started
    327.     "protoServer" :
    328.     {
    329.         "port" : 19445
    330.     },
    331.  
    332.     /// The configuration of the boblight server which enables the boblight remote interface
    333.     ///  * port : Port at which the boblight server is started
    334. //     "boblightServer" :
    335. //     {
    336. //         "port" : 19333
    337. //     },
    338.  
    339.     "endOfJson" : "endOfJson"
    340. }
    341.  
     
  11. The_Stig
    • Premium Supporter

    The_Stig Retired Team Member

    Joined:
    April 5, 2005
    Messages:
    2,176
    Likes Received:
    288
    Ratings:
    +426 / 5
    And my PSU is a no-name 5V-10A I ordered from AliExpress...
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!