Guest User

Untitled

a guest
May 28th, 2015
313
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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" : "debut",
  50. "leds" : "0-49",
  51. "hsv" :
  52. {
  53. "saturationGain" : 1.0000,
  54. "valueGain" : 1.0000
  55. },
  56. "red" :
  57. {
  58. "threshold" : 0.2000,
  59. "gamma" : 1.0000,
  60. "blacklevel" : 0.0000,
  61. "whitelevel" : 0.9500
  62. },
  63. "green" :
  64. {
  65. "threshold" : 0.2000,
  66. "gamma" : 1.0000,
  67. "blacklevel" : 0.0000,
  68. "whitelevel" : 1.1000
  69. },
  70. "blue" :
  71. {
  72. "threshold" : 0.2000,
  73. "gamma" : 1.0000,
  74. "blacklevel" : 0.0000,
  75. "whitelevel" : 0.7000
  76. }
  77. },
  78.  
  79. {
  80. "id" : "suite",
  81. "leds" : "50-103",
  82. "hsv" :
  83. {
  84. "saturationGain" : 1.0000,
  85. "valueGain" : 1.0000
  86. },
  87. "red" :
  88. {
  89. "threshold" : 0.2000,
  90. "gamma" : 1.2000,
  91. "blacklevel" : 0.0000,
  92. "whitelevel" : 0.1700
  93. },
  94. "green" :
  95. {
  96. "threshold" : 0.2000,
  97. "gamma" : 1.6000,
  98. "blacklevel" : 0.0000,
  99. "whitelevel" : 0.2000
  100. },
  101. "blue" :
  102. {
  103. "threshold" : 0.2000,
  104. "gamma" : 1.5000,
  105. "blacklevel" : 0.0000,
  106. "whitelevel" : 0.1000
  107. }
  108. }
  109. ],
  110.  
  111. "smoothing" :
  112. {
  113. "type" : "linear",
  114. "time_ms" : 100,
  115. "updateFrequency" : 25.0000
  116. }
  117. },
  118.  
  119.  
  120. /// The configuration for each individual led. This contains the specification of the area
  121. /// averaged of an input image for each led to determine its color. Each item in the list
  122. /// contains the following fields:
  123. /// * index: The index of the led. This determines its location in the string of leds; zero
  124. /// being the first led.
  125. /// * hscan: The fractional part of the image along the horizontal used for the averaging
  126. /// (minimum and maximum inclusive)
  127. /// * vscan: The fractional part of the image along the vertical used for the averaging
  128. /// (minimum and maximum inclusive)
  129. "leds" :
  130. [
  131. {
  132. "index" : 0,
  133. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  134. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  135. },
  136. {
  137. "index" : 1,
  138. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  139. "vscan" : { "minimum" : 0.9375, "maximum" : 1.0000 }
  140. },
  141. {
  142. "index" : 2,
  143. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  144. "vscan" : { "minimum" : 0.8750, "maximum" : 0.9375 }
  145. },
  146. {
  147. "index" : 3,
  148. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  149. "vscan" : { "minimum" : 0.8125, "maximum" : 0.8750 }
  150. },
  151. {
  152. "index" : 4,
  153. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  154. "vscan" : { "minimum" : 0.7500, "maximum" : 0.8125 }
  155. },
  156. {
  157. "index" : 5,
  158. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  159. "vscan" : { "minimum" : 0.6875, "maximum" : 0.7500 }
  160. },
  161. {
  162. "index" : 6,
  163. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  164. "vscan" : { "minimum" : 0.6250, "maximum" : 0.6875 }
  165. },
  166. {
  167. "index" : 7,
  168. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  169. "vscan" : { "minimum" : 0.5625, "maximum" : 0.6250 }
  170. },
  171. {
  172. "index" : 8,
  173. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  174. "vscan" : { "minimum" : 0.5000, "maximum" : 0.5625 }
  175. },
  176. {
  177. "index" : 9,
  178. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  179. "vscan" : { "minimum" : 0.4375, "maximum" : 0.5000 }
  180. },
  181. {
  182. "index" : 10,
  183. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  184. "vscan" : { "minimum" : 0.3750, "maximum" : 0.4375 }
  185. },
  186. {
  187. "index" : 11,
  188. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  189. "vscan" : { "minimum" : 0.3125, "maximum" : 0.3750 }
  190. },
  191. {
  192. "index" : 12,
  193. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  194. "vscan" : { "minimum" : 0.2500, "maximum" : 0.3125 }
  195. },
  196. {
  197. "index" : 13,
  198. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  199. "vscan" : { "minimum" : 0.1875, "maximum" : 0.2500 }
  200. },
  201. {
  202. "index" : 14,
  203. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  204. "vscan" : { "minimum" : 0.1250, "maximum" : 0.1875 }
  205. },
  206. {
  207. "index" : 15,
  208. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  209. "vscan" : { "minimum" : 0.0625, "maximum" : 0.1250 }
  210. },
  211. {
  212. "index" : 16,
  213. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  214. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0625 }
  215. },
  216. {
  217. "index" : 17,
  218. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  219. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  220. },
  221. {
  222. "index" : 18,
  223. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0294 },
  224. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  225. },
  226. {
  227. "index" : 19,
  228. "hscan" : { "minimum" : 0.0294, "maximum" : 0.0588 },
  229. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  230. },
  231. {
  232. "index" : 20,
  233. "hscan" : { "minimum" : 0.0588, "maximum" : 0.0882 },
  234. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  235. },
  236. {
  237. "index" : 21,
  238. "hscan" : { "minimum" : 0.0882, "maximum" : 0.1176 },
  239. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  240. },
  241. {
  242. "index" : 22,
  243. "hscan" : { "minimum" : 0.1176, "maximum" : 0.1471 },
  244. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  245. },
  246. {
  247. "index" : 23,
  248. "hscan" : { "minimum" : 0.1471, "maximum" : 0.1765 },
  249. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  250. },
  251. {
  252. "index" : 24,
  253. "hscan" : { "minimum" : 0.1765, "maximum" : 0.2059 },
  254. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  255. },
  256. {
  257. "index" : 25,
  258. "hscan" : { "minimum" : 0.2059, "maximum" : 0.2353 },
  259. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  260. },
  261. {
  262. "index" : 26,
  263. "hscan" : { "minimum" : 0.2353, "maximum" : 0.2647 },
  264. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  265. },
  266. {
  267. "index" : 27,
  268. "hscan" : { "minimum" : 0.2647, "maximum" : 0.2941 },
  269. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  270. },
  271. {
  272. "index" : 28,
  273. "hscan" : { "minimum" : 0.2941, "maximum" : 0.3235 },
  274. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  275. },
  276. {
  277. "index" : 29,
  278. "hscan" : { "minimum" : 0.3235, "maximum" : 0.3529 },
  279. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  280. },
  281. {
  282. "index" : 30,
  283. "hscan" : { "minimum" : 0.3529, "maximum" : 0.3824 },
  284. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  285. },
  286. {
  287. "index" : 31,
  288. "hscan" : { "minimum" : 0.3824, "maximum" : 0.4118 },
  289. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  290. },
  291. {
  292. "index" : 32,
  293. "hscan" : { "minimum" : 0.4118, "maximum" : 0.4412 },
  294. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  295. },
  296. {
  297. "index" : 33,
  298. "hscan" : { "minimum" : 0.4412, "maximum" : 0.4706 },
  299. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  300. },
  301. {
  302. "index" : 34,
  303. "hscan" : { "minimum" : 0.4706, "maximum" : 0.5000 },
  304. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  305. },
  306. {
  307. "index" : 35,
  308. "hscan" : { "minimum" : 0.5000, "maximum" : 0.5294 },
  309. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  310. },
  311. {
  312. "index" : 36,
  313. "hscan" : { "minimum" : 0.5294, "maximum" : 0.5588 },
  314. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  315. },
  316. {
  317. "index" : 37,
  318. "hscan" : { "minimum" : 0.5588, "maximum" : 0.5882 },
  319. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  320. },
  321. {
  322. "index" : 38,
  323. "hscan" : { "minimum" : 0.5882, "maximum" : 0.6176 },
  324. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  325. },
  326. {
  327. "index" : 39,
  328. "hscan" : { "minimum" : 0.6176, "maximum" : 0.6471 },
  329. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  330. },
  331. {
  332. "index" : 40,
  333. "hscan" : { "minimum" : 0.6471, "maximum" : 0.6765 },
  334. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  335. },
  336. {
  337. "index" : 41,
  338. "hscan" : { "minimum" : 0.6765, "maximum" : 0.7059 },
  339. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  340. },
  341. {
  342. "index" : 42,
  343. "hscan" : { "minimum" : 0.7059, "maximum" : 0.7353 },
  344. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  345. },
  346. {
  347. "index" : 43,
  348. "hscan" : { "minimum" : 0.7353, "maximum" : 0.7647 },
  349. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  350. },
  351. {
  352. "index" : 44,
  353. "hscan" : { "minimum" : 0.7647, "maximum" : 0.7941 },
  354. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  355. },
  356. {
  357. "index" : 45,
  358. "hscan" : { "minimum" : 0.7941, "maximum" : 0.8235 },
  359. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  360. },
  361. {
  362. "index" : 46,
  363. "hscan" : { "minimum" : 0.8235, "maximum" : 0.8529 },
  364. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  365. },
  366. {
  367. "index" : 47,
  368. "hscan" : { "minimum" : 0.8529, "maximum" : 0.8824 },
  369. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  370. },
  371. {
  372. "index" : 48,
  373. "hscan" : { "minimum" : 0.8824, "maximum" : 0.9118 },
  374. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  375. },
  376. {
  377. "index" : 49,
  378. "hscan" : { "minimum" : 0.9118, "maximum" : 0.9412 },
  379. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  380. },
  381. {
  382. "index" : 50,
  383. "hscan" : { "minimum" : 0.9412, "maximum" : 0.9706 },
  384. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  385. },
  386. {
  387. "index" : 51,
  388. "hscan" : { "minimum" : 0.9706, "maximum" : 1.0000 },
  389. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  390. },
  391. {
  392. "index" : 52,
  393. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  394. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0600 }
  395. },
  396. {
  397. "index" : 53,
  398. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  399. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0625 }
  400. },
  401. {
  402. "index" : 54,
  403. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  404. "vscan" : { "minimum" : 0.0625, "maximum" : 0.1250 }
  405. },
  406. {
  407. "index" : 55,
  408. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  409. "vscan" : { "minimum" : 0.1250, "maximum" : 0.1875 }
  410. },
  411. {
  412. "index" : 56,
  413. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  414. "vscan" : { "minimum" : 0.1875, "maximum" : 0.2500 }
  415. },
  416. {
  417. "index" : 57,
  418. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  419. "vscan" : { "minimum" : 0.2500, "maximum" : 0.3125 }
  420. },
  421. {
  422. "index" : 58,
  423. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  424. "vscan" : { "minimum" : 0.3125, "maximum" : 0.3750 }
  425. },
  426. {
  427. "index" : 59,
  428. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  429. "vscan" : { "minimum" : 0.3750, "maximum" : 0.4375 }
  430. },
  431. {
  432. "index" : 60,
  433. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  434. "vscan" : { "minimum" : 0.4375, "maximum" : 0.5000 }
  435. },
  436. {
  437. "index" : 61,
  438. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  439. "vscan" : { "minimum" : 0.5000, "maximum" : 0.5625 }
  440. },
  441. {
  442. "index" : 62,
  443. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  444. "vscan" : { "minimum" : 0.5625, "maximum" : 0.6250 }
  445. },
  446. {
  447. "index" : 63,
  448. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  449. "vscan" : { "minimum" : 0.6250, "maximum" : 0.6875 }
  450. },
  451. {
  452. "index" : 64,
  453. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  454. "vscan" : { "minimum" : 0.6875, "maximum" : 0.7500 }
  455. },
  456. {
  457. "index" : 65,
  458. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  459. "vscan" : { "minimum" : 0.7500, "maximum" : 0.8125 }
  460. },
  461. {
  462. "index" : 66,
  463. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  464. "vscan" : { "minimum" : 0.8125, "maximum" : 0.8750 }
  465. },
  466. {
  467. "index" : 67,
  468. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  469. "vscan" : { "minimum" : 0.8750, "maximum" : 0.9375 }
  470. },
  471. {
  472. "index" : 68,
  473. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  474. "vscan" : { "minimum" : 0.9375, "maximum" : 1.0000 }
  475. },
  476. {
  477. "index" : 69,
  478. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  479. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  480. },
  481. {
  482. "index" : 70,
  483. "hscan" : { "minimum" : 0.9706, "maximum" : 1.0000 },
  484. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  485. },
  486. {
  487. "index" : 71,
  488. "hscan" : { "minimum" : 0.9412, "maximum" : 0.9706 },
  489. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  490. },
  491. {
  492. "index" : 72,
  493. "hscan" : { "minimum" : 0.9118, "maximum" : 0.9412 },
  494. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  495. },
  496. {
  497. "index" : 73,
  498. "hscan" : { "minimum" : 0.8824, "maximum" : 0.9118 },
  499. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  500. },
  501. {
  502. "index" : 74,
  503. "hscan" : { "minimum" : 0.8529, "maximum" : 0.8824 },
  504. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  505. },
  506. {
  507. "index" : 75,
  508. "hscan" : { "minimum" : 0.8235, "maximum" : 0.8529 },
  509. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  510. },
  511. {
  512. "index" : 76,
  513. "hscan" : { "minimum" : 0.7941, "maximum" : 0.8235 },
  514. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  515. },
  516. {
  517. "index" : 77,
  518. "hscan" : { "minimum" : 0.7647, "maximum" : 0.7941 },
  519. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  520. },
  521. {
  522. "index" : 78,
  523. "hscan" : { "minimum" : 0.7353, "maximum" : 0.7647 },
  524. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  525. },
  526. {
  527. "index" : 79,
  528. "hscan" : { "minimum" : 0.7059, "maximum" : 0.7353 },
  529. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  530. },
  531. {
  532. "index" : 80,
  533. "hscan" : { "minimum" : 0.6765, "maximum" : 0.7059 },
  534. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  535. },
  536. {
  537. "index" : 81,
  538. "hscan" : { "minimum" : 0.6471, "maximum" : 0.6765 },
  539. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  540. },
  541. {
  542. "index" : 82,
  543. "hscan" : { "minimum" : 0.6176, "maximum" : 0.6471 },
  544. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  545. },
  546. {
  547. "index" : 83,
  548. "hscan" : { "minimum" : 0.5882, "maximum" : 0.6176 },
  549. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  550. },
  551. {
  552. "index" : 84,
  553. "hscan" : { "minimum" : 0.5588, "maximum" : 0.5882 },
  554. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  555. },
  556. {
  557. "index" : 85,
  558. "hscan" : { "minimum" : 0.5294, "maximum" : 0.5588 },
  559. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  560. },
  561. {
  562. "index" : 86,
  563. "hscan" : { "minimum" : 0.5000, "maximum" : 0.5294 },
  564. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  565. },
  566. {
  567. "index" : 87,
  568. "hscan" : { "minimum" : 0.4706, "maximum" : 0.5000 },
  569. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  570. },
  571. {
  572. "index" : 88,
  573. "hscan" : { "minimum" : 0.4412, "maximum" : 0.4706 },
  574. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  575. },
  576. {
  577. "index" : 89,
  578. "hscan" : { "minimum" : 0.4118, "maximum" : 0.4412 },
  579. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  580. },
  581. {
  582. "index" : 90,
  583. "hscan" : { "minimum" : 0.3824, "maximum" : 0.4118 },
  584. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  585. },
  586. {
  587. "index" : 91,
  588. "hscan" : { "minimum" : 0.3529, "maximum" : 0.3824 },
  589. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  590. },
  591. {
  592. "index" : 92,
  593. "hscan" : { "minimum" : 0.3235, "maximum" : 0.3529 },
  594. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  595. },
  596. {
  597. "index" : 93,
  598. "hscan" : { "minimum" : 0.2941, "maximum" : 0.3235 },
  599. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  600. },
  601. {
  602. "index" : 94,
  603. "hscan" : { "minimum" : 0.2647, "maximum" : 0.2941 },
  604. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  605. },
  606. {
  607. "index" : 95,
  608. "hscan" : { "minimum" : 0.2353, "maximum" : 0.2647 },
  609. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  610. },
  611. {
  612. "index" : 96,
  613. "hscan" : { "minimum" : 0.2059, "maximum" : 0.2353 },
  614. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  615. },
  616. {
  617. "index" : 97,
  618. "hscan" : { "minimum" : 0.1765, "maximum" : 0.2059 },
  619. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  620. },
  621. {
  622. "index" : 98,
  623. "hscan" : { "minimum" : 0.1471, "maximum" : 0.1765 },
  624. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  625. },
  626. {
  627. "index" : 99,
  628. "hscan" : { "minimum" : 0.1176, "maximum" : 0.1471 },
  629. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  630. },
  631. {
  632. "index" : 100,
  633. "hscan" : { "minimum" : 0.0882, "maximum" : 0.1176 },
  634. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  635. },
  636. {
  637. "index" : 101,
  638. "hscan" : { "minimum" : 0.0588, "maximum" : 0.0882 },
  639. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  640. },
  641. {
  642. "index" : 102,
  643. "hscan" : { "minimum" : 0.0294, "maximum" : 0.0588 },
  644. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  645. },
  646. {
  647. "index" : 103,
  648. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0294 },
  649. "vscan" : { "minimum" : 0.9400, "maximum" : 1.0000 }
  650. }
  651. ],
  652.  
  653.  
  654.  
  655. /// The black border configuration, contains the following items:
  656. /// * enable : true if the detector should be activated
  657. /// * threshold : Value below which a pixel is regarded as black (value between 0.0 and 1.0)
  658. "blackborderdetector" :
  659. {
  660. "enable" : false,
  661. "threshold" : 0.01
  662. },
  663.  
  664. /// The configuration of the effect engine, contains the following items:
  665. /// * paths : An array with absolute location(s) of directories with effects
  666. /// * bootsequence : The effect selected as 'boot sequence'
  667. "effects" :
  668. {
  669. "paths" :
  670. [
  671. "/opt/hyperion/effects"
  672. ]
  673. },
  674.  
  675. // "bootsequence" :
  676. // {
  677. // "effect" : "Rainbow swirl fast",
  678. // "duration_ms" : 3000
  679. // },
  680.  
  681. /// The configuration for the frame-grabber, contains the following items:
  682. /// * width : The width of the grabbed frames [pixels]
  683. /// * height : The height of the grabbed frames [pixels]
  684. /// * frequency_Hz : The frequency of the frame grab [Hz]
  685. "framegrabber" :
  686. {
  687. "width" : 64,
  688. "height" : 64,
  689. "frequency_Hz" : 10.0
  690. },
  691.  
  692. /// The configuration of the XBMC connection used to enable and disable the frame-grabber. Contains the following fields:
  693. /// * xbmcAddress : The IP address of the XBMC-host
  694. /// * xbmcTcpPort : The TCP-port of the XBMC-server
  695. /// * grabVideo : Flag indicating that the frame-grabber is on(true) during video playback
  696. /// * grabPictures : Flag indicating that the frame-grabber is on(true) during picture show
  697. /// * grabAudio : Flag indicating that the frame-grabber is on(true) during audio playback
  698. /// * grabMenu : Flag indicating that the frame-grabber is on(true) in the XBMC menu
  699. /// * grabScreensaver : Flag indicating that the frame-grabber is on(true) when XBMC is on screensaver
  700. /// * enable3DDetection : Flag indicating that the frame-grabber should switch to a 3D compatible modus if a 3D video is playing
  701. "xbmcVideoChecker" :
  702. {
  703. "xbmcAddress" : "192.168.1.25",
  704. "xbmcTcpPort" : 9090,
  705. "grabVideo" : true,
  706. "grabPictures" : true,
  707. "grabAudio" : true,
  708. "grabMenu" : false,
  709. "grabScreensaver" : true,
  710. "enable3DDetection" : true
  711. },
  712.  
  713. /// The configuration of the Json server which enables the json remote interface
  714. /// * port : Port at which the json server is started
  715. "jsonServer" :
  716. {
  717. "port" : 19444
  718. },
  719.  
  720. /// The configuration of the Proto server which enables the protobuffer remote interface
  721. /// * port : Port at which the protobuffer server is started
  722. "protoServer" :
  723. {
  724. "port" : 19445
  725. },
  726.  
  727. /// The configuration of the boblight server which enables the boblight remote interface
  728. /// * port : Port at which the boblight server is started
  729. // "boblightServer" :
  730. // {
  731. // "port" : 19333
  732. // },
  733.  
  734. "endOfJson" : "endOfJson"
  735. }
RAW Paste Data