Guest User

pilight config

a guest
Jan 14th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.16 KB | None | 0 0
  1. {
  2. "devices": {
  3. "mainDimmer": {
  4. "protocol": [ "kaku_dimmer", "kaku_switch" ],
  5. "id": [{
  6. "id": 1234,
  7. "unit": 0
  8. }],
  9. "state": "on",
  10. "dimlevel": 13,
  11. "dimlevel-minimum": 0,
  12. "dimlevel-maximum": 15
  13. },
  14. "bookShelfLight": {
  15. "protocol": [ "kaku_switch" ],
  16. "id": [{
  17. "id": 123456,
  18. "unit": 1
  19. }],
  20. "state": "on"
  21. },
  22. "aanrechtLinks": {
  23. "protocol": [ "kaku_switch" ],
  24. "id": [{
  25. "id": 23456,
  26. "unit": 1
  27. }],
  28. "state": "off"
  29. },
  30. "dioremote": {
  31. "protocol": [ "kaku_switch" ],
  32. "id": [{
  33. "id": 12762702,
  34. "unit": 0
  35. }],
  36. "state": "off"
  37. },
  38. "actionremote": {
  39. "protocol": [ "elro_800_switch" ],
  40. "id": [{
  41. "systemcode": 25,
  42. "unitcode": 28
  43. }],
  44. "state": "off"
  45. },
  46. "actionremote2": {
  47. "protocol": [ "elro_800_switch" ],
  48. "id": [{
  49. "systemcode": 25,
  50. "unitcode": 28
  51. }],
  52. "state": "off"
  53. },
  54. "actionremote3": {
  55. "protocol": [ "elro_800_switch" ],
  56. "id": [{
  57. "systemcode": 25,
  58. "unitcode": 28
  59. }],
  60. "state": "off"
  61. },
  62. "lamp1": {
  63. "protocol": [ "kaku_dimmer", "kaku_switch" ],
  64. "id": [{
  65. "id": 18145722,
  66. "unit": 10
  67. }],
  68. "state": "on",
  69. "dimlevel": 4,
  70. "dimlevel-minimum": 0,
  71. "dimlevel-maximum": 15
  72. },
  73. "lamp2": {
  74. "protocol": [ "kaku_dimmer", "kaku_switch" ],
  75. "id": [{
  76. "id": 18863790,
  77. "unit": 11
  78. }],
  79. "state": "on",
  80. "dimlevel": 1,
  81. "dimlevel-minimum": 0,
  82. "dimlevel-maximum": 15
  83. },
  84. "lamp3": {
  85. "protocol": [ "kaku_dimmer", "kaku_switch" ],
  86. "id": [{
  87. "id": 18863790,
  88. "unit": 10
  89. }],
  90. "state": "off",
  91. "dimlevel": 5,
  92. "dimlevel-minimum": 0,
  93. "dimlevel-maximum": 15
  94. },
  95. "allelampen": {
  96. "protocol": [ "kaku_dimmer", "kaku_switch" ],
  97. "id": [{
  98. "id": 1234,
  99. "unit": 4
  100. }],
  101. "state": "on",
  102. "dimlevel": 9,
  103. "dimlevel-minimum": 0,
  104. "dimlevel-maximum": 15
  105. },
  106. "hallamp": {
  107. "protocol": [ "kaku_switch" ],
  108. "id": [{
  109. "id": 1234,
  110. "unit": 10
  111. }],
  112. "state": "off"
  113. },
  114. "hallwayPIR": {
  115. "protocol": [ "kaku_switch" ],
  116. "id": [{
  117. "id": 18723050,
  118. "unit": 9
  119. }],
  120. "state": "off"
  121. },
  122. "livingcontact": {
  123. "protocol": [ "kaku_switch_old" ],
  124. "id": [{
  125. "id": 4,
  126. "unit": 5
  127. }],
  128. "state": "off"
  129. },
  130. "entrycontact": {
  131. "protocol": [ "kaku_switch_old" ],
  132. "id": [{
  133. "id": 4,
  134. "unit": 8
  135. }],
  136. "state": "off"
  137. }
  138. },
  139. "rules": {
  140. "contact_living": {
  141. "rule": "IF livingcontact.state IS on THEN switch DEVICE livingcontact TO on FOR 5 SECOND AND switch DEVICE livingcontact TO off",
  142. "active": 1
  143. },
  144. "contact_living2": {
  145. "rule": "IF livingcontact.state IS off THEN switch DEVICE livingcontact TO on FOR 5 SECOND AND switch DEVICE livingcontact TO off",
  146. "active": 0
  147. },
  148. "contact_entry": {
  149. "rule": "IF entrycontact.state IS on THEN switch DEVICE entrycontact TO on FOR 5 SECOND AND switch DEVICE entrycontact TO off",
  150. "active": 1
  151. },
  152. "contact_entry2": {
  153. "rule": "IF entrycontact.state IS off THEN switch DEVICE entrycontact TO on FOR 5 SECOND AND switch DEVICE entrycontact TO off",
  154. "active": 0
  155. }
  156. },
  157. "gui": {
  158. "lamp1": {
  159. "name": "Keuken",
  160. "group": [ "Living" ],
  161. "media": [ "web" ]
  162. },
  163. "lamp2": {
  164. "name": "Staande Lamp",
  165. "group": [ "Living" ],
  166. "media": [ "web" ]
  167. },
  168. "lamp3": {
  169. "name": "TV hoek",
  170. "group": [ "Living" ],
  171. "media": [ "web" ]
  172. },
  173. "hallamp": {
  174. "name": "Hal",
  175. "group": [ "Living" ],
  176. "media": [ "web" ]
  177. },
  178. "allelampen": {
  179. "name": "alles (test)",
  180. "group": [ "Living" ],
  181. "media": [ "web" ]
  182. },
  183. "mainDimmer": {
  184. "name": "Dimmer",
  185. "group": [ "Test" ],
  186. "media": [ "web" ]
  187. },
  188. "bookShelfLight": {
  189. "name": "Bookshelf",
  190. "group": [ "Test" ],
  191. "media": [ "web" ]
  192. },
  193. "dioremote": {
  194. "name": "Dio Remote",
  195. "group": [ "Test" ],
  196. "media": [ "web" ],
  197. "readonly": 1
  198. },
  199. "actionremote": {
  200. "name": "actionunit",
  201. "group": [ "Test" ],
  202. "media": [ "web" ]
  203. },
  204. "actionremote2": {
  205. "name": "actionunit2",
  206. "group": [ "Test" ],
  207. "media": [ "web" ]
  208. },
  209. "actionremote3": {
  210. "name": "actionunit3",
  211. "group": [ "Test" ],
  212. "media": [ "web" ]
  213. },
  214. "hallwayPIR": {
  215. "name": "hallwayPIR",
  216. "group": [ "Test" ],
  217. "media": [ "web" ],
  218. "readonly": 1
  219. },
  220. "livingcontact": {
  221. "name": "living contact",
  222. "group": [ "Test" ],
  223. "media": [ "web" ],
  224. "readonly": 1
  225. },
  226. "entrycontact": {
  227. "name": "entry contact",
  228. "group": [ "Test" ],
  229. "media": [ "web" ],
  230. "readonly": 1
  231. },
  232. "aanrechtLinks": {
  233. "name": "aanrecht Links",
  234. "group": [ "Test" ],
  235. "media": [ "web" ]
  236. }
  237. },
  238. "settings": {
  239. "log-level": 6,
  240. "pid-file": "/var/run/pilight.pid",
  241. "log-file": "/var/log/pilight.log",
  242. "webserver-enable": 1,
  243. "webserver-root": "/usr/local/share/pilight/",
  244. "webserver-http-port": 5001,
  245. "webserver-cache": 1,
  246. "port": 5000,
  247. "standalone": 1
  248. },
  249. "hardware": {
  250. "433nano": {
  251. "comport": "/dev/ttyUSB0"
  252. }
  253. },
  254. "registry": {
  255. "pilight": {
  256. "firmware": {
  257. "version": 1,
  258. "lpf": 8,
  259. "hpf": 1600
  260. },
  261. "version": {
  262. "current": "7.0"
  263. }
  264. }
  265. }
  266. }
Advertisement
Add Comment
Please, Sign In to add comment