1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

REQUEST Solid color in kodi menu

Discussion in 'Feature Requests' started by siz, 14 August 2016.

  1. siz

    siz New Member

    Messages:
    20
    Hardware:
    RPi2
    Hey,

    It would be nice to have a setting for solid color in kodi menu, when grabMenu is off.

    Watching video in the dark for best experience is nice, but a light in menus would help with the mood and eyes :)

    Sorry if this feature exists, can't seem to find it. Btw awesome job :D
     
  2. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    307
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    Set background-effect to Stativ color.

    Code:
        /// Initial Effect sets a "booteffect" or "color" (foreground-effect) and optional set a "effect" or "color" during inactive grabbers and network receivers (background-effect)
        ///  * background-effect      : 2 options: set a effect (example: ["Rainbow swirl fast"]) or set a color (RGB) (example: [255,134,0])
        ///  * background-effect-args : Set optional effect arguments (Have a look at the select effect to get the possible values), define it only when needed
        ///  * foreground-effect      : 2 options: set a effect (example: ["Rainbow swirl fast"]) or set a color (RGB) (example: [255,134,0])
        ///  * foreground-effect-args : Set optional effect arguments (Have a look at the select effect to get the possible values), define it only when needed
        ///  * foreground-duration_ms : The duration of the selected foreground-effect or color (0=endless)
        ///                       HINT: "foreground-effect" starts always with priority 0, so it blocks all remotes and grabbers if the loop is endless
        ///                       HINT: Set a empty value if you want to disable a component (example: "")
     
  3. siz

    siz New Member

    Messages:
    20
    Hardware:
    RPi2
    Ok, will try it :)
     
  4. siz

    siz New Member

    Messages:
    20
    Hardware:
    RPi2
    Does not work for me. The latest HyperCon is from 11 of June and I installed hyperion using the install button, while the merge with the background-effect is from 20 June. Do I need to manually update hyperion to get intialEffect to work?
     
  5. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    307
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    ohhh. This feature is only available on hyperion.ng. Can you post your hyperion config file?
     
  6. siz

    siz New Member

    Messages:
    20
    Hardware:
    RPi2
    Here u go, FYI I removed most of the individual led config:
    Code:
     // Automatically generated configuration file for Hyperion ambilight daemon
    // Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
    // Generated by: HyperCon (The Hyperion deamon configuration file builder)
    // Created with HyperCon V1.03.1 (11.06.2016)
    
    {
        // DEVICE CONFIGURATION
        "device" :
        {
            "name"  : "MyHyperionConfig",
            "type"  : "ws2801",
            "output"  : "/dev/spidev0.0",
            "rate"  : 1000000,
            "colorOrder" : "rbg"
        },
    
        // COLOR CALIBRATION CONFIG
        "color" :
        {
            "channelAdjustment" :
            [
                {
                    "id"  : "default",
                    "leds" : "*",
                    "pureRed" :
                    {
                        "redChannel"        : 255,
                        "greenChannel"        : 0,
                        "blueChannel"        : 0
                    },
                    "pureGreen" :
                    {
                        "redChannel"        : 40,
                        "greenChannel"        : 225,
                        "blueChannel"        : 0
                    },
                    "pureBlue" :
                    {
                        "redChannel"        : 0,
                        "greenChannel"        : 0,
                        "blueChannel"        : 180
                    }
                }
            ],
            "temperature" :
            [
                {
                    "id"  : "default",
                    "leds" : "*",
                    "correctionValues" :
                    {
                        "red"     : 255,
                        "green"    : 255,
                        "blue"     : 255
                    }
                }
            ],
            "transform" :
            [
                {
                    "id"  : "default",
                    "leds" : "*",
                    "hsl" :
                    {
                        "saturationGain"    : 1.0000,
                        "luminanceGain"        : 0.8500,
                        "luminanceMinimum"        : 0.0000
                    },
                    "red" :
                    {
                        "threshold"     : 0.0000,
                        "gamma"     : 2.5000
                    },
                    "green" :
                    {
                        "threshold"     : 0.0000,
                        "gamma"     : 2.5000
                    },
                    "blue" :
                    {
                        "threshold"     : 0.0000,
                        "gamma"     : 2.5000
                    }
                }
            ],
        // SMOOTHING CONFIG
            "smoothing" :
            {
                "type"  : "linear",
                "time_ms"  : 100,
                "updateFrequency" : 20.0000,
                "updateDelay"  : 0
            }
        },
    
        // NO V4L2 GRABBER CONFIG
        // FRAME GRABBER CONFIG
        "framegrabber" :
        {
            "width" : 64,
            "height" : 64,
            "frequency_Hz" : 10.0,
            "priority" : 890
        },
    
        // BLACKBORDER CONFIG
        "blackborderdetector" :
        {
            "enable" : true,
            "threshold" : 0.2,
            "unknownFrameCnt" : 600,
            "borderFrameCnt" : 50,
            "maxInconsistentCnt" : 10,
            "blurRemoveCnt" : 1,
            "mode" : "default"
        },
    
        // KODI CHECK CONFIG
        "xbmcVideoChecker" :
        {
            "xbmcAddress" : "192.168.1.37",
            "xbmcTcpPort" : 9090,
            "grabVideo" : true,
            "grabPictures" : true,
            "grabAudio" : true,
            "grabMenu" : false,
            "grabPause" : true,
            "grabScreensaver" : true,
            "enable3DDetection" : true
        },
    
        // BOOTEFFECT CONFIG
        "bootsequence" :
        {
            "color" : [0,0,0],
            "effect" : "Rainbow swirl fast",
            "duration_ms" : 3000,
            "priority" : 700
        },
    
        // JSON SERVER CONFIG
        "jsonServer" :
        {
            "port" : 19444
        },
    
        // PROTO SERVER CONFIG
        "protoServer" :
        {
            "port" : 19445
        },
    
        // EFFECT PATH
        "effects" :
        {
            "paths" :
            [
                "/storage/hyperion/effects",
                "/usr/share/hyperion/effects"
            ]
        },
    
        // NO BOBLIGHT SERVER CONFIG
        // NO JSON/PROTO FORWARD CONFIG
    
        // LED CONFIGURATION
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0263 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.0263, "maximum" : 0.0526 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.0526, "maximum" : 0.0789 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.0789, "maximum" : 0.1053 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
    [........]
        "endOfJson" : "endOfJson"
    }
    
    I tried this instead of bootsequence:

    Code:
     
    "initialEffect" :
        {
            "background-effect" : [136, 97, 50 ],
            "foreground-effect" : "Rainbow swirl fast",
            "foreground-duration_ms" : 3000
        },
    
     
    Last edited: 14 August 2016
  7. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    307
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    sorry. initialEffect is only available in hyperion.ng. please compile it yourself or ask brindosch for compiled version. He can send it to you if you can not compile.
     
  8. siz

    siz New Member

    Messages:
    20
    Hardware:
    RPi2
    FYI in the old version with bootSequence, you can actually use static color and the swirl background at the same time. On hyperion startup it will swirl and change to static color, and when grabMenu = false, it will switch back to the static color when you have stopped watching a video :)

    Edit: but if u use the Hyperion remote, or set a color using Hypercon and reset it, it will stop showing the static color! No worries, will wait until the next release or compile it :)
     
    Last edited: 15 August 2016
    • Like Like x 2