mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Updated the default configuration with one generated by HyperCon
Former-commit-id: 3ab7bdb3b1f71c1bca99dc720bd5c8e4596d1702
This commit is contained in:
parent
0f56a2f021
commit
af83807606
@ -15,51 +15,67 @@
|
|||||||
"name" : "MyPi",
|
"name" : "MyPi",
|
||||||
"type" : "ws2801",
|
"type" : "ws2801",
|
||||||
"output" : "/dev/spidev0.0",
|
"output" : "/dev/spidev0.0",
|
||||||
"rate" : 500000,
|
"rate" : 250000,
|
||||||
"colorOrder" : "rgb"
|
"colorOrder" : "rgb"
|
||||||
},
|
},
|
||||||
|
|
||||||
/// Color manipulation configuration used to tune the output colors to specific surroundings. Contains the following fields:
|
/// Color manipulation configuration used to tune the output colors to specific surroundings.
|
||||||
/// * 'hsv' : The manipulation in the Hue-Saturation-Value color domain with the following tuning parameters:
|
/// The configuration contains a list of color-transforms. Each transform contains the
|
||||||
|
/// following fields:
|
||||||
|
/// * 'id' : The unique identifier of the color transformation (eg 'device_1') /// * 'leds' : The indices (or index ranges) of the leds to which this color transform applies
|
||||||
|
/// (eg '0-5, 9, 11, 12-17'). The indices are zero based. /// * 'hsv' : The manipulation in the Hue-Saturation-Value color domain with the following
|
||||||
|
/// tuning parameters:
|
||||||
/// - 'saturationGain' The gain adjustement of the saturation
|
/// - 'saturationGain' The gain adjustement of the saturation
|
||||||
/// - 'valueGain' The gain adjustement of the value
|
/// - 'valueGain' The gain adjustement of the value
|
||||||
/// * 'red'/'green'/'blue' : The manipulation in the Red-Green-Blue color domain with the following tuning parameters for each channel:
|
/// * 'red'/'green'/'blue' : The manipulation in the Red-Green-Blue color domain with the
|
||||||
/// - 'threshold' The minimum required input value for the channel to be on (else zero)
|
/// following tuning parameters for each channel:
|
||||||
|
/// - 'threshold' The minimum required input value for the channel to be on
|
||||||
|
/// (else zero)
|
||||||
/// - 'gamma' The gamma-curve correction factor
|
/// - 'gamma' The gamma-curve correction factor
|
||||||
/// - 'blacklevel' The lowest possible value (when the channel is black)
|
/// - 'blacklevel' The lowest possible value (when the channel is black)
|
||||||
/// - 'whitelevel' The highest possible value (when the channel is white)
|
/// - 'whitelevel' The highest possible value (when the channel is white)
|
||||||
/// * 'smoothing' : Smoothing of the colors in the time-domain with the following tuning parameters:
|
///
|
||||||
|
/// Next to the list with color transforms there is also a smoothing option.
|
||||||
|
/// * 'smoothing' : Smoothing of the colors in the time-domain with the following tuning
|
||||||
|
/// parameters:
|
||||||
/// - 'type' The type of smoothing algorithm ('linear' or 'none')
|
/// - 'type' The type of smoothing algorithm ('linear' or 'none')
|
||||||
/// - 'time_ms' The time constant for smoothing algorithm in milliseconds
|
/// - 'time_ms' The time constant for smoothing algorithm in milliseconds
|
||||||
/// - 'updateFrequency' The update frequency of the leds in Hz
|
/// - 'updateFrequency' The update frequency of the leds in Hz
|
||||||
"color" :
|
"color" :
|
||||||
{
|
{
|
||||||
"hsv" :
|
"transform" :
|
||||||
{
|
[
|
||||||
"saturationGain" : 1.0000,
|
{
|
||||||
"valueGain" : 1.5000
|
"id" : "default",
|
||||||
},
|
"leds" : "0-49",
|
||||||
"red" :
|
"hsv" :
|
||||||
{
|
{
|
||||||
"threshold" : 0.1000,
|
"saturationGain" : 1.0000,
|
||||||
"gamma" : 2.0000,
|
"valueGain" : 1.0000
|
||||||
"blacklevel" : 0.0000,
|
},
|
||||||
"whitelevel" : 0.8000
|
"red" :
|
||||||
},
|
{
|
||||||
"green" :
|
"threshold" : 0.0000,
|
||||||
{
|
"gamma" : 1.0000,
|
||||||
"threshold" : 0.1000,
|
"blacklevel" : 0.0000,
|
||||||
"gamma" : 2.0000,
|
"whitelevel" : 1.0000
|
||||||
"blacklevel" : 0.0000,
|
},
|
||||||
"whitelevel" : 1.0000
|
"green" :
|
||||||
},
|
{
|
||||||
"blue" :
|
"threshold" : 0.0000,
|
||||||
{
|
"gamma" : 1.0000,
|
||||||
"threshold" : 0.1000,
|
"blacklevel" : 0.0000,
|
||||||
"gamma" : 2.0000,
|
"whitelevel" : 1.0000
|
||||||
"blacklevel" : 0.0000,
|
},
|
||||||
"whitelevel" : 1.0000
|
"blue" :
|
||||||
},
|
{
|
||||||
|
"threshold" : 0.0000,
|
||||||
|
"gamma" : 1.0000,
|
||||||
|
"blacklevel" : 0.0000,
|
||||||
|
"whitelevel" : 1.0000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"smoothing" :
|
"smoothing" :
|
||||||
{
|
{
|
||||||
"type" : "none",
|
"type" : "none",
|
||||||
@ -68,15 +84,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/// The configuration for each individual led. This contains the specification of the area
|
/// The configuration for each individual led. This contains the specification of the area
|
||||||
/// averaged of an input image for each led to determine its color. Each item in the list
|
/// averaged of an input image for each led to determine its color. Each item in the list
|
||||||
/// contains the following fields:
|
/// contains the following fields:
|
||||||
/// * index: The index of the led. This determines its location in the string of leds; zero
|
/// * index: The index of the led. This determines its location in the string of leds; zero
|
||||||
/// being the first led.
|
/// being the first led.
|
||||||
/// * hscan: The fractional part of the image along the horizontal used for the averaging
|
/// * hscan: The fractional part of the image along the horizontal used for the averaging
|
||||||
/// (minimum and maximum inclusive)
|
/// (minimum and maximum inclusive)
|
||||||
/// * vscan: The fractional part of the image along the vertical used for the averaging
|
/// * vscan: The fractional part of the image along the vertical used for the averaging
|
||||||
/// (minimum and maximum inclusive)
|
/// (minimum and maximum inclusive)
|
||||||
"leds" :
|
"leds" :
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -331,17 +347,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
"effects" :
|
|
||||||
{
|
|
||||||
"paths" : ["/home/pi/hyperion/effects"]
|
|
||||||
},
|
|
||||||
|
|
||||||
"bootsequence" :
|
|
||||||
{
|
|
||||||
"effect" : "Rainbow swirl fast",
|
|
||||||
"duration_ms" : 3000
|
|
||||||
},
|
|
||||||
|
|
||||||
/// The black border configuration, contains the following items:
|
/// The black border configuration, contains the following items:
|
||||||
/// * enable : true if the detector should be activated
|
/// * enable : true if the detector should be activated
|
||||||
"blackborderdetector" :
|
"blackborderdetector" :
|
||||||
@ -349,14 +354,30 @@
|
|||||||
"enable" : true
|
"enable" : true
|
||||||
},
|
},
|
||||||
|
|
||||||
/// The configuration for the frame-grabber, contains the following items:
|
/// The configuration of the effect engine, contains the following items:
|
||||||
/// * width : The width of the grabbed frames [pixels]
|
/// * paths : An array with absolute location(s) of directories with effects
|
||||||
/// * height : The height of the grabbed frames [pixels]
|
/// * bootsequence : The effect selected as 'boot sequence'
|
||||||
/// * frequency_Hz : The frequency of the frame grab [Hz]
|
"effects" :
|
||||||
|
{
|
||||||
|
"paths" :
|
||||||
|
[
|
||||||
|
"/opt/hyperion/effects"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"Bootsequence" :
|
||||||
|
{
|
||||||
|
"effect" : "Rainbow swirl fast",
|
||||||
|
"duration_ms" : 3000
|
||||||
|
},
|
||||||
|
|
||||||
|
/// The configuration for the frame-grabber, contains the following items:
|
||||||
|
/// * width : The width of the grabbed frames [pixels]
|
||||||
|
/// * height : The height of the grabbed frames [pixels]
|
||||||
|
/// * frequency_Hz : The frequency of the frame grab [Hz]
|
||||||
"framegrabber" :
|
"framegrabber" :
|
||||||
{
|
{
|
||||||
"width" : 64,
|
"width" : 64,
|
||||||
"height" : 64,
|
"height" : 64,
|
||||||
"frequency_Hz" : 10.0
|
"frequency_Hz" : 10.0
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -369,12 +390,12 @@
|
|||||||
/// * grabMenu : Flag indicating that the frame-grabber is on(true) in the XBMC menu
|
/// * grabMenu : Flag indicating that the frame-grabber is on(true) in the XBMC menu
|
||||||
"xbmcVideoChecker" :
|
"xbmcVideoChecker" :
|
||||||
{
|
{
|
||||||
"xbmcAddress" : "127.0.0.1",
|
"xbmcAddress" : "127.0.0.1",
|
||||||
"xbmcTcpPort" : 9090,
|
"xbmcTcpPort" : 9090,
|
||||||
"grabVideo" : true,
|
"grabVideo" : true,
|
||||||
"grabPictures" : true,
|
"grabPictures" : true,
|
||||||
"grabAudio" : true,
|
"grabAudio" : true,
|
||||||
"grabMenu" : false
|
"grabMenu" : false
|
||||||
},
|
},
|
||||||
|
|
||||||
/// The configuration of the Json server which enables the json remote interface
|
/// The configuration of the Json server which enables the json remote interface
|
||||||
@ -393,10 +414,10 @@
|
|||||||
|
|
||||||
/// The configuration of the boblight server which enables the boblight remote interface
|
/// The configuration of the boblight server which enables the boblight remote interface
|
||||||
/// * port : Port at which the boblight server is started
|
/// * port : Port at which the boblight server is started
|
||||||
// "boblightServer" :
|
// "boblightServer" :
|
||||||
// {
|
// {
|
||||||
// "port" : 19333
|
// "port" : 19333
|
||||||
// },
|
// },
|
||||||
|
|
||||||
"end-of-json" : "end-of-json"
|
"endOfJson" : "endOfJson"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user