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

Webapp Websocket error

Discussion in 'Development' started by Damien, 29 March 2020.

  1. Damien

    Damien New Member

    Messages:
    3
    Hardware:
    RPi3
    Hello,
    I am looking for a remote controller working on a Win10 laptop in order to control Hyperion working on a Pi3 using OSMC. For your information, the AndroidApp on my phone works perfectly.
    As I understand, the only way to control from a Win10 platform is with the Webapp browsing Github link. However, when I click "Detect", nothing happens (never ending search) and when I configure the server manually, I receive the message "Websocket error", impossible to fetch the server.
    May you tell me where it comes from or if there is a better way?

    Thanks upfront for your answer and
    Take care of you and your relatives,

    Damien
     
  2. Dschogo

    Dschogo New Member

    Messages:
    2
    Hardware:
    RPi3, 32/64bit
    +1
    Same problem. Cant use the webremote (in any browser on win10) also the chrome app doesnt work. (Android app is working fine)

    Dschogo
     
  3. Paulchen-Panther

    Paulchen-Panther Active Member Staff Member Developer

    Messages:
    602
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    Entschuldigt bitte den Umgangston aber:
    OHNE CONFIG UND HYPERION AUSGABE KEIN -- S U P P O R T --
    Ende
     
  4. Dschogo

    Dschogo New Member

    Messages:
    2
    Hardware:
    RPi3, 32/64bit
    Hallo,

    dachte Config ist in diesem Falle nicht zwingend nötig, da es ja etwas mit dem Webclient zutun hat. (Server geht einwandfrei, da es ja mit der Mobile app funktioniert)
    Mysteriös ist, dass es jetzt plötzlich funktioniert??!
    Habe nichts verändert.
    Allerdings nur in Opera (basierend auf Chromium).
    nach einem Browser Neustart (alles schließen) funktioniert es nicht mehr ("No server connection")

    Nur ab und zu wird eine Verbindung gefunden.

    Log ist größtenteils leer bzw. enthält keine Einträge bezüglich "Webclient connected" oder Farbänderungen. Random kommt immer nur folgendes an (unabhängig von dear Aktion im Web-client:
    Code:
    ssh in:     Mai 09 17:37:57 raspberrypi-Tobi hyperiond[3874]: JSONSERVER INFO: New connection
    ssh in:     Mai 09 17:37:57 raspberrypi-Tobi hyperiond[3874]: BLACKBORDER INFO: threshold set to 0.15 (39)
    ssh in:     Mai 09 17:37:57 raspberrypi-Tobi hyperiond[3874]: BLACKBORDER INFO: mode:default



    Meine 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.3 (22.10.2017)
    
    {
        // DEVICE CONFIGURATION
        "device" :
        {
            "name"       : "MyHyperionConfig",
            "type"       : "ws281x",
            "leds"       : 28,
            "freq"       : 800000,
            "gpio"       : 12,
            "dmanum"     : 10,
            "pwmchannel" : 0,
            "invert"     : 1,
            "colorOrder" : "brg"
        },
    
        // COLOR CALIBRATION CONFIG
        "color" :
        {
            "channelAdjustment" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "pureRed" :
                    {
                        "redChannel"        : 254,
                        "greenChannel"        : 0,
                        "blueChannel"        : 0
                    },
                    "pureGreen" :
                    {
                        "redChannel"        : 0,
                        "greenChannel"        : 254,
                        "blueChannel"        : 0
                    },
                    "pureBlue" :
                    {
                        "redChannel"        : 0,
                        "greenChannel"        : 0,
                        "blueChannel"        : 254
                    }
                }
            ],
            "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" : 30.0000,
                "updateDelay"     : 0
            }
        },
    
        // NO V4L2 GRABBER CONFIG
        // FRAME GRABBER CONFIG
        "framegrabber" :
        {
            "width" : 512,
            "height" : 512,
            "frequency_Hz" : 30.303030303030305,
            "priority" : 890
        },
    
        // BLACKBORDER CONFIG
        "blackborderdetector" :
        {
            "enable" : true,
            "threshold" : 0.15,
            "unknownFrameCnt" : 600,
            "borderFrameCnt" : 50,
            "maxInconsistentCnt" : 10,
            "blurRemoveCnt" : 1,
            "mode" : "default"
        },
    
        // KODI CHECK CONFIG
        "xbmcVideoChecker" :
        {
            "xbmcAddress" : "127.0.0.1",
            "xbmcTcpPort" : 9090,
            "grabVideo" : true,
            "grabPictures" : true,
            "grabAudio" : true,
            "grabMenu" : true,
            "grabPause" : true,
            "grabScreensaver" : true,
            "enable3DDetection" : true
        },
    
        // BOOTEFFECT CONFIG
        "bootsequence" :
        {
            "color" : [0,0,0],
            "effect" : "Cinema brighten lights",
            "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.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8000, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6000, "maximum" : 0.8000 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4000, "maximum" : 0.6000 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2000, "maximum" : 0.4000 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.2000 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.8889, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.7778, "maximum" : 0.8889 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.6667, "maximum" : 0.7778 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.5556, "maximum" : 0.6667 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.4444, "maximum" : 0.5556 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.3333, "maximum" : 0.4444 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.2222, "maximum" : 0.3333 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.1111, "maximum" : 0.2222 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.1111 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.2000 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2000, "maximum" : 0.4000 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4000, "maximum" : 0.6000 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6000, "maximum" : 0.8000 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8000, "maximum" : 1.0000 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.1111 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.1111, "maximum" : 0.2222 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.2222, "maximum" : 0.3333 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.3333, "maximum" : 0.4444 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.4444, "maximum" : 0.5556 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.5556, "maximum" : 0.6667 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.6667, "maximum" : 0.7778 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.7778, "maximum" : 0.8889 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.8889, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }
    
    Dschogo
     
    Last edited: 9 May 2020