marcelstoop

config.json

May 4th, 2015
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. {
  2. "//": "Please only change this file when pimatic is NOT running, otherwise pimatic will overwrite your changes.",
  3. "settings": {
  4. "debug": true,
  5. "loglevel": "debug",
  6. "httpServer": {
  7. "enabled": true,
  8. "port": 80
  9. },
  10. "database": {
  11. "deviceAttributeLogging": [
  12. {
  13. "deviceId": "*",
  14. "attributeName": "*",
  15. "type": "*",
  16. "interval": "0",
  17. "expire": "7d"
  18. },
  19. {
  20. "deviceId": "*",
  21. "attributeName": "*",
  22. "type": "continuous",
  23. "interval": "5min",
  24. "expire": "7d"
  25. },
  26. {
  27. "deviceId": "*",
  28. "attributeName": "temperature",
  29. "type": "number",
  30. "expire": "1y"
  31. },
  32. {
  33. "deviceId": "*",
  34. "attributeName": "humidity",
  35. "type": "number",
  36. "expire": "1y"
  37. }
  38. ],
  39. "messageLogging": [
  40. {
  41. "level": "*",
  42. "tags": [],
  43. "expire": "7d"
  44. },
  45. {
  46. "level": "debug",
  47. "tags": [],
  48. "expire": "0"
  49. }
  50. ]
  51. },
  52. "authentication": {
  53. "secret": "xxx"
  54. },
  55. "httpsServer": {},
  56. "gui": {}
  57. },
  58. "plugins": [
  59. {
  60. "plugin": "cron"
  61. },
  62. {
  63. "plugin": "mobile-frontend",
  64. "mode": "development"
  65. },
  66. {
  67. "plugin": "weather"
  68. },
  69. {
  70. "plugin": "homeduino",
  71. "driver": "serialport",
  72. "driveroptions": {
  73. "serialDevice": "/dev/ttyUSB0",
  74. "baudrate": 115200
  75. },
  76. "receiverPin": 0,
  77. "transmitterPin": 4
  78. }
  79. ],
  80. "devices": [
  81. {
  82. "id": "Eetkamerlamp",
  83. "name": "Eetkamerlamp",
  84. "class": "HomeduinoRFSwitch",
  85. "protocols": [
  86. {
  87. "name": "switch1",
  88. "options": {
  89. "id": 15267566,
  90. "unit": 0
  91. }
  92. }
  93. ]
  94. },
  95. {
  96. "id": "Stalamp",
  97. "name": "Stalamp",
  98. "class": "HomeduinoRFSwitch",
  99. "protocols": [
  100. {
  101. "name": "switch1",
  102. "options": {
  103. "id": 15267566,
  104. "unit": 1
  105. }
  106. }
  107. ]
  108. }
  109. ],
  110. "rules": [],
  111. "pages": [
  112. {
  113. "id": "woonkamer",
  114. "name": "Woonkamer",
  115. "devices": [
  116. {
  117. "deviceId": "Eetkamerlamp"
  118. },
  119. {
  120. "deviceId": "Stalamp"
  121. }
  122. ]
  123. }
  124. ],
  125. "groups": [],
  126. "users": [
  127. {
  128. "username": "admin",
  129. "password": "xxx",
  130. "role": "admin"
  131. }
  132. ],
  133. "roles": [
  134. {
  135. "name": "admin",
  136. "permissions": {
  137. "pages": "write",
  138. "rules": "write",
  139. "variables": "write",
  140. "messages": "write",
  141. "events": "write",
  142. "devices": "write",
  143. "groups": "write",
  144. "plugins": "write",
  145. "updates": "write",
  146. "database": "write",
  147. "config": "write",
  148. "controlDevices": true,
  149. "restart": true
  150. }
  151. }
  152. ],
  153. "variables": []
  154. }
Advertisement
Add Comment
Please, Sign In to add comment