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

RPi + OSMC WS281x PWM: Proper configuration for framegrabber

Discussion in 'Software Support' started by copypaster, 10 November 2018.

  1. copypaster

    copypaster New Member

    Messages:
    2
    Hardware:
    RPi3
    Hello, I'm newbie in Hyperion and Raspberry PI 3b+.
    I have installed latest OSMC and build Hyperion from master branch: https://github.com/tvdzwan/hyperion.git
    On startup effect works well, also 'hyperion-remote -c red' works too(when framegrabber is disabled).

    I need help to finish configuration. The issues are:
    • When I enable framegrabber in config, I get: 'Floating point exception'
    • On startup, hyperiond returns: 'FRAMEBUFFERGRABBER INFO: opened with resolution: [email protected]'. Why it is [email protected]?
    • If I want to play video on OSMC w/o external sources, then what grabber I should use(framegrabber/v4l2/etc)? Is there any ready tutorial for such setup?
    export FIRMWARE_DIR="raspberrypi-firmware"
    git clone --depth 1 https://github.com/raspberrypi/firmware.git "$FIRMWARE_DIR"
    sudo cp -R "$FIRMWARE_DIR/hardfp/opt/" /opt
    export HYPERION_DIR="hyperion"
    git clone --recursive https://github.com/tvdzwan/hyperion.git "$HYPERION_DIR"
    git submodule init
    git submodule update
    mkdir "$HYPERION_DIR/build"
    cd "$HYPERION_DIR/build"

    cmake -DENABLE_DISPMANX=OFF -DENABLE_FB=ON -DCMAKE_BUILD_TYPE=Release -DPLATFORM="rpi-pwm" -Wno-dev ..

    make -j $(nproc)
    strip bin/*
    sudo cp ./bin/hyperion-remote /usr/bin/
    sudo cp ./bin/hyperiond /usr/bin/
    sudo mkdir -p /opt/hyperion/effects && sudo cp -R ../effects/ /opt/hyperion/

    {
    // DEVICE CONFIGURATION
    "device" :
    {
    "name" : "MyHyperionConfig",
    "type" : "ws281x",
    "leds" : 150,
    "colorOrder" : "grb"
    },
    // 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" : 0.7000,
    "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" : 20,
    // "height" : 20,
    // "frequency_Hz" : 2,
    // "priority" : 890
    // },

    // KODI CHECK CONFIG
    "xbmcVideoChecker" :
    {
    "xbmcAddress" : "::1",
    "xbmcTcpPort" : 9090,
    "grabVideo" : true,
    "grabPictures" : true,
    "grabAudio" : true,
    "grabMenu" : true,
    "grabPause" : true,
    "grabScreensaver" : true,
    "enable3DDetection" : true
    },
    // BOOTEFFECT CONFIG
    "bootsequence" :
    {
    "color" : [255,255,255],
    "effect" : "Sparks",
    "duration_ms" : 5000,
    "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" : ["127.0.0.1:19446"],
    "proto" : ["127.0.0.1:19447"]
    },
    // EFFECT PATH
    "effects" :
    {
    "paths" :
    [
    "/opt/hyperion/effects"
    ]
    },
    // NO BLACKBORDER CONFIG
    // LED CONFIGURATION
    "leds" :
    [
    {
    "index" : 0,
    "hscan" : { "minimum" : 0.0200, "maximum" : 0.0400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 1,
    "hscan" : { "minimum" : 0.0400, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 2,
    "hscan" : { "minimum" : 0.0600, "maximum" : 0.0800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 3,
    "hscan" : { "minimum" : 0.0800, "maximum" : 0.1000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 4,
    "hscan" : { "minimum" : 0.1000, "maximum" : 0.1200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 5,
    "hscan" : { "minimum" : 0.1200, "maximum" : 0.1400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 6,
    "hscan" : { "minimum" : 0.1400, "maximum" : 0.1600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 7,
    "hscan" : { "minimum" : 0.1600, "maximum" : 0.1800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 8,
    "hscan" : { "minimum" : 0.1800, "maximum" : 0.2000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 9,
    "hscan" : { "minimum" : 0.2000, "maximum" : 0.2200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 10,
    "hscan" : { "minimum" : 0.2200, "maximum" : 0.2400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 11,
    "hscan" : { "minimum" : 0.2400, "maximum" : 0.2600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 12,
    "hscan" : { "minimum" : 0.2600, "maximum" : 0.2800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 13,
    "hscan" : { "minimum" : 0.2800, "maximum" : 0.3000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 14,
    "hscan" : { "minimum" : 0.3000, "maximum" : 0.3200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 15,
    "hscan" : { "minimum" : 0.3200, "maximum" : 0.3400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 16,
    "hscan" : { "minimum" : 0.3400, "maximum" : 0.3600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 17,
    "hscan" : { "minimum" : 0.3600, "maximum" : 0.3800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 18,
    "hscan" : { "minimum" : 0.3800, "maximum" : 0.4000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 19,
    "hscan" : { "minimum" : 0.4000, "maximum" : 0.4200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 20,
    "hscan" : { "minimum" : 0.4200, "maximum" : 0.4400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 21,
    "hscan" : { "minimum" : 0.4400, "maximum" : 0.4600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 22,
    "hscan" : { "minimum" : 0.4600, "maximum" : 0.4800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 23,
    "hscan" : { "minimum" : 0.4800, "maximum" : 0.5000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 24,
    "hscan" : { "minimum" : 0.5000, "maximum" : 0.5200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 25,
    "hscan" : { "minimum" : 0.5200, "maximum" : 0.5400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 26,
    "hscan" : { "minimum" : 0.5400, "maximum" : 0.5600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 27,
    "hscan" : { "minimum" : 0.5600, "maximum" : 0.5800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 28,
    "hscan" : { "minimum" : 0.5800, "maximum" : 0.6000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 29,
    "hscan" : { "minimum" : 0.6000, "maximum" : 0.6200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 30,
    "hscan" : { "minimum" : 0.6200, "maximum" : 0.6400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 31,
    "hscan" : { "minimum" : 0.6400, "maximum" : 0.6600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 32,
    "hscan" : { "minimum" : 0.6600, "maximum" : 0.6800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 33,
    "hscan" : { "minimum" : 0.6800, "maximum" : 0.7000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 34,
    "hscan" : { "minimum" : 0.7000, "maximum" : 0.7200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 35,
    "hscan" : { "minimum" : 0.7200, "maximum" : 0.7400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 36,
    "hscan" : { "minimum" : 0.7400, "maximum" : 0.7600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 37,
    "hscan" : { "minimum" : 0.7600, "maximum" : 0.7800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 38,
    "hscan" : { "minimum" : 0.7800, "maximum" : 0.8000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 39,
    "hscan" : { "minimum" : 0.8000, "maximum" : 0.8200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 40,
    "hscan" : { "minimum" : 0.8200, "maximum" : 0.8400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 41,
    "hscan" : { "minimum" : 0.8400, "maximum" : 0.8600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 42,
    "hscan" : { "minimum" : 0.8600, "maximum" : 0.8800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 43,
    "hscan" : { "minimum" : 0.8800, "maximum" : 0.9000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 44,
    "hscan" : { "minimum" : 0.9000, "maximum" : 0.9200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 45,
    "hscan" : { "minimum" : 0.9200, "maximum" : 0.9400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 46,
    "hscan" : { "minimum" : 0.9400, "maximum" : 0.9600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 47,
    "hscan" : { "minimum" : 0.9600, "maximum" : 0.9800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 48,
    "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 49,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
    },
    {
    "index" : 50,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0400, "maximum" : 0.0800 }
    },
    {
    "index" : 51,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0800, "maximum" : 0.1200 }
    },
    {
    "index" : 52,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.1200, "maximum" : 0.1600 }
    },
    {
    "index" : 53,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.1600, "maximum" : 0.2000 }
    },
    {
    "index" : 54,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2000, "maximum" : 0.2400 }
    },
    {
    "index" : 55,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2400, "maximum" : 0.2800 }
    },
    {
    "index" : 56,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2800, "maximum" : 0.3200 }
    },
    {
    "index" : 57,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.3200, "maximum" : 0.3600 }
    },
    {
    "index" : 58,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.3600, "maximum" : 0.4000 }
    },
    {
    "index" : 59,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4000, "maximum" : 0.4400 }
    },
    {
    "index" : 60,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4400, "maximum" : 0.4800 }
    },
    {
    "index" : 61,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4800, "maximum" : 0.5200 }
    },
    {
    "index" : 62,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.5200, "maximum" : 0.5600 }
    },
    {
    "index" : 63,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.5600, "maximum" : 0.6000 }
    },
    {
    "index" : 64,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6000, "maximum" : 0.6400 }
    },
    {
    "index" : 65,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6400, "maximum" : 0.6800 }
    },
    {
    "index" : 66,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6800, "maximum" : 0.7200 }
    },
    {
    "index" : 67,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.7200, "maximum" : 0.7600 }
    },
    {
    "index" : 68,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.7600, "maximum" : 0.8000 }
    },
    {
    "index" : 69,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8000, "maximum" : 0.8400 }
    },
    {
    "index" : 70,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8400, "maximum" : 0.8800 }
    },
    {
    "index" : 71,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8800, "maximum" : 0.9200 }
    },
    {
    "index" : 72,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 0.9600 }
    },
    {
    "index" : 73,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
    },
    {
    "index" : 74,
    "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 75,
    "hscan" : { "minimum" : 0.9600, "maximum" : 0.9800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 76,
    "hscan" : { "minimum" : 0.9400, "maximum" : 0.9600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 77,
    "hscan" : { "minimum" : 0.9200, "maximum" : 0.9400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 78,
    "hscan" : { "minimum" : 0.9000, "maximum" : 0.9200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 79,
    "hscan" : { "minimum" : 0.8800, "maximum" : 0.9000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 80,
    "hscan" : { "minimum" : 0.8600, "maximum" : 0.8800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 81,
    "hscan" : { "minimum" : 0.8400, "maximum" : 0.8600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 82,
    "hscan" : { "minimum" : 0.8200, "maximum" : 0.8400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 83,
    "hscan" : { "minimum" : 0.8000, "maximum" : 0.8200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 84,
    "hscan" : { "minimum" : 0.7800, "maximum" : 0.8000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 85,
    "hscan" : { "minimum" : 0.7600, "maximum" : 0.7800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 86,
    "hscan" : { "minimum" : 0.7400, "maximum" : 0.7600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 87,
    "hscan" : { "minimum" : 0.7200, "maximum" : 0.7400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 88,
    "hscan" : { "minimum" : 0.7000, "maximum" : 0.7200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 89,
    "hscan" : { "minimum" : 0.6800, "maximum" : 0.7000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 90,
    "hscan" : { "minimum" : 0.6600, "maximum" : 0.6800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 91,
    "hscan" : { "minimum" : 0.6400, "maximum" : 0.6600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 92,
    "hscan" : { "minimum" : 0.6200, "maximum" : 0.6400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 93,
    "hscan" : { "minimum" : 0.6000, "maximum" : 0.6200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 94,
    "hscan" : { "minimum" : 0.5800, "maximum" : 0.6000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 95,
    "hscan" : { "minimum" : 0.5600, "maximum" : 0.5800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 96,
    "hscan" : { "minimum" : 0.5400, "maximum" : 0.5600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 97,
    "hscan" : { "minimum" : 0.5200, "maximum" : 0.5400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 98,
    "hscan" : { "minimum" : 0.5000, "maximum" : 0.5200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 99,
    "hscan" : { "minimum" : 0.4800, "maximum" : 0.5000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 100,
    "hscan" : { "minimum" : 0.4600, "maximum" : 0.4800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 101,
    "hscan" : { "minimum" : 0.4400, "maximum" : 0.4600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 102,
    "hscan" : { "minimum" : 0.4200, "maximum" : 0.4400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 103,
    "hscan" : { "minimum" : 0.4000, "maximum" : 0.4200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 104,
    "hscan" : { "minimum" : 0.3800, "maximum" : 0.4000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 105,
    "hscan" : { "minimum" : 0.3600, "maximum" : 0.3800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 106,
    "hscan" : { "minimum" : 0.3400, "maximum" : 0.3600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 107,
    "hscan" : { "minimum" : 0.3200, "maximum" : 0.3400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 108,
    "hscan" : { "minimum" : 0.3000, "maximum" : 0.3200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 109,
    "hscan" : { "minimum" : 0.2800, "maximum" : 0.3000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 110,
    "hscan" : { "minimum" : 0.2600, "maximum" : 0.2800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 111,
    "hscan" : { "minimum" : 0.2400, "maximum" : 0.2600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 112,
    "hscan" : { "minimum" : 0.2200, "maximum" : 0.2400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 113,
    "hscan" : { "minimum" : 0.2000, "maximum" : 0.2200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 114,
    "hscan" : { "minimum" : 0.1800, "maximum" : 0.2000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 115,
    "hscan" : { "minimum" : 0.1600, "maximum" : 0.1800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 116,
    "hscan" : { "minimum" : 0.1400, "maximum" : 0.1600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 117,
    "hscan" : { "minimum" : 0.1200, "maximum" : 0.1400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 118,
    "hscan" : { "minimum" : 0.1000, "maximum" : 0.1200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 119,
    "hscan" : { "minimum" : 0.0800, "maximum" : 0.1000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 120,
    "hscan" : { "minimum" : 0.0600, "maximum" : 0.0800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 121,
    "hscan" : { "minimum" : 0.0400, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 122,
    "hscan" : { "minimum" : 0.0200, "maximum" : 0.0400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 123,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 124,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
    },
    {
    "index" : 125,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 0.9600 }
    },
    {
    "index" : 126,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.8800, "maximum" : 0.9200 }
    },
    {
    "index" : 127,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.8400, "maximum" : 0.8800 }
    },
    {
    "index" : 128,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.8000, "maximum" : 0.8400 }
    },
    {
    "index" : 129,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.7600, "maximum" : 0.8000 }
    },
    {
    "index" : 130,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.7200, "maximum" : 0.7600 }
    },
    {
    "index" : 131,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.6800, "maximum" : 0.7200 }
    },
    {
    "index" : 132,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.6400, "maximum" : 0.6800 }
    },
    {
    "index" : 133,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.6000, "maximum" : 0.6400 }
    },
    {
    "index" : 134,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.5600, "maximum" : 0.6000 }
    },
    {
    "index" : 135,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.5200, "maximum" : 0.5600 }
    },
    {
    "index" : 136,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.4800, "maximum" : 0.5200 }
    },
    {
    "index" : 137,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.4400, "maximum" : 0.4800 }
    },
    {
    "index" : 138,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.4000, "maximum" : 0.4400 }
    },
    {
    "index" : 139,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.3600, "maximum" : 0.4000 }
    },
    {
    "index" : 140,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.3200, "maximum" : 0.3600 }
    },
    {
    "index" : 141,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.2800, "maximum" : 0.3200 }
    },
    {
    "index" : 142,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.2400, "maximum" : 0.2800 }
    },
    {
    "index" : 143,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.2000, "maximum" : 0.2400 }
    },
    {
    "index" : 144,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.1600, "maximum" : 0.2000 }
    },
    {
    "index" : 145,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.1200, "maximum" : 0.1600 }
    },
    {
    "index" : 146,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0800, "maximum" : 0.1200 }
    },
    {
    "index" : 147,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0400, "maximum" : 0.0800 }
    },
    {
    "index" : 148,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
    },
    {
    "index" : 149,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    }
    ],
    "endOfJson" : "endOfJson"
    }

    [email protected]:/home/osmc# /usr/bin/hyperiond /etc/hyperion2.config
    Hyperion Ambilight Deamon (3401)
    Version : master (Rick van Hattem-df36a85/1d125d8-1541733483
    Build Time: Nov 11 2018 02:40:17
    INFO: Selected configuration file: /etc/hyperion2.config
    HYPERION INFO: ColorTransform 'default' => [0; 149]
    HYPERION INFO: ColorCorrection 'default' => [0; 149]
    HYPERION INFO: ColorAdjustment 'default' => [0; 149]
    LEDDEVICE INFO: configuration:
    {
    "colorOrder" : "grb",
    "leds" : 150,
    "name" : "MyHyperionConfig",
    "type" : "ws281x"
    }

    whiteAlgorithm ::
    HYPERION INFO: Json forward to 127.0.0.1:19446
    HYPERION INFO: Proto forward to 127.0.0.1:19447
    INFO: Creating linear smoothing
    HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=100;updateDelay=0
    EFFECTENGINE INFO: 27 effects loaded from directory /opt/hyperion/effects
    EFFECTENGINE INFO: Initializing Python interpreter
    INFO: Hyperion started and initialised
    INFO: Boot sequence 'Sparks' EFFECTENGINE INFO: run effect Sparks on channel 0
    BLACKBORDER INFO: threshold set to 0.01 (3)
    BLACKBORDER INFO: mode:default
    started
    INFO: Kodi checker created and started
    INFO: Json server created and started on port 19444
    PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19447
    INFO: Proto server created and started on port 19445
    INFO: Boblight server created and started on port 19333
    FRAMEBUFFERGRABBER INFO: opened with resolution: [email protected]
    BLACKBORDER INFO: threshold set to 0.01 (3)
    BLACKBORDER INFO: mode:default
    INFO: Framebuffer grabber created and started
    KODICHECK INFO: Kodi Connected
    KODICHECK INFO: switching to MENU mode
    Floating point exception

    If framegrabber is disabled, then hyperion-framebuffer returns:
    [email protected]:/etc# hyperion-framebuffer
    FRAMEBUFFERGRABBER ERROR: Could not get screen information
    PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19445
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 1996246256 bits per pixel
    PROTOCONNECTION INFO: Connected to Hyperion: 127.0.0.1:19445
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 2122706984 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 1974272000 bits per pixel
    Maybe this can talk something to you.

    Thanks
     
  2. Akriss

    Akriss Active Member

    Messages:
    378
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    When installing from Hypercon the default framegrabber setting are:
    Code:
            "framegrabber" :
            {
                    "width" : 64,
                    "height" : 64,
                    "frequency_Hz" : 10.0,
                    "priority" : 890
            },
    
    I've not had fiddled with the default, as it works on my setups.

    Hope it helps.
     
  3. copypaster

    copypaster New Member

    Messages:
    2
    Hardware:
    RPi3
    No, it doesn't work, I tried with default values. Also I tried with v4l2 grabber, but as I understand(there isn't /dev/video0 device), it is for external sources, like camera or external player.