Guest User

Untitled

a guest
Aug 30th, 2018
65
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 0|gladys | Sending 500 ("Server Error") response:
  2. 0|gladys | TypeError: Cannot read property 'getModel' of undefined
  3. 0|gladys | at Hook.exec (/home/pi/gladys/api/hooks/yeelight/lib/exec.js:7: 23)
  4. 0|gladys | at Hook.wrapper [as exec] (/home/pi/gladys/node_modules/@sailsh q/lodash/lib/index.js:3275:19)
  5. 0|gladys | at /home/pi/gladys/api/core/devicetype/deviceType.exec.js:58:53
  6. 0|gladys | at tryCatcher (/home/pi/gladys/node_modules/bluebird/js/release /util.js:16:23)
  7. 0|gladys | at Promise._settlePromiseFromHandler (/home/pi/gladys/node_modu les/bluebird/js/release/promise.js:512:31)
  8. 0|gladys | at Promise._settlePromise (/home/pi/gladys/node_modules/bluebir d/js/release/promise.js:569:18)
  9. 0|gladys | at Promise._settlePromise0 (/home/pi/gladys/node_modules/bluebi rd/js/release/promise.js:614:10)
  10. 0|gladys | at Promise._settlePromises (/home/pi/gladys/node_modules/bluebi rd/js/release/promise.js:693:18)
  11. 0|gladys | at Promise._fulfill (/home/pi/gladys/node_modules/bluebird/js/r elease/promise.js:638:18)
  12. 0|gladys | at /home/pi/gladys/node_modules/bluebird/js/release/nodeback.js :42:21
  13. 0|gladys | at /home/pi/gladys/node_modules/sails-mysql/lib/connections/spa wn.js:120:16
  14. 0|gladys | at Object.poolfully [as releaseConnection] (/home/pi/gladys/nod e_modules/sails-mysql/lib/connections/release.js:28:12)
  15. 0|gladys | at Query._callback (/home/pi/gladys/node_modules/sails-mysql/li b/connections/spawn.js:105:35)
  16. 0|gladys | at Query.Sequence.end (/home/pi/gladys/node_modules/mysql/lib/p rotocol/sequences/Sequence.js:96:24)
  17. 0|gladys | at Query._handleFinalResultPacket (/home/pi/gladys/node_modules /mysql/lib/protocol/sequences/Query.js:144:8)
  18. 0|gladys | at Query.EofPacket (/home/pi/gladys/node_modules/mysql/lib/prot ocol/sequences/Query.js:128:8)
  19. 0|gladys | at Protocol._parsePacket (/home/pi/gladys/node_modules/mysql/li b/protocol/Protocol.js:280:23)
  20. 0|gladys | at Parser.write (/home/pi/gladys/node_modules/mysql/lib/protoco l/Parser.js:73:12)
  21. 0|gladys | at Protocol.write (/home/pi/gladys/node_modules/mysql/lib/proto col/Protocol.js:39:16)
  22. 0|gladys | at Socket.<anonymous> (/home/pi/gladys/node_modules/mysql/lib/C onnection.js:96:28)
  23. 0|gladys | at emitOne (events.js:116:13)
  24. 0|gladys | at Socket.emit (events.js:211:7)
  25. 0|gladys | at addChunk (_stream_readable.js:263:12)
  26. 0|gladys | at readableAddChunk (_stream_readable.js:250:11)
  27. 0|gladys | at Socket.Readable.push (_stream_readable.js:208:10)
  28. 0|gladys | at TCP.onread (net.js:594:20)
  29. 0|gladys | Server Error:
  30. 0|gladys | TypeError: Cannot read property 'getModel' of undefined
  31. 0|gladys | at Hook.exec (/home/pi/gladys/api/hooks/yeelight/lib/exec.js:7: 23)
  32. 0|gladys | at Hook.wrapper [as exec] (/home/pi/gladys/node_modules/@sailsh q/lodash/lib/index.js:3275:19)
  33. 0|gladys | at /home/pi/gladys/api/core/devicetype/deviceType.exec.js:58:53
  34. 0|gladys | at tryCatcher (/home/pi/gladys/node_modules/bluebird/js/release /util.js:16:23)
  35. 0|gladys | at Promise._settlePromiseFromHandler (/home/pi/gladys/node_modu les/bluebird/js/release/promise.js:512:31)
  36. 0|gladys | at Promise._settlePromise (/home/pi/gladys/node_modules/bluebir d/js/release/promise.js:569:18)
  37. 0|gladys | at Promise._settlePromise0 (/home/pi/gladys/node_modules/bluebi rd/js/release/promise.js:614:10)
  38. 0|gladys | at Promise._settlePromises (/home/pi/gladys/node_modules/bluebi rd/js/release/promise.js:693:18)
  39. 0|gladys | at Promise._fulfill (/home/pi/gladys/node_modules/bluebird/js/r elease/promise.js:638:18)
  40. 0|gladys | at /home/pi/gladys/node_modules/bluebird/js/release/nodeback.js :42:21
  41. 0|gladys | at /home/pi/gladys/node_modules/sails-mysql/lib/connections/spa wn.js:120:16
  42. 0|gladys | at Object.poolfully [as releaseConnection] (/home/pi/gladys/nod e_modules/sails-mysql/lib/connections/release.js:28:12)
  43. 0|gladys | at Query._callback (/home/pi/gladys/node_modules/sails-mysql/li b/connections/spawn.js:105:35)
  44. 0|gladys | at Query.Sequence.end (/home/pi/gladys/node_modules/mysql/lib/p rotocol/sequences/Sequence.js:96:24)
  45. 0|gladys | at Query._handleFinalResultPacket (/home/pi/gladys/node_modules /mysql/lib/protocol/sequences/Query.js:144:8)
  46. 0|gladys | at Query.EofPacket (/home/pi/gladys/node_modules/mysql/lib/prot ocol/sequences/Query.js:128:8)
  47. 0|gladys | at Protocol._parsePacket (/home/pi/gladys/node_modules/mysql/li b/protocol/Protocol.js:280:23)
  48. 0|gladys | at Parser.write (/home/pi/gladys/node_modules/mysql/lib/protoco l/Parser.js:73:12)
  49. 0|gladys | at Protocol.write (/home/pi/gladys/node_modules/mysql/lib/proto col/Protocol.js:39:16)
  50. 0|gladys | at Socket.<anonymous> (/home/pi/gladys/node_modules/mysql/lib/C onnection.js:96:28)
  51. 0|gladys | at emitOne (events.js:116:13)
  52. 0|gladys | at Socket.emit (events.js:211:7)
  53. 0|gladys | at addChunk (_stream_readable.js:263:12)
  54. 0|gladys | at readableAddChunk (_stream_readable.js:250:11)
  55. 0|gladys | at Socket.Readable.push (_stream_readable.js:208:10)
  56. 0|gladys | at TCP.onread (net.js:594:20)
  57. 0|gladys | Yeelight - Device : 0x000000000538364f (color) initialized
  58. 0|gladys | Yeelight - Power: off, Bright: 50, Hue: 359, Sat: 100
  59. 0|gladys | Event : create : new Event with code : devicetype-new-value
  60. 0|gladys | Event : create : new Event with code : devicetype-new-value
  61. 0|gladys | Event : create : new Event with code : devicetype-new-value
  62. 0|gladys | Event : create : new Event with code : devicetype-new-value
  63. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  64. 0|gladys | Yeelight - state hue created
  65. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  66. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  67. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  68. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-val ue.
  69. 0|gladys | Yeelight - state brightness created
  70. 0|gladys | Yeelight - state power created
  71. 0|gladys | Yeelight - state saturation created
  72. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-val ue.
  73. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-val ue.
  74. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-val ue.
  75. 0|gladys | Event : create : new Event with code : devicetype-new-value
  76. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  77. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-val ue.
  78. 0|gladys | Event : create : new Event with code : devicetype-new-value
  79. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  80. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-val ue.
  81. 0|gladys | Sending 500 ("Server Error") response:
  82. 0|gladys | TypeError: Cannot read property 'getModel' of undefined
  83. 0|gladys | at Hook.exec (/home/pi/gladys/api/hooks/yeelight/lib/exec.js:7: 23)
  84. 0|gladys | at Hook.wrapper [as exec] (/home/pi/gladys/node_modules/@sailsh q/lodash/lib/index.js:3275:19)
  85. 0|gladys | at /home/pi/gladys/api/core/devicetype/deviceType.exec.js:58:53
  86. 0|gladys | at tryCatcher (/home/pi/gladys/node_modules/bluebird/js/release /util.js:16:23)
  87. 0|gladys | at Promise._settlePromiseFromHandler (/home/pi/gladys/node_modu les/bluebird/js/release/promise.js:512:31)
  88. 0|gladys | at Promise._settlePromise (/home/pi/gladys/node_modules/bluebir d/js/release/promise.js:569:18)
  89. 0|gladys | at Promise._settlePromise0 (/home/pi/gladys/node_modules/bluebi rd/js/release/promise.js:614:10)
  90. 0|gladys | at Promise._settlePromises (/home/pi/gladys/node_modules/bluebi rd/js/release/promise.js:693:18)
  91. 0|gladys | at Promise._fulfill (/home/pi/gladys/node_modules/bluebird/js/r elease/promise.js:638:18)
  92. 0|gladys | at /home/pi/gladys/node_modules/bluebird/js/release/nodeback.js :42:21
  93. 0|gladys | at /home/pi/gladys/node_modules/sails-mysql/lib/connections/spa wn.js:120:16
  94. 0|gladys | at Object.poolfully [as releaseConnection] (/home/pi/gladys/nod e_modules/sails-mysql/lib/connections/release.js:28:12)
  95. 0|gladys | at Query._callback (/home/pi/gladys/node_modules/sails-mysql/li b/connections/spawn.js:105:35)
  96. 0|gladys | at Query.Sequence.end (/home/pi/gladys/node_modules/mysql/lib/p rotocol/sequences/Sequence.js:96:24)
  97. 0|gladys | at Query._handleFinalResultPacket (/home/pi/gladys/node_modules /mysql/lib/protocol/sequences/Query.js:144:8)
  98. 0|gladys | at Query.EofPacket (/home/pi/gladys/node_modules/mysql/lib/prot ocol/sequences/Query.js:128:8)
  99. 0|gladys | at Protocol._parsePacket (/home/pi/gladys/node_modules/mysql/li b/protocol/Protocol.js:280:23)
  100. 0|gladys | at Parser.write (/home/pi/gladys/node_modules/mysql/lib/protoco l/Parser.js:73:12)
  101. 0|gladys | at Protocol.write (/home/pi/gladys/node_modules/mysql/lib/proto col/Protocol.js:39:16)
  102. 0|gladys | at Socket.<anonymous> (/home/pi/gladys/node_modules/mysql/lib/C onnection.js:96:28)
  103. 0|gladys | at emitOne (events.js:116:13)
  104. 0|gladys | at Socket.emit (events.js:211:7)
  105. 0|gladys | at addChunk (_stream_readable.js:263:12)
  106. 0|gladys | at readableAddChunk (_stream_readable.js:250:11)
  107. 0|gladys | at Socket.Readable.push (_stream_readable.js:208:10)
  108. 0|gladys | at TCP.onread (net.js:594:20)
  109. 0|gladys | Server Error:
  110. 0|gladys | TypeError: Cannot read property 'getModel' of undefined
  111. 0|gladys | at Hook.exec (/home/pi/gladys/api/hooks/yeelight/lib/exec.js:7: 23)
  112. 0|gladys | at Hook.wrapper [as exec] (/home/pi/gladys/node_modules/@sailsh q/lodash/lib/index.js:3275:19)
  113. 0|gladys | at /home/pi/gladys/api/core/devicetype/deviceType.exec.js:58:53
  114. 0|gladys | at tryCatcher (/home/pi/gladys/node_modules/bluebird/js/release /util.js:16:23)
  115. 0|gladys | at Promise._settlePromiseFromHandler (/home/pi/gladys/node_modu les/bluebird/js/release/promise.js:512:31)
  116. 0|gladys | at Promise._settlePromise (/home/pi/gladys/node_modules/bluebir d/js/release/promise.js:569:18)
  117. 0|gladys | at Promise._settlePromise0 (/home/pi/gladys/node_modules/bluebi rd/js/release/promise.js:614:10)
  118. 0|gladys | at Promise._settlePromises (/home/pi/gladys/node_modules/bluebi rd/js/release/promise.js:693:18)
  119. 0|gladys | at Promise._fulfill (/home/pi/gladys/node_modules/bluebird/js/r elease/promise.js:638:18)
  120. 0|gladys | at /home/pi/gladys/node_modules/bluebird/js/release/nodeback.js :42:21
  121. 0|gladys | at /home/pi/gladys/node_modules/sails-mysql/lib/connections/spa wn.js:120:16
  122. 0|gladys | at Object.poolfully [as releaseConnection] (/home/pi/gladys/nod e_modules/sails-mysql/lib/connections/release.js:28:12)
  123. 0|gladys | at Query._callback (/home/pi/gladys/node_modules/sails-mysql/li b/connections/spawn.js:105:35)
  124. 0|gladys | at Query.Sequence.end (/home/pi/gladys/node_modules/mysql/lib/p rotocol/sequences/Sequence.js:96:24)
  125. 0|gladys | at Query._handleFinalResultPacket (/home/pi/gladys/node_modules /mysql/lib/protocol/sequences/Query.js:144:8)
  126. 0|gladys | at Query.EofPacket (/home/pi/gladys/node_modules/mysql/lib/prot ocol/sequences/Query.js:128:8)
  127. 0|gladys | at Protocol._parsePacket (/home/pi/gladys/node_modules/mysql/li b/protocol/Protocol.js:280:23)
  128. 0|gladys | at Parser.write (/home/pi/gladys/node_modules/mysql/lib/protoco l/Parser.js:73:12)
  129. 0|gladys | at Protocol.write (/home/pi/gladys/node_modules/mysql/lib/proto col/Protocol.js:39:16)
  130. 0|gladys | at Socket.<anonymous> (/home/pi/gladys/node_modules/mysql/lib/C onnection.js:96:28)
  131. 0|gladys | at emitOne (events.js:116:13)
  132. 0|gladys | at Socket.emit (events.js:211:7)
  133. 0|gladys | at addChunk (_stream_readable.js:263:12)
  134. 0|gladys | at readableAddChunk (_stream_readable.js:250:11)
  135. 0|gladys | at Socket.Readable.push (_stream_readable.js:208:10)
  136. 0|gladys | at TCP.onread (net.js:594:20)
  137. 0|gladys | Yeelight - Device : 0x000000000538593a (color) initialized
  138. 0|gladys | Yeelight - Power: on, Bright: 50, Hue: 359, Sat: 100
  139. 0|gladys | Event : create : new Event with code : devicetype-new-value
  140. 0|gladys | Event : create : new Event with code : devicetype-new-value
  141. 0|gladys | Event : create : new Event with code : devicetype-new-value
  142. 0|gladys | Event : create : new Event with code : devicetype-new-value
  143. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  144. 0|gladys | Yeelight - state power created
  145. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  146. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  147. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  148. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  149. 0|gladys | Yeelight - state brightness created
  150. 0|gladys | Yeelight - state saturation created
  151. 0|gladys | Yeelight - state hue created
  152. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  153. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  154. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  155. 0|gladys | Event : create : new Event with code : devicetype-new-value
  156. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  157. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  158. 0|gladys | Event : create : new Event with code : devicetype-new-value
  159. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  160. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  161. 0|gladys | Event : create : new Event with code : devicetype-new-value
  162. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  163. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  164. 0|gladys | Event : create : new Event with code : devicetype-new-value
  165. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  166. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  167. 0|gladys | Event : create : new Event with code : devicetype-new-value
  168. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  169. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  170. 0|gladys | Event : create : new Event with code : devicetype-new-value
  171. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  172. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  173. 0|gladys | Event : create : new Event with code : devicetype-new-value
  174. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  175. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  176. 0|gladys | Event : create : new Event with code : devicetype-new-value
  177. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  178. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  179. 0|gladys | Event : create : new Event with code : devicetype-new-value
  180. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  181. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  182. 0|gladys | Event : create : new Event with code : devicetype-new-value
  183. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  184. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  185. 0|gladys | Event : create : new Event with code : devicetype-new-value
  186. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  187. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  188. 0|gladys | Event : create : new Event with code : devicetype-new-value
  189. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  190. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  191. 0|gladys | Event : create : new Event with code : devicetype-new-value
  192. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  193. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  194. 0|gladys | Network scan completed. Found 1 devices.
  195. 0|gladys | Event : create : new Event with code : devicetype-new-value
  196. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  197. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  198. 0|gladys | Event : create : new Event with code : devicetype-new-value
  199. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  200. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  201. 0|gladys | Event : create : new Event with code : devicetype-new-value
  202. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  203. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  204. 0|gladys | Event : create : new Event with code : devicetype-new-value
  205. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  206. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  207. 0|gladys | Event : create : new Event with code : devicetype-new-value
  208. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  209. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  210. 0|gladys | Event : create : new Event with code : devicetype-new-value
  211. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  212. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  213. 0|gladys | Event : create : new Event with code : devicetype-new-value
  214. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  215. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  216. 0|gladys | Event : create : new Event with code : devicetype-new-value
  217. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  218. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  219. 0|gladys | Event : create : new Event with code : devicetype-new-value
  220. 0|gladys | Scenario : Trigger : New event : devicetype-new-value
  221. 0|gladys | Scenario : Trigger : Found 0 launchers with code devicetype-new-value.
  222. 0|gladys | Event : create : new Event with code : devicetype-new-value
  223. 0|gladys | SyntaxError: Unexpected token { in JSON at position 28
  224. 0|gladys | at JSON.parse (<anonymous>)
  225. 0|gladys | at Yeelight.formatResponse (/home/pi/gladys/api/hooks/yeelight/node_modules/yeelight-wifi/build/Yeelight.js:241:25)
  226. 0|gladys | at emitOne (events.js:116:13)
  227. 0|gladys | at Socket.emit (events.js:211:7)
  228. 0|gladys | at addChunk (_stream_readable.js:263:12)
  229. 0|gladys | at readableAddChunk (_stream_readable.js:250:11)
  230. 0|gladys | at Socket.Readable.push (_stream_readable.js:208:10)
  231. 0|gladys | at TCP.onread (net.js:594:20)
RAW Paste Data