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

Help with running external Hyperion on OpenELEC, feed from Odroid C2 Android Kodi

Discussion in 'Hyperion General' started by FlatText, 26 April 2017.

  1. FlatText

    FlatText New Member

    Messages:
    11
    Hey everyone,

    I had this working for almost a year, wanted to start fresh a few days ago by updating OpenELEC to 8.0 (RPi). Think it broke the settings. Now I've reverted back to OpenELEC 4.1.5. I've removed all traces of Hyperion and started again.

    Kodi running on Android has boblight plugin installed, looking at remote IP: 192.168.100.9

    Hyperion running on OpenELEC RPi is listening to IP: 192.168.100.3

    Like I said this was running fine until I updated OpenELEC. I've since thought I'd start everything from the beginning and reset my Kodi as well (it was crashing a lot with v17.1).

    dtparam=spi=on is set in config.txt


    HyperCon config is being sent with no problems, but I keep getting 'Unable to connect to host'. Not sure what's wrong.

    I feel I'm missing something very basic.

    Here is my hyperion.config.json:

    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"       : "lightpack",
            "output"     : "",
            "colorOrder" : "rgb"
        },
    
        // COLOR CALIBRATION CONFIG
        "color" :
        {
            "channelAdjustment" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "pureRed" :
                    {
                        "redChannel"        : 255,
                        "greenChannel"        : 0,
                        "blueChannel"        : 0
                    },
                    "pureGreen" :
                    {
                        "redChannel"        : 0,
                        "greenChannel"        : 255,
                        "blueChannel"        : 0
                    },
                    "pureBlue" :
                    {
                        "redChannel"        : 0,
                        "greenChannel"        : 0,
                        "blueChannel"        : 255
                    }
                }
            ],
            "temperature" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "correctionValues" :
                    {
                        "red"     : 255,
                        "green"    : 255,
                        "blue"     : 255
                    }
                }
            ],
            "transform" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "hsl" :
                    {
                        "saturationGain"    : 1.0000,
                        "luminanceGain"        : 1.0000,
                        "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"         : 200,
                "updateFrequency" : 20.0000,
                "updateDelay"     : 0
            }
        },
    
        // V4L2 GRABBER CONFIG
        "grabber-v4l2" :
        {
            "device" : "/dev/video0",
            "input" : 0,
            "standard" : "NTSC",
            "width" : -1,
            "height" : -1,
            "frameDecimation" : 2,
            "sizeDecimation" : 8,
            "priority" : 900,
            "mode" : "2D",
            "cropLeft" : 0,
            "cropRight" : 0,
            "cropTop" : 0,
            "cropBottom" : 0,
            "redSignalThreshold" : 0.0,
            "greenSignalThreshold" : 0.0,
            "blueSignalThreshold" : 0.0
        },
    
        // FRAME GRABBER CONFIG
        "framegrabber" :
        {
            "width" : 64,
            "height" : 64,
            "frequency_Hz" : 10.0,
            "priority" : 890
        },
    
        // BLACKBORDER CONFIG
        "blackborderdetector" :
        {
            "enable" : true,
            "threshold" : 0.0,
            "unknownFrameCnt" : 600,
            "borderFrameCnt" : 50,
            "maxInconsistentCnt" : 10,
            "blurRemoveCnt" : 1,
            "mode" : "default"
        },
    
        // KODI CHECK CONFIG
        "xbmcVideoChecker" :
        {
            "xbmcAddress" : "192.168.100.3",
            "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
        },
    
        // BOBLIGHT SERVER CONFIG
        "boblightServer" :
        {
            "port" : 19333,
            "priority" : 900
        },
    
        // JSON/PROTO FORWARD CONFIG
        "forwarder" :
        {
            "json" : ["192.168.100.3:19446"],
            "proto" : ["192.168.100.3:19447"]
        },
    
        // EFFECT PATH
        "effects" :
        {
            "paths" :
            [
                "/storage/hyperion/effects",
                "/usr/share/hyperion/effects"
            ]
        },
    
    
        // LED CONFIGURATION
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.5000, "maximum" : 0.5625 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.4375, "maximum" : 0.5000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.3750, "maximum" : 0.4375 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.3125, "maximum" : 0.3750 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.2500, "maximum" : 0.3125 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.1875, "maximum" : 0.2500 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.1250, "maximum" : 0.1875 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.0625, "maximum" : 0.1250 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0625 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8571, "maximum" : 1.0000 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7143, "maximum" : 0.8571 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5714, "maximum" : 0.7143 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4286, "maximum" : 0.5714 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2857, "maximum" : 0.4286 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1429, "maximum" : 0.2857 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1429 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0625 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.0625, "maximum" : 0.1250 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.1250, "maximum" : 0.1875 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.1875, "maximum" : 0.2500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.2500, "maximum" : 0.3125 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.3125, "maximum" : 0.3750 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.3750, "maximum" : 0.4375 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.4375, "maximum" : 0.5000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.5000, "maximum" : 0.5625 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.5625, "maximum" : 0.6250 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.6250, "maximum" : 0.6875 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.6875, "maximum" : 0.7500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 28,
                "hscan" : { "minimum" : 0.7500, "maximum" : 0.8125 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 29,
                "hscan" : { "minimum" : 0.8125, "maximum" : 0.8750 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 30,
                "hscan" : { "minimum" : 0.8750, "maximum" : 0.9375 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 31,
                "hscan" : { "minimum" : 0.9375, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 32,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1429 }
            },
            {
                "index" : 33,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1429, "maximum" : 0.2857 }
            },
            {
                "index" : 34,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2857, "maximum" : 0.4286 }
            },
            {
                "index" : 35,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4286, "maximum" : 0.5714 }
            },
            {
                "index" : 36,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5714, "maximum" : 0.7143 }
            },
            {
                "index" : 37,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7143, "maximum" : 0.8571 }
            },
            {
                "index" : 38,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8571, "maximum" : 1.0000 }
            },
            {
                "index" : 39,
                "hscan" : { "minimum" : 0.9375, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 40,
                "hscan" : { "minimum" : 0.8750, "maximum" : 0.9375 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 41,
                "hscan" : { "minimum" : 0.8125, "maximum" : 0.8750 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 42,
                "hscan" : { "minimum" : 0.7500, "maximum" : 0.8125 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 43,
                "hscan" : { "minimum" : 0.6875, "maximum" : 0.7500 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 44,
                "hscan" : { "minimum" : 0.6250, "maximum" : 0.6875 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 45,
                "hscan" : { "minimum" : 0.5625, "maximum" : 0.6250 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }
    
     
  2. Akriss

    Akriss Active Member

    Messages:
    561
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I do not use a Lightpack setup, so please take suggestion with a grain of salt.

    It seem like your sending the output to the heavens.
    In the config file I see you have ("output" : "",) That should have a Lightpack serial number (I think, I'm guessing here). Or at the very least some info on where to output the LED info.

    Again I'm guessing, but I hope it helps.
     
  3. FlatText

    FlatText New Member

    Messages:
    11
    I purposefully left it blank because I honestly don't remember if I had anything there the last time. I tried /dev/spidev0.0, dev/ttyS0, IP addresses, etc

    When I try to set a colour in HyperCon it says: Unable to connect to host
    On Kodi start up: Failed to connect to boblightd
     
  4. FlatText

    FlatText New Member

    Messages:
    11
    Here's the HyperCon log

    Code:
    SSH Traffic:
    ssh connected
    ssh out:     /storage/hyperion/bin/hyperion-remote.sh  -c ff39e6
    ssh in:     hyperion-remote:
    ssh in:         version   : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
    ssh in:         build time: Jul 25 2016 06:54:18
    ssh out:     Unable to connect to host
    ssh disconnected
    ssh connected
    ssh out:     /storage/.config/autostart.sh > /dev/null 2>&1 &
    ssh out:     /storage/hyperion/bin/hyperion-remote.sh  -c 7dabff
    ssh in:     hyperion-remote:
    ssh in:         version   : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
    ssh in:         build time: Jul 25 2016 06:54:18
    ssh out:     Unable to connect to host
    ssh out:     cat /storage/logfiles/hyperion.log
    ssh in:     Hyperion Ambilight Deamon (485)
    ssh in:         Version   : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
    ssh in:         Build Time: Jul 25 2016 06:54:40
    ssh in:     INFO: Selected configuration file: /storage/.config/hyperion.config.json
    ssh in:     HYPERION INFO: ColorTransform 'default' => [0; 45]
    ssh in:     HYPERION INFO: ColorCorrection 'default' => [0; 45]
    ssh in:     HYPERION INFO: ColorAdjustment 'default' => [0; 45]
    ssh in:     LEDDEVICE INFO: configuration:
    ssh in:     {
    ssh in:         "colorOrder" : "rgb",
    ssh in:         "name" : "MyHyperionConfig",
    ssh in:         "output" : "/dev/ttyUSB0",
    ssh in:         "type" : "lightpack"
    ssh in:     }
    ssh in:     USB context initialized
    ssh in:     Found a lightpack device. Retrieving more information...
    ssh in:     Lightpack device found: bus=1 address=12 serial=95330313939351712142
    ssh in:     No Lightpack device has been found
    ssh in:     HYPERION INFO: Json forward to 192.168.100.3:19446
    ssh in:     HYPERION INFO: Proto forward to 192.168.100.3:19447
    ssh in:     INFO: Creating linear smoothing
    ssh in:     HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    ssh in:     EFFECTENGINE INFO: 27 effects loaded from directory /storage/hyperion/effects
    ssh in:     EFFECTENGINE INFO: Initializing Python interpreter
    ssh in:     INFO: Hyperion started and initialised
    ssh in:     INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    ssh in:     BLACKBORDER INFO: threshold set to 0 (0)
    ssh in:     BLACKBORDER INFO: mode:default
    ssh in:     started
    ssh in:     INFO: Kodi checker created and started
    ssh in:     INFO: Json server created and started on port 19444
    ssh in:     PROTOCONNECTION INFO: Connecting to Hyperion: 192.168.100.3:19447
    ssh in:     INFO: Proto server created and started on port 19445
    ssh in:     INFO: Boblight server created and started on port 19333
    ssh in:     terminate called after throwing an instance of 'std::runtime_error'
    ssh in:       what():  V4L2GRABBER ERROR: Cannot identify '/dev/video0' ERROR 2, No such file or directory
    ssh in:     Aborted
     
  5. FlatText

    FlatText New Member

    Messages:
    11
    After looking at the log I commented out the GrabberV4L2 bit, and now the remote is working. But the screen capturing isn't.

    What else can I try for?

    Code:
    V4L2GRABBER ERROR: Cannot identify '/dev/video0' ERROR 2, No such file or directory
     
  6. FlatText

    FlatText New Member

    Messages:
    11
    lsusb gives me:

    Code:
    Bus 001 Device 006: ID 1d50:6022 OpenMoko, Inc.
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
    Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    And dmesg | grep -i video:

    Code:
    [    0.130790] mailbox: Broadcom VideoCore Mailbox driver
    [    1.200686] vc-cma: Videocore CMA driver
     
  7. FlatText

    FlatText New Member

    Messages:
    11
    ls -lh /dev/ gives me this output:

    Code:
    total 0
    crw-------    1 root     root       10, 235 Jan  1  1970 autofs
    drwxr-xr-x    2 root     root         820 Jan  1  1970 block
    crw-rw----    1 root     disk       10, 234 Jan  1  1970 btrfs-control
    drwxr-xr-x    3 root     root          60 Jan  1  1970 bus
    drwxr-xr-x    2 root     root        2.3K Apr 27 10:40 char
    crw-------    1 root     root        5,   1 Jan  1  1970 console
    crw-------    1 root     root       10,  63 Jan  1  1970 cpu_dma_latency
    drwxr-xr-x    6 root     root         120 Jan  1  1970 disk
    crw-rw----    1 root     video      29,   0 Jan  1  1970 fb0
    lrwxrwxrwx    1 root     root          13 Jan  1  1970 fd -> /proc/self/fd
    crw-rw-rw-    1 root     root        1,   7 Jan  1  1970 full
    crw-rw-rw-    1 root     root       10, 229 Jan  1  1970 fuse
    crw-------    1 root     root       10, 183 Jan  1  1970 hwrng
    crw-------    1 root     root       89,   0 Jan  1  1970 i2c-0
    crw-------    1 root     root       89,   1 Jan  1  1970 i2c-1
    lrwxrwxrwx    1 root     root          25 Jan  1  1970 initctl -> /run/systemd/initctl/fifo
    drwxr-xr-x    2 root     root          80 Jan  1  1970 input
    crw-r--r--    1 root     root        1,  11 Jan  1  1970 kmsg
    crw-------    1 root     root      248,   0 Jan  1  1970 lirc0
    lrwxrwxrwx    1 root     root          28 Jan  1  1970 log -> /run/systemd/journal/dev-log
    crw-rw----    1 root     disk       10, 237 Jan  1  1970 loop-control
    brw-rw----    1 root     disk        7,   0 Jan  1  1970 loop0
    crw-r-----    1 root     kmem        1,   1 Jan  1  1970 mem
    brw-rw----    1 root     disk      179,   0 Jan  1  1970 mmcblk0
    brw-rw----    1 root     disk      179,   1 Jan  1  1970 mmcblk0p1
    brw-rw----    1 root     disk      179,   2 Jan  1  1970 mmcblk0p2
    brw-rw----    1 root     disk      179,   5 Jan  1  1970 mmcblk0p5
    brw-rw----    1 root     disk      179,   6 Jan  1  1970 mmcblk0p6
    brw-rw----    1 root     disk      179,   7 Jan  1  1970 mmcblk0p7
    drwxrwxrwt    2 root     root          40 Jan  1  1970 mqueue
    brw-rw----    1 root     disk       43,   0 Jan  1  1970 nbd0
    brw-rw----    1 root     disk       43,   1 Jan  1  1970 nbd1
    brw-rw----    1 root     disk       43,  10 Jan  1  1970 nbd10
    brw-rw----    1 root     disk       43,  11 Jan  1  1970 nbd11
    brw-rw----    1 root     disk       43,  12 Jan  1  1970 nbd12
    brw-rw----    1 root     disk       43,  13 Jan  1  1970 nbd13
    brw-rw----    1 root     disk       43,  14 Jan  1  1970 nbd14
    brw-rw----    1 root     disk       43,  15 Jan  1  1970 nbd15
    brw-rw----    1 root     disk       43,   2 Jan  1  1970 nbd2
    brw-rw----    1 root     disk       43,   3 Jan  1  1970 nbd3
    brw-rw----    1 root     disk       43,   4 Jan  1  1970 nbd4
    brw-rw----    1 root     disk       43,   5 Jan  1  1970 nbd5
    brw-rw----    1 root     disk       43,   6 Jan  1  1970 nbd6
    brw-rw----    1 root     disk       43,   7 Jan  1  1970 nbd7
    brw-rw----    1 root     disk       43,   8 Jan  1  1970 nbd8
    brw-rw----    1 root     disk       43,   9 Jan  1  1970 nbd9
    drwxr-xr-x    2 root     root          60 Jan  1  1970 net
    crw-------    1 root     root       10,  62 Jan  1  1970 network_latency
    crw-------    1 root     root       10,  61 Jan  1  1970 network_throughput
    crw-rw-rw-    1 root     root        1,   3 Jan  1  1970 null
    crw-------    1 root     root      108,   0 Jan  1  1970 ppp
    crw-rw-rw-    1 root     tty         5,   2 Apr 27 10:43 ptmx
    drwxr-xr-x    2 root     root           0 Jan  1  1970 pts
    brw-rw----    1 root     disk        1,   0 Jan  1  1970 ram0
    brw-rw----    1 root     disk        1,   1 Jan  1  1970 ram1
    brw-rw----    1 root     disk        1,  10 Jan  1  1970 ram10
    brw-rw----    1 root     disk        1,  11 Jan  1  1970 ram11
    brw-rw----    1 root     disk        1,  12 Jan  1  1970 ram12
    brw-rw----    1 root     disk        1,  13 Jan  1  1970 ram13
    brw-rw----    1 root     disk        1,  14 Jan  1  1970 ram14
    brw-rw----    1 root     disk        1,  15 Jan  1  1970 ram15
    brw-rw----    1 root     disk        1,   2 Jan  1  1970 ram2
    brw-rw----    1 root     disk        1,   3 Jan  1  1970 ram3
    brw-rw----    1 root     disk        1,   4 Jan  1  1970 ram4
    brw-rw----    1 root     disk        1,   5 Jan  1  1970 ram5
    brw-rw----    1 root     disk        1,   6 Jan  1  1970 ram6
    brw-rw----    1 root     disk        1,   7 Jan  1  1970 ram7
    brw-rw----    1 root     disk        1,   8 Jan  1  1970 ram8
    brw-rw----    1 root     disk        1,   9 Jan  1  1970 ram9
    crw-rw-rw-    1 root     root        1,   8 Jan  1  1970 random
    drwxrwxrwt    2 root     root          40 Jan  1  1970 shm
    drwxr-xr-x    2 root     root          60 Jan  1  1970 snd
    crw-------    1 root     root      153,   0 Jan  1  1970 spidev0.0
    crw-------    1 root     root      153,   1 Jan  1  1970 spidev0.1
    lrwxrwxrwx    1 root     root          15 Jan  1  1970 stderr -> /proc/self/fd/2
    lrwxrwxrwx    1 root     root          15 Jan  1  1970 stdin -> /proc/self/fd/0
    lrwxrwxrwx    1 root     root          15 Jan  1  1970 stdout -> /proc/self/fd/1
    crw-rw-rw-    1 root     tty         5,   0 Jan  1  1970 tty
    crw--w----    1 root     tty         4,   0 Jan  1  1970 tty0
    crw--w----    1 root     tty         4,   1 Jan  1  1970 tty1
    crw--w----    1 root     tty         4,  10 Jan  1  1970 tty10
    crw--w----    1 root     tty         4,  11 Jan  1  1970 tty11
    crw--w----    1 root     tty         4,  12 Jan  1  1970 tty12
    crw--w----    1 root     tty         4,  13 Jan  1  1970 tty13
    crw--w----    1 root     tty         4,  14 Jan  1  1970 tty14
    crw--w----    1 root     tty         4,  15 Jan  1  1970 tty15
    crw--w----    1 root     tty         4,  16 Jan  1  1970 tty16
    crw--w----    1 root     tty         4,  17 Jan  1  1970 tty17
    crw--w----    1 root     tty         4,  18 Jan  1  1970 tty18
    crw--w----    1 root     tty         4,  19 Jan  1  1970 tty19
    crw--w----    1 root     tty         4,   2 Jan  1  1970 tty2
    crw--w----    1 root     tty         4,  20 Jan  1  1970 tty20
    crw--w----    1 root     tty         4,  21 Jan  1  1970 tty21
    crw--w----    1 root     tty         4,  22 Jan  1  1970 tty22
    crw--w----    1 root     tty         4,  23 Jan  1  1970 tty23
    crw--w----    1 root     tty         4,  24 Jan  1  1970 tty24
    crw--w----    1 root     tty         4,  25 Jan  1  1970 tty25
    crw--w----    1 root     tty         4,  26 Jan  1  1970 tty26
    crw--w----    1 root     tty         4,  27 Jan  1  1970 tty27
    crw--w----    1 root     tty         4,  28 Jan  1  1970 tty28
    crw--w----    1 root     tty         4,  29 Jan  1  1970 tty29
    crw--w----    1 root     tty         4,   3 Jan  1  1970 tty3
    crw--w----    1 root     tty         4,  30 Jan  1  1970 tty30
    crw--w----    1 root     tty         4,  31 Jan  1  1970 tty31
    crw--w----    1 root     tty         4,  32 Jan  1  1970 tty32
    crw--w----    1 root     tty         4,  33 Jan  1  1970 tty33
    crw--w----    1 root     tty         4,  34 Jan  1  1970 tty34
    crw--w----    1 root     tty         4,  35 Jan  1  1970 tty35
    crw--w----    1 root     tty         4,  36 Jan  1  1970 tty36
    crw--w----    1 root     tty         4,  37 Jan  1  1970 tty37
    crw--w----    1 root     tty         4,  38 Jan  1  1970 tty38
    crw--w----    1 root     tty         4,  39 Jan  1  1970 tty39
    crw--w----    1 root     tty         4,   4 Jan  1  1970 tty4
    crw--w----    1 root     tty         4,  40 Jan  1  1970 tty40
    crw--w----    1 root     tty         4,  41 Jan  1  1970 tty41
    crw--w----    1 root     tty         4,  42 Jan  1  1970 tty42
    crw--w----    1 root     tty         4,  43 Jan  1  1970 tty43
    crw--w----    1 root     tty         4,  44 Jan  1  1970 tty44
    crw--w----    1 root     tty         4,  45 Jan  1  1970 tty45
    crw--w----    1 root     tty         4,  46 Jan  1  1970 tty46
    crw--w----    1 root     tty         4,  47 Jan  1  1970 tty47
    crw--w----    1 root     tty         4,  48 Jan  1  1970 tty48
    crw--w----    1 root     tty         4,  49 Jan  1  1970 tty49
    crw--w----    1 root     tty         4,   5 Jan  1  1970 tty5
    crw--w----    1 root     tty         4,  50 Jan  1  1970 tty50
    crw--w----    1 root     tty         4,  51 Jan  1  1970 tty51
    crw--w----    1 root     tty         4,  52 Jan  1  1970 tty52
    crw--w----    1 root     tty         4,  53 Jan  1  1970 tty53
    crw--w----    1 root     tty         4,  54 Jan  1  1970 tty54
    crw--w----    1 root     tty         4,  55 Jan  1  1970 tty55
    crw--w----    1 root     tty         4,  56 Jan  1  1970 tty56
    crw--w----    1 root     tty         4,  57 Jan  1  1970 tty57
    crw--w----    1 root     tty         4,  58 Jan  1  1970 tty58
    crw--w----    1 root     tty         4,  59 Jan  1  1970 tty59
    crw--w----    1 root     tty         4,   6 Jan  1  1970 tty6
    crw--w----    1 root     tty         4,  60 Jan  1  1970 tty60
    crw--w----    1 root     tty         4,  61 Jan  1  1970 tty61
    crw--w----    1 root     tty         4,  62 Jan  1  1970 tty62
    crw--w----    1 root     tty         4,  63 Jan  1  1970 tty63
    crw--w----    1 root     tty         4,   7 Jan  1  1970 tty7
    crw--w----    1 root     tty         4,   8 Jan  1  1970 tty8
    crw--w----    1 root     tty         4,   9 Jan  1  1970 tty9
    crw-rw----    1 root     dialout   204,  64 Jan  1  1970 ttyAMA0
    crw-------    1 root     root       10, 223 Jan  1  1970 uinput
    crw-rw-rw-    1 root     root        1,   9 Jan  1  1970 urandom
    crw-------    1 root     root      251,   0 Jan  1  1970 vc-cma
    crw-------    1 root     root      253,   0 Jan  1  1970 vc-mem
    crw-------    1 root     root      250,   0 Jan  1  1970 vchiq
    crw-rw----    1 root     tty         7,   0 Jan  1  1970 vcs
    crw-rw----    1 root     tty         7,   1 Jan  1  1970 vcs1
    crw-rw----    1 root     tty         7,   2 Jan  1  1970 vcs2
    crw-rw----    1 root     tty         7,   3 Jan  1  1970 vcs3
    crw-rw----    1 root     tty         7,   4 Jan  1  1970 vcs4
    crw-rw----    1 root     tty         7,   5 Jan  1  1970 vcs5
    crw-rw----    1 root     tty         7,   6 Jan  1  1970 vcs6
    crw-rw----    1 root     tty         7, 128 Jan  1  1970 vcsa
    crw-rw----    1 root     tty         7, 129 Jan  1  1970 vcsa1
    crw-rw----    1 root     tty         7, 130 Jan  1  1970 vcsa2
    crw-rw----    1 root     tty         7, 131 Jan  1  1970 vcsa3
    crw-rw----    1 root     tty         7, 132 Jan  1  1970 vcsa4
    crw-rw----    1 root     tty         7, 133 Jan  1  1970 vcsa5
    crw-rw----    1 root     tty         7, 134 Jan  1  1970 vcsa6
    crw-rw-rw-    1 root     root        1,   5 Jan  1  1970 zero
    
     
  8. FlatText

    FlatText New Member

    Messages:
    11
    Got it to respond from Kodi on the Odroid. Stupidly had the port number 19444 instead of 19333.

    I still have the V4L2GRABBER commented out.

    The screen capturing is only white now. I'm sure something in the settings is off. Anyone have a clue?
     
  9. FlatText

    FlatText New Member

    Messages:
    11
    Works perfectly now. Switched off hardware acceleration MediaCodec (surface) in the Player Settings (Kodi)
     
  10. FlatText

    FlatText New Member

    Messages:
    11
    For anyone curious. Set up is Odroid C2, Android with Kodi, Boblight plugin, remote IP. Raspberry Pi B with OpenELEC and Hyperion. My hyperion config is this:
    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)
    // Switch off Hardware MediaCodec (surface)
    // Boblightd IP 192.168.100.9
    // Port 19333
    
    {
    // DEVICE CONFIGURATION
    "device" :
    {
    "name"       : "MyHyperionConfig",
    "type"       : "lightpack",
    "output"     : "",
    "colorOrder" : "rgb"
    },
    
    // COLOR CALIBRATION CONFIG
    "color" :
    {
    "channelAdjustment" :
    [
    {
    "id"   : "default",
    "leds" : "*",
    "pureRed" :
    {
    "redChannel": 255,
    "greenChannel": 0,
    "blueChannel": 0
    },
    "pureGreen" :
    {
    "redChannel": 0,
    "greenChannel": 255,
    "blueChannel": 0
    },
    "pureBlue" :
    {
    "redChannel": 0,
    "greenChannel": 0,
    "blueChannel": 255
    }
    }
    ],
    "temperature" :
    [
    {
    "id"   : "default",
    "leds" : "*",
    "correctionValues" :
    {
    "red" : 255,
    "green": 255,
    "blue" : 255
    }
    }
    ],
    "transform" :
    [
    {
    "id"   : "default",
    "leds" : "*",
    "hsl" :
    {
    "saturationGain": 1.0000,
    "luminanceGain": 1.0000,
    "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"         : 200,
    "updateFrequency" : 20.0000,
    "updateDelay"     : 0
    }
    },
    
    // V4L2 GRABBER CONFIG
    //"grabber-v4l2" :
    //{
    //"device" : "/dev/video0",
    //"input" : 0,
    //"standard" : "NTSC",
    //"width" : -1,
    //"height" : -1,
    //"frameDecimation" : 2,
    //"sizeDecimation" : 8,
    //"priority" : 900,
    //"mode" : "2D",
    //"cropLeft" : 0,
    //"cropRight" : 0,
    //"cropTop" : 0,
    //"cropBottom" : 0,
    //"redSignalThreshold" : 0.0,
    //"greenSignalThreshold" : 0.0,
    //"blueSignalThreshold" : 0.0
    //},
    
    // FRAME GRABBER CONFIG
    "framegrabber" :
    {
    "width" : 64,
    "height" : 64,
    "frequency_Hz" : 10.0,
    "priority" : 890
    },
    
    // BLACKBORDER CONFIG
    "blackborderdetector" :
    {
    "enable" : true,
    "threshold" : 0.0,
    "unknownFrameCnt" : 600,
    "borderFrameCnt" : 50,
    "maxInconsistentCnt" : 10,
    "blurRemoveCnt" : 1,
    "mode" : "default"
    },
    
    // KODI CHECK CONFIG
    "xbmcVideoChecker" :
    {
    "xbmcAddress" : "192.168.100.3",
    "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
    },
    
    // BOBLIGHT SERVER CONFIG
    "boblightServer" :
    {
    "port" : 19333,
    "priority" : 900
    },
    
    // JSON/PROTO FORWARD CONFIG
    "forwarder" :
    {
    "json" : ["192.168.100.3:19446"],
    "proto" : ["192.168.100.3:19447"]
    },
    
    // EFFECT PATH
    "effects" :
    {
    "paths" :
    [
    "/storage/hyperion/effects",
    "/usr/share/hyperion/effects"
    ]
    },
    
    
    // LED CONFIGURATION
    "leds" :
    [
    {
    "index" : 0,
    "hscan" : { "minimum" : 0.5000, "maximum" : 0.5625 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 1,
    "hscan" : { "minimum" : 0.4375, "maximum" : 0.5000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 2,
    "hscan" : { "minimum" : 0.3750, "maximum" : 0.4375 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 3,
    "hscan" : { "minimum" : 0.3125, "maximum" : 0.3750 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 4,
    "hscan" : { "minimum" : 0.2500, "maximum" : 0.3125 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 5,
    "hscan" : { "minimum" : 0.1875, "maximum" : 0.2500 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 6,
    "hscan" : { "minimum" : 0.1250, "maximum" : 0.1875 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 7,
    "hscan" : { "minimum" : 0.0625, "maximum" : 0.1250 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 8,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0625 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 9,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.8571, "maximum" : 1.0000 }
    },
    {
    "index" : 10,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.7143, "maximum" : 0.8571 }
    },
    {
    "index" : 11,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.5714, "maximum" : 0.7143 }
    },
    {
    "index" : 12,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.4286, "maximum" : 0.5714 }
    },
    {
    "index" : 13,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.2857, "maximum" : 0.4286 }
    },
    {
    "index" : 14,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.1429, "maximum" : 0.2857 }
    },
    {
    "index" : 15,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.1429 }
    },
    {
    "index" : 16,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0625 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 17,
    "hscan" : { "minimum" : 0.0625, "maximum" : 0.1250 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 18,
    "hscan" : { "minimum" : 0.1250, "maximum" : 0.1875 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 19,
    "hscan" : { "minimum" : 0.1875, "maximum" : 0.2500 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 20,
    "hscan" : { "minimum" : 0.2500, "maximum" : 0.3125 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 21,
    "hscan" : { "minimum" : 0.3125, "maximum" : 0.3750 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 22,
    "hscan" : { "minimum" : 0.3750, "maximum" : 0.4375 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 23,
    "hscan" : { "minimum" : 0.4375, "maximum" : 0.5000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 24,
    "hscan" : { "minimum" : 0.5000, "maximum" : 0.5625 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 25,
    "hscan" : { "minimum" : 0.5625, "maximum" : 0.6250 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 26,
    "hscan" : { "minimum" : 0.6250, "maximum" : 0.6875 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 27,
    "hscan" : { "minimum" : 0.6875, "maximum" : 0.7500 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 28,
    "hscan" : { "minimum" : 0.7500, "maximum" : 0.8125 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 29,
    "hscan" : { "minimum" : 0.8125, "maximum" : 0.8750 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 30,
    "hscan" : { "minimum" : 0.8750, "maximum" : 0.9375 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 31,
    "hscan" : { "minimum" : 0.9375, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 32,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.1429 }
    },
    {
    "index" : 33,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.1429, "maximum" : 0.2857 }
    },
    {
    "index" : 34,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2857, "maximum" : 0.4286 }
    },
    {
    "index" : 35,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4286, "maximum" : 0.5714 }
    },
    {
    "index" : 36,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.5714, "maximum" : 0.7143 }
    },
    {
    "index" : 37,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.7143, "maximum" : 0.8571 }
    },
    {
    "index" : 38,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8571, "maximum" : 1.0000 }
    },
    {
    "index" : 39,
    "hscan" : { "minimum" : 0.9375, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 40,
    "hscan" : { "minimum" : 0.8750, "maximum" : 0.9375 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 41,
    "hscan" : { "minimum" : 0.8125, "maximum" : 0.8750 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 42,
    "hscan" : { "minimum" : 0.7500, "maximum" : 0.8125 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 43,
    "hscan" : { "minimum" : 0.6875, "maximum" : 0.7500 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 44,
    "hscan" : { "minimum" : 0.6250, "maximum" : 0.6875 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 45,
    "hscan" : { "minimum" : 0.5625, "maximum" : 0.6250 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    }
    ],
    
    "endOfJson" : "endOfJson"
    }
     
    • Like Like x 1
  11. Vetinari

    Vetinari New Member

    Messages:
    21
    Hardware:
    RPi3
    Hello, i have almost the same Configuration. Raspi3 with hyperion and and Odroid with Kodi. But my Kodi give only a Fix light in Various Colour :-(.
    What is in your boblight Con on the Odroid ?
     
  12. FlatText

    FlatText New Member

    Messages:
    11
    Did you turn off one of the encoders in Kodi? Go to Settings > Player settings > Allow hardware acceleration - MediaCodec (Surface). Turn it off.
     
  13. Vetinari

    Vetinari New Member

    Messages:
    21
    Hardware:
    RPi3
    Now i turn off the Hardware Acceleration and The Boblight gives me an Ambiant Light :) but when i switch to TV i need the Mpeg2 Acc, so i turn it on back, but the Boblight is always in function. :) Thank you.
     
  14. FlatText

    FlatText New Member

    Messages:
    11
    No problem, happy to help. If your LEDs are always on, then it must be in your Hyperion config