Guest User

Untitled

a guest
Jan 2nd, 2014
168
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" : "default",
  50. "leds" : "*",
  51. "hsv" :
  52. {
  53. "saturationGain" : 1.0000,
  54. "valueGain" : 1.0000
  55. },
  56. "red" :
  57. {
  58. "threshold" : 0.0000,
  59. "gamma" : 1.0000,
  60. "blacklevel" : 0.0000,
  61. "whitelevel" : 1.0000
  62. },
  63. "green" :
  64. {
  65. "threshold" : 0.0000,
  66. "gamma" : 1.0000,
  67. "blacklevel" : 0.0000,
  68. "whitelevel" : 1.0000
  69. },
  70. "blue" :
  71. {
  72. "threshold" : 0.0000,
  73. "gamma" : 1.0000,
  74. "blacklevel" : 0.0000,
  75. "whitelevel" : 1.0000
  76. }
  77. }
  78. ],
  79. "smoothing" :
  80. {
  81. "type" : "none",
  82. "time_ms" : 200,
  83. "updateFrequency" : 20.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.0000, "maximum" : 0.0345 },
  101. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  102. },
  103. {
  104. "index" : 1,
  105. "hscan" : { "minimum" : 0.0345, "maximum" : 0.0690 },
  106. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  107. },
  108. {
  109. "index" : 2,
  110. "hscan" : { "minimum" : 0.0690, "maximum" : 0.1034 },
  111. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  112. },
  113. {
  114. "index" : 3,
  115. "hscan" : { "minimum" : 0.1034, "maximum" : 0.1379 },
  116. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  117. },
  118. {
  119. "index" : 4,
  120. "hscan" : { "minimum" : 0.1379, "maximum" : 0.1724 },
  121. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  122. },
  123. {
  124. "index" : 5,
  125. "hscan" : { "minimum" : 0.1724, "maximum" : 0.2069 },
  126. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  127. },
  128. {
  129. "index" : 6,
  130. "hscan" : { "minimum" : 0.2069, "maximum" : 0.2414 },
  131. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  132. },
  133. {
  134. "index" : 7,
  135. "hscan" : { "minimum" : 0.2414, "maximum" : 0.2759 },
  136. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  137. },
  138. {
  139. "index" : 8,
  140. "hscan" : { "minimum" : 0.2759, "maximum" : 0.3103 },
  141. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  142. },
  143. {
  144. "index" : 9,
  145. "hscan" : { "minimum" : 0.3103, "maximum" : 0.3448 },
  146. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  147. },
  148. {
  149. "index" : 10,
  150. "hscan" : { "minimum" : 0.3448, "maximum" : 0.3793 },
  151. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  152. },
  153. {
  154. "index" : 11,
  155. "hscan" : { "minimum" : 0.3793, "maximum" : 0.4138 },
  156. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  157. },
  158. {
  159. "index" : 12,
  160. "hscan" : { "minimum" : 0.4138, "maximum" : 0.4483 },
  161. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  162. },
  163. {
  164. "index" : 13,
  165. "hscan" : { "minimum" : 0.4483, "maximum" : 0.4828 },
  166. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  167. },
  168. {
  169. "index" : 14,
  170. "hscan" : { "minimum" : 0.4828, "maximum" : 0.5172 },
  171. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  172. },
  173. {
  174. "index" : 15,
  175. "hscan" : { "minimum" : 0.5172, "maximum" : 0.5517 },
  176. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  177. },
  178. {
  179. "index" : 16,
  180. "hscan" : { "minimum" : 0.5517, "maximum" : 0.5862 },
  181. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  182. },
  183. {
  184. "index" : 17,
  185. "hscan" : { "minimum" : 0.5862, "maximum" : 0.6207 },
  186. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  187. },
  188. {
  189. "index" : 18,
  190. "hscan" : { "minimum" : 0.6207, "maximum" : 0.6552 },
  191. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  192. },
  193. {
  194. "index" : 19,
  195. "hscan" : { "minimum" : 0.6552, "maximum" : 0.6897 },
  196. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  197. },
  198. {
  199. "index" : 20,
  200. "hscan" : { "minimum" : 0.6897, "maximum" : 0.7241 },
  201. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  202. },
  203. {
  204. "index" : 21,
  205. "hscan" : { "minimum" : 0.7241, "maximum" : 0.7586 },
  206. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  207. },
  208. {
  209. "index" : 22,
  210. "hscan" : { "minimum" : 0.7586, "maximum" : 0.7931 },
  211. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  212. },
  213. {
  214. "index" : 23,
  215. "hscan" : { "minimum" : 0.7931, "maximum" : 0.8276 },
  216. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  217. },
  218. {
  219. "index" : 24,
  220. "hscan" : { "minimum" : 0.8276, "maximum" : 0.8621 },
  221. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  222. },
  223. {
  224. "index" : 25,
  225. "hscan" : { "minimum" : 0.8621, "maximum" : 0.8966 },
  226. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  227. },
  228. {
  229. "index" : 26,
  230. "hscan" : { "minimum" : 0.8966, "maximum" : 0.9310 },
  231. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  232. },
  233. {
  234. "index" : 27,
  235. "hscan" : { "minimum" : 0.9310, "maximum" : 0.9655 },
  236. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  237. },
  238. {
  239. "index" : 28,
  240. "hscan" : { "minimum" : 0.9655, "maximum" : 1.0000 },
  241. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
  242. },
  243. {
  244. "index" : 29,
  245. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  246. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0556 }
  247. },
  248. {
  249. "index" : 30,
  250. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  251. "vscan" : { "minimum" : 0.0556, "maximum" : 0.1111 }
  252. },
  253. {
  254. "index" : 31,
  255. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  256. "vscan" : { "minimum" : 0.1111, "maximum" : 0.1667 }
  257. },
  258. {
  259. "index" : 32,
  260. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  261. "vscan" : { "minimum" : 0.1667, "maximum" : 0.2222 }
  262. },
  263. {
  264. "index" : 33,
  265. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  266. "vscan" : { "minimum" : 0.2222, "maximum" : 0.2778 }
  267. },
  268. {
  269. "index" : 34,
  270. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  271. "vscan" : { "minimum" : 0.2778, "maximum" : 0.3333 }
  272. },
  273. {
  274. "index" : 35,
  275. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  276. "vscan" : { "minimum" : 0.3333, "maximum" : 0.3889 }
  277. },
  278. {
  279. "index" : 36,
  280. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  281. "vscan" : { "minimum" : 0.3889, "maximum" : 0.4444 }
  282. },
  283. {
  284. "index" : 37,
  285. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  286. "vscan" : { "minimum" : 0.4444, "maximum" : 0.5000 }
  287. },
  288. {
  289. "index" : 38,
  290. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  291. "vscan" : { "minimum" : 0.5000, "maximum" : 0.5556 }
  292. },
  293. {
  294. "index" : 39,
  295. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  296. "vscan" : { "minimum" : 0.5556, "maximum" : 0.6111 }
  297. },
  298. {
  299. "index" : 40,
  300. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  301. "vscan" : { "minimum" : 0.6111, "maximum" : 0.6667 }
  302. },
  303. {
  304. "index" : 41,
  305. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  306. "vscan" : { "minimum" : 0.6667, "maximum" : 0.7222 }
  307. },
  308. {
  309. "index" : 42,
  310. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  311. "vscan" : { "minimum" : 0.7222, "maximum" : 0.7778 }
  312. },
  313. {
  314. "index" : 43,
  315. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  316. "vscan" : { "minimum" : 0.7778, "maximum" : 0.8333 }
  317. },
  318. {
  319. "index" : 44,
  320. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  321. "vscan" : { "minimum" : 0.8333, "maximum" : 0.8889 }
  322. },
  323. {
  324. "index" : 45,
  325. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  326. "vscan" : { "minimum" : 0.8889, "maximum" : 0.9444 }
  327. },
  328. {
  329. "index" : 46,
  330. "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
  331. "vscan" : { "minimum" : 0.9444, "maximum" : 1.0000 }
  332. },
  333. {
  334. "index" : 47,
  335. "hscan" : { "minimum" : 0.9655, "maximum" : 1.0000 },
  336. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  337. },
  338. {
  339. "index" : 48,
  340. "hscan" : { "minimum" : 0.9310, "maximum" : 0.9655 },
  341. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  342. },
  343. {
  344. "index" : 49,
  345. "hscan" : { "minimum" : 0.8966, "maximum" : 0.9310 },
  346. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  347. },
  348. {
  349. "index" : 50,
  350. "hscan" : { "minimum" : 0.8621, "maximum" : 0.8966 },
  351. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  352. },
  353. {
  354. "index" : 51,
  355. "hscan" : { "minimum" : 0.8276, "maximum" : 0.8621 },
  356. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  357. },
  358. {
  359. "index" : 52,
  360. "hscan" : { "minimum" : 0.7931, "maximum" : 0.8276 },
  361. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  362. },
  363. {
  364. "index" : 53,
  365. "hscan" : { "minimum" : 0.7586, "maximum" : 0.7931 },
  366. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  367. },
  368. {
  369. "index" : 54,
  370. "hscan" : { "minimum" : 0.7241, "maximum" : 0.7586 },
  371. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  372. },
  373. {
  374. "index" : 55,
  375. "hscan" : { "minimum" : 0.6897, "maximum" : 0.7241 },
  376. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  377. },
  378. {
  379. "index" : 56,
  380. "hscan" : { "minimum" : 0.6552, "maximum" : 0.6897 },
  381. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  382. },
  383. {
  384. "index" : 57,
  385. "hscan" : { "minimum" : 0.6207, "maximum" : 0.6552 },
  386. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  387. },
  388. {
  389. "index" : 58,
  390. "hscan" : { "minimum" : 0.5862, "maximum" : 0.6207 },
  391. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  392. },
  393. {
  394. "index" : 59,
  395. "hscan" : { "minimum" : 0.5517, "maximum" : 0.5862 },
  396. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  397. },
  398. {
  399. "index" : 60,
  400. "hscan" : { "minimum" : 0.5172, "maximum" : 0.5517 },
  401. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  402. },
  403. {
  404. "index" : 61,
  405. "hscan" : { "minimum" : 0.4828, "maximum" : 0.5172 },
  406. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  407. },
  408. {
  409. "index" : 62,
  410. "hscan" : { "minimum" : 0.4483, "maximum" : 0.4828 },
  411. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  412. },
  413. {
  414. "index" : 63,
  415. "hscan" : { "minimum" : 0.4138, "maximum" : 0.4483 },
  416. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  417. },
  418. {
  419. "index" : 64,
  420. "hscan" : { "minimum" : 0.3793, "maximum" : 0.4138 },
  421. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  422. },
  423. {
  424. "index" : 65,
  425. "hscan" : { "minimum" : 0.3448, "maximum" : 0.3793 },
  426. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  427. },
  428. {
  429. "index" : 66,
  430. "hscan" : { "minimum" : 0.3103, "maximum" : 0.3448 },
  431. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  432. },
  433. {
  434. "index" : 67,
  435. "hscan" : { "minimum" : 0.2759, "maximum" : 0.3103 },
  436. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  437. },
  438. {
  439. "index" : 68,
  440. "hscan" : { "minimum" : 0.2414, "maximum" : 0.2759 },
  441. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  442. },
  443. {
  444. "index" : 69,
  445. "hscan" : { "minimum" : 0.2069, "maximum" : 0.2414 },
  446. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  447. },
  448. {
  449. "index" : 70,
  450. "hscan" : { "minimum" : 0.1724, "maximum" : 0.2069 },
  451. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  452. },
  453. {
  454. "index" : 71,
  455. "hscan" : { "minimum" : 0.1379, "maximum" : 0.1724 },
  456. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  457. },
  458. {
  459. "index" : 72,
  460. "hscan" : { "minimum" : 0.1034, "maximum" : 0.1379 },
  461. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  462. },
  463. {
  464. "index" : 73,
  465. "hscan" : { "minimum" : 0.0690, "maximum" : 0.1034 },
  466. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  467. },
  468. {
  469. "index" : 74,
  470. "hscan" : { "minimum" : 0.0345, "maximum" : 0.0690 },
  471. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  472. },
  473. {
  474. "index" : 75,
  475. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0345 },
  476. "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
  477. },
  478. {
  479. "index" : 76,
  480. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  481. "vscan" : { "minimum" : 0.9444, "maximum" : 1.0000 }
  482. },
  483. {
  484. "index" : 77,
  485. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  486. "vscan" : { "minimum" : 0.8889, "maximum" : 0.9444 }
  487. },
  488. {
  489. "index" : 78,
  490. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  491. "vscan" : { "minimum" : 0.8333, "maximum" : 0.8889 }
  492. },
  493. {
  494. "index" : 79,
  495. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  496. "vscan" : { "minimum" : 0.7778, "maximum" : 0.8333 }
  497. },
  498. {
  499. "index" : 80,
  500. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  501. "vscan" : { "minimum" : 0.7222, "maximum" : 0.7778 }
  502. },
  503. {
  504. "index" : 81,
  505. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  506. "vscan" : { "minimum" : 0.6667, "maximum" : 0.7222 }
  507. },
  508. {
  509. "index" : 82,
  510. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  511. "vscan" : { "minimum" : 0.6111, "maximum" : 0.6667 }
  512. },
  513. {
  514. "index" : 83,
  515. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  516. "vscan" : { "minimum" : 0.5556, "maximum" : 0.6111 }
  517. },
  518. {
  519. "index" : 84,
  520. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  521. "vscan" : { "minimum" : 0.5000, "maximum" : 0.5556 }
  522. },
  523. {
  524. "index" : 85,
  525. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  526. "vscan" : { "minimum" : 0.4444, "maximum" : 0.5000 }
  527. },
  528. {
  529. "index" : 86,
  530. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  531. "vscan" : { "minimum" : 0.3889, "maximum" : 0.4444 }
  532. },
  533. {
  534. "index" : 87,
  535. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  536. "vscan" : { "minimum" : 0.3333, "maximum" : 0.3889 }
  537. },
  538. {
  539. "index" : 88,
  540. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  541. "vscan" : { "minimum" : 0.2778, "maximum" : 0.3333 }
  542. },
  543. {
  544. "index" : 89,
  545. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  546. "vscan" : { "minimum" : 0.2222, "maximum" : 0.2778 }
  547. },
  548. {
  549. "index" : 90,
  550. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  551. "vscan" : { "minimum" : 0.1667, "maximum" : 0.2222 }
  552. },
  553. {
  554. "index" : 91,
  555. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  556. "vscan" : { "minimum" : 0.1111, "maximum" : 0.1667 }
  557. },
  558. {
  559. "index" : 92,
  560. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  561. "vscan" : { "minimum" : 0.0556, "maximum" : 0.1111 }
  562. },
  563. {
  564. "index" : 93,
  565. "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
  566. "vscan" : { "minimum" : 0.0000, "maximum" : 0.0556 }
  567. }
  568. ],
  569.  
  570. /// The black border configuration, contains the following items:
  571. /// * enable : true if the detector should be activated
  572. "blackborderdetector" :
  573. {
  574. "enable" : true
  575. },
  576.  
  577. /// The configuration of the effect engine, contains the following items:
  578. /// * paths : An array with absolute location(s) of directories with effects
  579. /// * bootsequence : The effect selected as 'boot sequence'
  580. "effects" :
  581. {
  582. "paths" :
  583. [
  584. "/opt/hyperion/effects"
  585. ]
  586. },
  587.  
  588. "bootsequence" :
  589. {
  590. "effect" : "Rainbow swirl fast",
  591. "duration_ms" : 3000
  592. },
  593.  
  594. /// The configuration for the frame-grabber, contains the following items:
  595. /// * width : The width of the grabbed frames [pixels]
  596. /// * height : The height of the grabbed frames [pixels]
  597. /// * frequency_Hz : The frequency of the frame grab [Hz]
  598. "framegrabber" :
  599. {
  600. "width" : 72,
  601. "height" : 58,
  602. "frequency_Hz" : 10.0
  603. },
  604.  
  605. /// The configuration of the XBMC connection used to enable and disable the frame-grabber. Contains the following fields:
  606. /// * xbmcAddress : The IP address of the XBMC-host
  607. /// * xbmcTcpPort : The TCP-port of the XBMC-server
  608. /// * grabVideo : Flag indicating that the frame-grabber is on(true) during video playback
  609. /// * grabPictures : Flag indicating that the frame-grabber is on(true) during picture show
  610. /// * grabAudio : Flag indicating that the frame-grabber is on(true) during audio playback
  611. /// * grabMenu : Flag indicating that the frame-grabber is on(true) in the XBMC menu
  612. /// * grabScreensaver : Flag indicating that the frame-grabber is on(true) when XBMC is on screensaver
  613. /// * enable3DDetection : Flag indicating that the frame-grabber should switch to a 3D compatible modus if a 3D video is playing
  614. // "xbmcVideoChecker" :
  615. // {
  616. // "xbmcAddress" : "127.0.0.1",
  617. // "xbmcTcpPort" : 9090,
  618. // "grabVideo" : true,
  619. // "grabPictures" : true,
  620. // "grabAudio" : true,
  621. // "grabMenu" : false,
  622. // "grabScreensaver" : true,
  623. // "enable3DDetection" : true
  624. // },
  625.  
  626. /// The configuration of the Json server which enables the json remote interface
  627. /// * port : Port at which the json server is started
  628. "jsonServer" :
  629. {
  630. "port" : 19444
  631. },
  632.  
  633. /// The configuration of the Proto server which enables the protobuffer remote interface
  634. /// * port : Port at which the protobuffer server is started
  635. // "protoServer" :
  636. // {
  637. // "port" : 19445
  638. // },
  639.  
  640. /// The configuration of the boblight server which enables the boblight remote interface
  641. /// * port : Port at which the boblight server is started
  642. // "boblightServer" :
  643. // {
  644. // "port" : 19333
  645. // },
  646.  
  647. "endOfJson" : "endOfJson"
  648. }
RAW Paste Data