Moin,
ich nutze schon etwas länger die config APA102 LEDs und Fushicai Grabber mit einem Raspberry Pi 3 ohne Probleme. Jetzt wollte ich auch mal versuchen, drei Philips Hue Lampen zu steuern, aber ich komme gar nicht weiter, d.h. die Lampen ändern keine Farbe und auch aus dem Log werde ich nicht schlau.
Ich habe mal vorab per restAPI alles ausgelesen und kann per PUT usw. auch die einzelnen Hues steuern, das funktioniert, aber per Hyperion garnichts.
Anbei mal die config und log:
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" : "hue",
"type" : "philipshue",
"output" : "192.168.1.29",
"transitiontime" : 1,
"switchOffOnBlack" : true,
"username" : "PObnqwYKKs9yEBsR8Sy4TW1hPNrBr6JOnc4APJnP",
"colorOrder" : "bgr",
"lightIds" : [12,11,1]
},
// 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" : 100,
"updateFrequency" : 25.0000,
"updateDelay" : 0
}
},
// V4L2 GRABBER CONFIG
"grabber-v4l2" :
{
"device" : "/dev/video0",
"input" : 0,
"standard" : "PAL",
"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.14,
"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" : false,
"grabPause" : true,
"grabScreensaver" : true,
"enable3DDetection" : true
},
// BOOTEFFECT CONFIG
"bootsequence" :
{
"color" : [0,0,0],
"effect" : "Rainbow swirl fast",
"duration_ms" : 3000,
"priority" : 700
},
// JSON SERVER CONFIG
"jsonServer" :
{
"port" : 19444
},
// PROTO SERVER CONFIG
"protoServer" :
{
"port" : 19445
},
// EFFECT PATH
"effects" :
{
"paths" :
[
"/storage/hyperion/effects",
"/usr/share/hyperion/effects"
]
},
// NO BOBLIGHT SERVER CONFIG
// NO JSON/PROTO FORWARD CONFIG
// LED CONFIGURATION
"leds" :
[
{
"index" : 0,
"hscan" : { "minimum" : 0.0000, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0300, "maximum" : 0.1300 }
},
{
"index" : 1,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
"vscan" : { "minimum" : 0.0206, "maximum" : 0.5094 }
},
{
"index" : 2,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
"vscan" : { "minimum" : 0.4906, "maximum" : 0.9794 }
}
],
"endOfJson" : "endOfJson"
}
Alles anzeigen
Code
Hyperion Ambilight Deamon (451)
Version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
Build Time: Apr 5 2018 01:57:25
INFO: Selected configuration file: /storage/.config/hyperion.config.json
HYPERION INFO: ColorTransform 'default' => [0; 2]
HYPERION INFO: ColorCorrection 'default' => [0; 2]
HYPERION INFO: ColorAdjustment 'default' => [0; 2]
LEDDEVICE INFO: configuration:
{
"colorOrder" : "bgr",
"lightIds" : [ 12, 11, 1 ],
"name" : "hue",
"output" : "192.168.1.29",
"switchOffOnBlack" : true,
"transitiontime" : 1,
"type" : "philipshue",
"username" : "PObnqwYKKs9yEBsR8Sy4TW1hPNrBr6JOnc4APJnP"
}
INFO: Creating linear smoothing
HYPERION (CS) INFO: Created linear-smoothing(interval_ms=40;settlingTime_ms=100;updateDelay=0
EFFECTENGINE INFO: 27 effects loaded from directory /storage/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.14 (36)
BLACKBORDER INFO: mode:default
started
INFO: Kodi checker created and started
INFO: Json server created and started on port 19444
INFO: Proto server created and started on port 19445
DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
BLACKBORDER INFO: threshold set to 0.14 (36)
BLACKBORDER INFO: mode:default
INFO: Frame grabber created and started
V4L2GRABBER INFO: width=720 height=576
V4L2GRABBER INFO: pixel format=YUYV
BLACKBORDER INFO: threshold set to 0.14 (36)
BLACKBORDER INFO: mode:default
V4L2GRABBER INFO: signal threshold set to: {0,0,0}
V4L2GRABBER INFO: started
INFO: V4L2 grabber created and started
QSslSocket: cannot resolve CRYPTO_num_locks
QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback
QSslSocket: cannot resolve sk_free
QSslSocket: cannot resolve sk_num
QSslSocket: cannot resolve sk_pop_free
QSslSocket: cannot resolve sk_value
QSslSocket: cannot resolve SSL_library_init
QSslSocket: cannot resolve SSL_load_error_strings
QSslSocket: cannot resolve SSLv3_client_method
QSslSocket: cannot resolve SSLv23_client_method
QSslSocket: cannot resolve SSLv3_server_method
QSslSocket: cannot resolve SSLv23_server_method
QSslSocket: cannot resolve X509_STORE_CTX_get_chain
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
QSslSocket: cannot resolve SSLeay
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function sk_num
Segmentation fault
Alles anzeigen