Guest User

Multi's config

a guest
Feb 25th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.15 KB | None | 0 0
  1. // Automatically generated configuration file for 'Hyperion daemon'
  2. // Generated by: HyperCon (The Hyperion deamon configuration file builder
  3.  
  4. {
  5. /// Device configuration contains the following fields:
  6. /// * 'name' : The user friendly name of the device (only used for display purposes)
  7. /// * 'type' : The type of the device or leds (known types for now are 'ws2801', 'ldp8806',
  8. /// 'lpd6803', 'sedu', 'adalight', 'lightpack', 'test' and 'none')
  9. /// * 'output' : The output specification depends on selected device. This can for example be the
  10. /// device specifier, device serial number, or the output file name
  11. /// * 'rate' : The baudrate of the output to the device
  12. /// * 'colorOrder' : The order of the color bytes ('rgb', 'rbg', 'bgr', etc.).
  13. "device" :
  14. {
  15. "name" : "MyPi",
  16. "type" : "ws2801",
  17. "output" : "/dev/spidev0.0",
  18. "rate" : 250000,
  19. "colorOrder" : "rgb"
  20. },
  21.  
  22. /// Color manipulation configuration used to tune the output colors to specific surroundings.
  23. /// The configuration contains a list of color-transforms. Each transform contains the
  24. /// following fields:
  25. /// * '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
  26. /// (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
  27. /// tuning parameters:
  28. /// - 'saturationGain' The gain adjustement of the saturation
  29. /// - 'valueGain' The gain adjustement of the value
  30. /// * 'red'/'green'/'blue' : The manipulation in the Red-Green-Blue color domain with the
  31. /// following tuning parameters for each channel:
  32. /// - 'threshold' The minimum required input value for the channel to be on
  33. /// (else zero)
  34. /// - 'gamma' The gamma-curve correction factor
  35. /// - 'blacklevel' The lowest possible value (when the channel is black)
  36. /// - 'whitelevel' The highest possible value (when the channel is white)
  37. ///
  38. /// Next to the list with color transforms there is also a smoothing option.
  39. /// * 'smoothing' : Smoothing of the colors in the time-domain with the following tuning
  40. /// parameters:
  41. /// - 'type' The type of smoothing algorithm ('linear' or 'none')
  42. /// - 'time_ms' The time constant for smoothing algorithm in milliseconds
  43. /// - 'updateFrequency' The update frequency of the leds in Hz
  44. "color" :
  45. {
  46. "transform" :
  47. [
  48. {
  49. "id" : "default",
  50. "leds" : "*",
  51. "hsv" :
  52. {
  53. "saturationGain" : 1.0000,
  54. "valueGain" : 3.0000
  55. },
  56. "red" :
  57. {
  58. "threshold" : 0.0000,
  59. "gamma" : 1.5000,
  60. "blacklevel" : 0.0000,
  61. "whitelevel" : 1.0000
  62. },
  63. "green" :
  64. {
  65. "threshold" : 0.0000,
  66. "gamma" : 1.5000,
  67. "blacklevel" : 0.0000,
  68. "whitelevel" : 1.0000
  69. },
  70. "blue" :
  71. {
  72. "threshold" : 0.0000,
  73. "gamma" : 1.5000,
  74. "blacklevel" : 0.0000,
  75. "whitelevel" : 1.0000
  76. }
  77. }
  78. ],
  79. "smoothing" :
  80. {
  81. "type" : "linear",
  82. "time_ms" : 200,
  83. "updateFrequency" : 25.0000
  84. }
  85. },
  86.  
  87. /// The configuration for each individual led. This contains the specification of the area
  88. /// averaged of an input image for each led to determine its color. Each item in the list
  89. /// contains the following fields:
  90. /// * index: The index of the led. This determines its location in the string of leds; zero
  91. /// being the first led.
  92. /// * hscan: The fractional part of the image along the horizontal used for the averaging
  93. /// (minimum and maximum inclusive)
  94. /// * vscan: The fractional part of the image along the vertical used for the averaging
  95. /// (minimum and maximum inclusive)
  96. "leds" :
  97. [
  98. {
  99. "index" : 0,
  100. "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
  101. "vscan" : { "minimum" : 0.9000, "maximum" : 1.0000 }
  102. },
  103. {
  104. "index" : 1,
  105. "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
  106. "vscan" : { "minimum" : 0.8000, "maximum" : 0.9000 }
  107. },
  108. {
  109. "index" : 2,
  110. "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
  111. "vscan" : { "minimum" : 0.7000, "maximum" : 0.8000 }
  112. },
  113. {
  114. "index" : 3,
  115. "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
  116. "vscan" : { "minimum" : 0.6000, "maximum" : 0.7000 }
  117. },
  118. {
  119. "index" : 4,
  120. "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
  121. "vscan" : { "minimum" : 0.5000, "maximum" : 0.6000 }
  122. },
  123. {
  124. "index" : 5,
  125. "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
  126. "vscan" : { "minimum" : 0.4000, "maximum" : 0.5000 }
  127. },
  128. {
  129. "index" : 6,
  130. "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
  131. "vscan" : { "minimum" : 0.3000, "maximum" : 0.4000 }
  132. },
  133. {
  134. "index" : 7,
  135. "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
  136. "vscan" : { "minimum" : 0.2000, "maximum" : 0.3000 }
  137. },
  138. {
  139. "index" : 8,
  140. "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
  141. "vscan" : { "minimum" : 0.1000, "maximum" : 0.2000 }
  142. },
  143. {
  144. "index" : 9,
  145. "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
  146. "vscan" : { "minimum" : 0.0000, "maximum" : 0.1000 }
  147. },
  148. {
  149. "index" : 10,
  150. "hscan" : { "minimum" : 0.9412, "maximum" : 1.0000 },
  151. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  152. },
  153. {
  154. "index" : 11,
  155. "hscan" : { "minimum" : 0.8824, "maximum" : 0.9412 },
  156. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  157. },
  158. {
  159. "index" : 12,
  160. "hscan" : { "minimum" : 0.8235, "maximum" : 0.8824 },
  161. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  162. },
  163. {
  164. "index" : 13,
  165. "hscan" : { "minimum" : 0.7647, "maximum" : 0.8235 },
  166. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  167. },
  168. {
  169. "index" : 14,
  170. "hscan" : { "minimum" : 0.7059, "maximum" : 0.7647 },
  171. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  172. },
  173. {
  174. "index" : 15,
  175. "hscan" : { "minimum" : 0.6471, "maximum" : 0.7059 },
  176. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  177. },
  178. {
  179. "index" : 16,
  180. "hscan" : { "minimum" : 0.5882, "maximum" : 0.6471 },
  181. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  182. },
  183. {
  184. "index" : 17,
  185. "hscan" : { "minimum" : 0.5294, "maximum" : 0.5882 },
  186. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  187. },
  188. {
  189. "index" : 18,
  190. "hscan" : { "minimum" : 0.4706, "maximum" : 0.5294 },
  191. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  192. },
  193. {
  194. "index" : 19,
  195. "hscan" : { "minimum" : 0.4118, "maximum" : 0.4706 },
  196. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  197. },
  198. {
  199. "index" : 20,
  200. "hscan" : { "minimum" : 0.3529, "maximum" : 0.4118 },
  201. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  202. },
  203. {
  204. "index" : 21,
  205. "hscan" : { "minimum" : 0.2941, "maximum" : 0.3529 },
  206. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  207. },
  208. {
  209. "index" : 22,
  210. "hscan" : { "minimum" : 0.2353, "maximum" : 0.2941 },
  211. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  212. },
  213. {
  214. "index" : 23,
  215. "hscan" : { "minimum" : 0.1765, "maximum" : 0.2353 },
  216. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  217. },
  218. {
  219. "index" : 24,
  220. "hscan" : { "minimum" : 0.1176, "maximum" : 0.1765 },
  221. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  222. },
  223. {
  224. "index" : 25,
  225. "hscan" : { "minimum" : 0.0588, "maximum" : 0.1176 },
  226. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  227. },
  228. {
  229. "index" : 26,
  230. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0588 },
  231. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0900 }
  232. },
  233. {
  234. "index" : 27,
  235. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
  236. "vscan" : { "minimum" : 0.0000, "maximum" : 0.1000 }
  237. },
  238. {
  239. "index" : 28,
  240. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
  241. "vscan" : { "minimum" : 0.1000, "maximum" : 0.2000 }
  242. },
  243. {
  244. "index" : 29,
  245. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
  246. "vscan" : { "minimum" : 0.2000, "maximum" : 0.3000 }
  247. },
  248. {
  249. "index" : 30,
  250. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
  251. "vscan" : { "minimum" : 0.3000, "maximum" : 0.4000 }
  252. },
  253. {
  254. "index" : 31,
  255. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
  256. "vscan" : { "minimum" : 0.4000, "maximum" : 0.5000 }
  257. },
  258. {
  259. "index" : 32,
  260. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
  261. "vscan" : { "minimum" : 0.5000, "maximum" : 0.6000 }
  262. },
  263. {
  264. "index" : 33,
  265. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
  266. "vscan" : { "minimum" : 0.6000, "maximum" : 0.7000 }
  267. },
  268. {
  269. "index" : 34,
  270. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
  271. "vscan" : { "minimum" : 0.7000, "maximum" : 0.8000 }
  272. },
  273. {
  274. "index" : 35,
  275. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
  276. "vscan" : { "minimum" : 0.8000, "maximum" : 0.9000 }
  277. },
  278. {
  279. "index" : 36,
  280. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
  281. "vscan" : { "minimum" : 0.9000, "maximum" : 1.0000 }
  282. }
  283. ],
  284.  
  285. /// The black border configuration, contains the following items:
  286. /// * enable : true if the detector should be activated
  287. /// * threshold : Value below which a pixel is regarded as black (value between 0.0 and 1.0)
  288. "blackborderdetector" :
  289. {
  290. "enable" : true,
  291. "threshold" : 0.01
  292. },
  293.  
  294. /// The configuration of the effect engine, contains the following items:
  295. /// * paths : An array with absolute location(s) of directories with effects
  296. /// * bootsequence : The effect selected as 'boot sequence'
  297. "effects" :
  298. {
  299. "paths" :
  300. [
  301. "/opt/hyperion/effects"
  302. ]
  303. },
  304.  
  305. "bootsequence" :
  306. {
  307. "effect" : "Rainbow swirl fast",
  308. // "duration_ms" : 4000
  309. "duration_ms" : 2000
  310. },
  311.  
  312. /// The configuration for the frame-grabber, contains the following items:
  313. /// * width : The width of the grabbed frames [pixels]
  314. /// * height : The height of the grabbed frames [pixels]
  315. /// * frequency_Hz : The frequency of the frame grab [Hz]
  316. // "framegrabber" :
  317. // {
  318. // "width" : 72,
  319. // "height" : 58,
  320. // "frequency_Hz" : 16.666666666666668
  321. // },
  322.  
  323. /// Configuration for the embedded V4L2 grabber
  324. /// * device : V4L2 Device to use [default="/dev/video0"]
  325. /// * input : V4L2 input to use [default=0]
  326. /// * standard : Video standard (no-change/PAL/NTSC) [default="no-change"]
  327. /// * width : V4L2 width to set [default=-1]
  328. /// * height : V4L2 height to set [default=-1]
  329. /// * frameDecimation : Frame decimation factor [default=2]
  330. /// * sizeDecimation : Size decimation factor [default=8]
  331. /// * priority : Hyperion priority channel [default=800]
  332. /// * mode : 3D mode to use 2D/3DSBS/3DTAB (note: no autodetection) [default="2D"]
  333. /// * cropLeft : Cropping from the left [default=0]
  334. /// * cropRight : Cropping from the right [default=0]
  335. /// * cropTop : Cropping from the top [default=0]
  336. /// * cropBottom : Cropping from the bottom [default=0]
  337. /// * redSignalThreshold : Signal threshold for the red channel between 0.0 and 1.0 [default=0.0]
  338. /// * greenSignalThreshold : Signal threshold for the green channel between 0.0 and 1.0 [default=0.0]
  339. /// * blueSignalThreshold : Signal threshold for the blue channel between 0.0 and 1.0 [default=0.0]
  340. "grabber-v4l2" :
  341. {
  342. "device" : "/dev/video0",
  343. "input" : 0,
  344. "standard" : "PAL",
  345. "width" : 720,
  346. "height" : 576,
  347. "frameDecimation" : 1,
  348. "sizeDecimation" : 6,
  349. "priority" : 1000,
  350. "mode" : "2D",
  351. "cropLeft" : 5,
  352. "cropRight" : 5,
  353. "cropTop" : 5,
  354. "cropBottom" : 5,
  355. "redSignalThreshold" : 0.15,
  356. "greenSignalThreshold" : 0.15,
  357. "blueSignalThreshold" : 0.15
  358. },
  359.  
  360. /// The configuration of the XBMC connection used to enable and disable the frame-grabber. Contains the following fields:
  361. /// * xbmcAddress : The IP address of the XBMC-host
  362. /// * xbmcTcpPort : The TCP-port of the XBMC-server
  363. /// * grabVideo : Flag indicating that the frame-grabber is on(true) during video playback
  364. /// * grabPictures : Flag indicating that the frame-grabber is on(true) during picture show
  365. /// * grabAudio : Flag indicating that the frame-grabber is on(true) during audio playback
  366. /// * grabMenu : Flag indicating that the frame-grabber is on(true) in the XBMC menu
  367. /// * grabScreensaver : Flag indicating that the frame-grabber is on(true) when XBMC is on screensaver
  368. /// * enable3DDetection : Flag indicating that the frame-grabber should switch to a 3D compatible modus if a 3D video is playing
  369. // "xbmcVideoChecker" :
  370. // {
  371. // "xbmcAddress" : "127.0.0.1",
  372. // "xbmcTcpPort" : 9090,
  373. // "grabVideo" : true,
  374. // "grabPictures" : true,
  375. // "grabAudio" : true,
  376. // "grabMenu" : false,
  377. // "grabScreensaver" : true,
  378. // "enable3DDetection" : true
  379. // },
  380.  
  381. /// The configuration of the Json server which enables the json remote interface
  382. /// * port : Port at which the json server is started
  383. "jsonServer" :
  384. {
  385. "port" : 19444
  386. },
  387.  
  388. /// The configuration of the Proto server which enables the protobuffer remote interface
  389. /// * port : Port at which the protobuffer server is started
  390. "protoServer" :
  391. {
  392. "port" : 19445
  393. },
  394.  
  395. /// The configuration of the boblight server which enables the boblight remote interface
  396. /// * port : Port at which the boblight server is started
  397. // "boblightServer" :
  398. // {
  399. // "port" : 19333
  400. // },
  401.  
  402. "endOfJson" : "endOfJson"
  403. }
Advertisement
Add Comment
Please, Sign In to add comment