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

Problem mit 2. Instanz

Discussion in 'German Talk' started by firstfacility, 31 May 2018.

  1. firstfacility

    firstfacility New Member

    Messages:
    3
    Hallo Forum,
    ich beschäftige mich grade damit in mein System zwei HUE einzubinden. In der ersten Instanz laufen meine LED´s. Ich habe mich an die Anleitung gehalten :
    https://hyperion-project.org/wiki/Controlling-Multiple-Devices

    Hierzu habe ich eine hyperion.config2.json erstellt :

    Code:
    {
      // DEVICE CONFIGURATION
      "device" :
      {
      "name"  : "MyHyperionConfig2",
      "type"  : "philipshue",
      "output"  : "192.168.11.57",
      "transitiontime"  : 1,
      "switchOffOnBlack"  : true,
      "username"  : "firstfacility",
      "colorOrder" : "rgb"
      },
    
      // COLOR CALIBRATION CONFIG
      "color" :
      {
      "channelAdjustment" :
      [
      {
      "id"  : "19",
      "leds" : "*",
      "pureRed" :
      {
      "redChannel"  : 255,
      "greenChannel"  : 0,
      "blueChannel"  : 0
      },
      "pureGreen" :
      {
      "redChannel"  : 0,
      "greenChannel"  : 255,
      "blueChannel"  : 0
      },
      "pureBlue" :
      {
      "redChannel"  : 0,
      "greenChannel"  : 0,
      "blueChannel"  : 255
      }
      }
      ],
      "temperature" :
      [
      {
      "id"  : "22",
      "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
      }
      },
    
      // 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.0,
      "unknownFrameCnt" : 600,
      "borderFrameCnt" : 50,
      "maxInconsistentCnt" : 10,
      "blurRemoveCnt" : 1,
      "mode" : "default"
      },
    
      // BOOTEFFECT CONFIG
      "bootsequence" :
      {
      "color" : [0,0,0],
      "effect" : "Rainbow swirl fast",
      "duration_ms" : 3000,
      "priority" : 700
      },
    
      // JSON SERVER CONFIG
      "jsonServer" :
      {
      "port" : 19446
      },
    
      // PROTO SERVER CONFIG
      "protoServer" :
      {
      "port" : 19447
      },
    
      // EFFECT PATH
      "effects" :
      {
      "paths" :
      [
      "/storage/hyperion/effects",
      "/usr/share/hyperion/effects"
      ]
      },
    
      // NO KODI CHECK CONFIG
      // NO BOBLIGHT SERVER CONFIG
      // NO JSON/PROTO FORWARD CONFIG
    
      // LED CONFIGURATION
      "leds" :
      [
      {
      "index" : 0,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 1.0000 }
      },
      {
      "index" : 1,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 1.0000 }
      }
      ],
    
      "endOfJson" : "endOfJson"
    }
    
    Wenn ich nun die zweite Instanz starte bekomme ich folgenden Fehler:
    [email protected] /etc/hyperion > /usr/bin/hyperiond /etc/hyperion/hyperion.config2.json
    Hyperion Ambilight Deamon (25930)
    Version : V1.03.3 (brindosch-2fbbcff/2f01dfa-1495880388
    Build Time: Jun 3 2017 02:06:37
    INFO: Selected configuration file: /etc/hyperion/hyperion.config2.json
    HYPERION INFO: ColorTransform 'default' => [0; 1]
    HYPERION INFO: ColorCorrection '22' => [0; 1]
    HYPERION INFO: ColorAdjustment '19' => [0; 1]
    LEDDEVICE INFO: configuration:
    {
    "colorOrder" : "rgb",
    "name" : "MyHyperionConfig2",
    "output" : "192.168.11.57",
    "switchOffOnBlack" : true,
    "transitiontime" : 1,
    "type" : "philipshue",
    "username" : "firstfacility"
    }

    INFO: Creating linear smoothing
    HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
    EFFECTENGINE INFO: Initializing Python interpreter
    INFO: Hyperion started and initialised
    INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    BLACKBORDER INFO: threshold set to 0 (0)
    BLACKBORDER INFO: mode:default
    started
    INFO: Json server created and started on port 19446
    INFO: Proto server created and started on port 19447
    DISPMANXGRABBER INFO: Display opened with resolution: 720x480
    BLACKBORDER INFO: threshold set to 0 (0)
    BLACKBORDER INFO: mode:default
    INFO: Frame grabber created and started
    BORDER SWITCH REQUIRED!!
    CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    Speicherzugriffsfehler

    Hätte jemand eine Idee was ich falsch gemacht habe ?

    Gruß
    Frank
     
  2. firstfacility

    firstfacility New Member

    Messages:
    3
    Ich habe inzwischen gefunden was es ist, ich habe das falsche Passwort für HUE eingetragen, Nun habe ich Zugriff auf die HUE und die Startanimation läuft nun, aber das War es auch schon. Keine Reaktion auf den Grabber, vielleicht gibt es ja jemand der mir helfen kann ?