Advertisement
Guest User

config for pimatic

a guest
Nov 30th, 2014
410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.74 KB | None | 0 0
  1. {
  2. "settings": {
  3. "debug": true,
  4. "logLevel": "debug",
  5. "httpServer": {
  6. "enabled": true,
  7. "port": 5002
  8. },
  9. "database": {
  10. "deviceAttributeLogging": [
  11. {
  12. "deviceId": "*",
  13. "attributeName": "*",
  14. "time": "7d"
  15. },
  16. {
  17. "deviceId": "*",
  18. "attributeName": "temperature",
  19. "time": "1y"
  20. },
  21. {
  22. "deviceId": "*",
  23. "attributeName": "humidity",
  24. "time": "1y"
  25. }
  26. ],
  27. "messageLogging": [
  28. {
  29. "level": "*",
  30. "tags": [],
  31. "time": "7d"
  32. }
  33. ]
  34. },
  35. "authentication": {
  36. "secret": "xxxxxxxxxx"
  37. },
  38. "httpsServer": {},
  39. "gui": {}
  40. },
  41. "plugins": [
  42. {
  43. "plugin": "cron"
  44. },
  45. {
  46. "plugin": "mobile-frontend"
  47. },
  48. {
  49. "plugin": "pilight"
  50. },
  51. {
  52. "plugin": "dhtxx"
  53. },
  54. {
  55. "plugin": "gpio"
  56. },
  57. {
  58. "plugin": "links",
  59. "links": [
  60. {
  61. "title": "Voordeur Camera",
  62. "url": "http://192.168.1.**/mjpg/video.mjpg",
  63. "target": "iframe"
  64. },
  65. {
  66. "title": "Smartmeter",
  67. "url": "http://192.168.1.**:8300/smartmeter.html",
  68. "target": "iframe"
  69. }
  70. ]
  71. },
  72. {
  73. "plugin": "shell-execute"
  74. },
  75. {
  76. "plugin": "sysinfo"
  77. },
  78. {
  79. "plugin": "weather"
  80. },
  81. {
  82. "plugin": "sunrise"
  83. },
  84. {
  85. "plugin": "ping"
  86. }
  87. ],
  88. "devices": [
  89. {
  90. "id": "pilight-light-1",
  91. "name": "1",
  92. "class": "PilightSwitch",
  93. "inPilightConfig": true,
  94. "location": "light",
  95. "device": "1"
  96. },
  97. {
  98. "id": "pilight-light-2",
  99. "name": "2",
  100. "class": "PilightSwitch",
  101. "inPilightConfig": true,
  102. "location": "light",
  103. "device": "2"
  104. },
  105. {
  106. "id": "pilight-light-3",
  107. "name": "3",
  108. "class": "PilightSwitch",
  109. "inPilightConfig": true,
  110. "location": "light",
  111. "device": "3"
  112. },
  113. {
  114. "id": "pilight-light-4",
  115. "name": "4",
  116. "class": "PilightSwitch",
  117. "inPilightConfig": true,
  118. "location": "light",
  119. "device": "4"
  120. },
  121. {
  122. "id": "pilight-light-5",
  123. "name": "5",
  124. "class": "PilightSwitch",
  125. "inPilightConfig": true,
  126. "location": "light",
  127. "device": "5"
  128. },
  129. {
  130. "id": "pilight-light-6",
  131. "name": "6",
  132. "class": "PilightSwitch",
  133. "inPilightConfig": true,
  134. "location": "light",
  135. "device": "6"
  136. },
  137. {
  138. "id": "pilight-light-7",
  139. "name": "7",
  140. "class": "PilightSwitch",
  141. "inPilightConfig": true,
  142. "location": "light",
  143. "device": "7"
  144. },
  145. {
  146. "id": "pilight-light-8",
  147. "name": "8",
  148. "class": "PilightSwitch",
  149. "inPilightConfig": true,
  150. "location": "light",
  151. "device": "8"
  152. },
  153. {
  154. "id": "binnen-sensor",
  155. "name": "Binnensensor",
  156. "class": "DHTxxSensor",
  157. "type": 11,
  158. "gpio": 4,
  159. "interval": 60000
  160. },
  161. {
  162. "id": "buiten-sensor",
  163. "name": "Buitensensor",
  164. "class": "DHTxxSensor",
  165. "type": 11,
  166. "gpio": 22,
  167. "interval": 60000
  168. },
  169. {
  170. "id": "weather",
  171. "class": "WeatherDevice",
  172. "name": "Breda, Nederland",
  173. "degreeType": "C",
  174. "timeout": 300000
  175. },
  176. {
  177. "class": "SystemSensor",
  178. "id": "syssensor",
  179. "name": "System",
  180. "attributes": [
  181. {
  182. "name": "cpu"
  183. },
  184. {
  185. "name": "memory"
  186. },
  187. {
  188. "name": "diskusage",
  189. "path": "/"
  190. }
  191. ]
  192. },
  193. {
  194. "id": "camera",
  195. "name": "camera",
  196. "class": "url",
  197. "link": [
  198. {
  199. "title": "Voordeur Camera",
  200. "url": "http://192.168.1.**/mjpg/video.mjpg",
  201. "target": "iframe"
  202. }
  203. ]
  204. }
  205. ],
  206. "rules": [],
  207. "pages": [
  208. {
  209. "id": "verlichting",
  210. "name": "Verlichting",
  211. "devices": []
  212. }
  213. ],
  214. "groups": [],
  215. "users": [
  216. {
  217. "username": "admin",
  218. "password": "xxxxxxxxxx",
  219. "role": "admin"
  220. }
  221. ],
  222. "roles": [
  223. {
  224. "name": "admin",
  225. "permissions": {
  226. "pages": "write",
  227. "rules": "write",
  228. "variables": "write",
  229. "messages": "write",
  230. "events": "write",
  231. "devices": "write",
  232. "groups": "write",
  233. "plugins": "write",
  234. "updates": "write",
  235. "controlDevices": true,
  236. "config": "write",
  237. "restart": true
  238. }
  239. }
  240. ],
  241. "variables": []
  242. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement