Advertisement
Guest User

Untitled

a guest
Nov 21st, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.92 KB | None | 0 0
  1. 2018-11-21 16:41:16.567 [DEBUG] [inding.miio.handler.MiIoBasicHandler] - Locating action for channel power: ON
  2.  
  3. 2018-11-21 16:41:16.574 [DEBUG] [inding.miio.handler.MiIoBasicHandler] - Sending command set_power["on"]
  4.  
  5. 2018-11-21 16:41:16.579 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":5347,"method":"set_power","params":["on"]} -> 10.0.0.148 (Device: 0443DBCD token: 8C91747B4A1CB9BB215A2788909BE0DA Queue: 1)
  6.  
  7. 2018-11-21 16:41:16.595 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Sending Ping 0443DBCD (10.0.0.148)
  8.  
  9. 2018-11-21 16:41:16.601 [TRACE] [nal.transport.MiIoAsyncCommunication] - Connection 10.0.0.148:36646
  10.  
  11. 2018-11-21 16:41:16.606 [TRACE] [nal.transport.MiIoAsyncCommunication] - Message Details:Message:
  12.  
  13. Header : 21 31 00 40 00 00 00 00 04 43 DB CD 00 2B 55 5D
  14.  
  15. checksum: 31 29 25 7D 2F 33 6E 69 96 2A 90 31 AB DE 6A E0
  16.  
  17. content : D2 A8 E7 F8 80 95 C4 63 4F 10 B3 19 67 2E E6 B3 67 60 7E 5A E3 42 18 5E E7 89 F1 15 CD 03 CD 78
  18.  
  19. Header Details: Magic:21 31
  20.  
  21. Length: 64
  22.  
  23. Serial: 04 43 DB CD
  24.  
  25. TS:1970-02-02 21:51:41
  26.  
  27. 2018-11-21 16:41:16.610 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Ping 0443DBCD (10.0.0.148) success
  28.  
  29. 2018-11-21 16:41:16.615 [TRACE] [nal.transport.MiIoAsyncCommunication] - inform listener org.openhab.binding.miio.handler.MiIoBasicHandler@1ee20a6, data ONLINE from NONE
  30.  
  31. 2018-11-21 16:41:16.619 [DEBUG] [inding.miio.handler.MiIoBasicHandler] - Periodic update for 'miio:generic:0443DBCD' (miio:basic)
  32.  
  33. 2018-11-21 16:41:16.624 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Sending Ping 0443DBCD (10.0.0.148)
  34.  
  35. 2018-11-21 16:41:16.626 [TRACE] [nal.transport.MiIoAsyncCommunication] - Connection 10.0.0.148:36646
  36.  
  37. 2018-11-21 16:41:16.632 [TRACE] [nal.transport.MiIoAsyncCommunication] - Message Details:Message:
  38.  
  39. Header : 21 31 00 20 00 00 00 00 04 43 DB CD 00 2B 55 74
  40.  
  41. checksum: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  42.  
  43. content : N/A
  44.  
  45. Header Details: Magic:21 31
  46.  
  47. Length: 32
  48.  
  49. Serial: 04 43 DB CD
  50.  
  51. TS:1970-02-02 21:52:04
  52.  
  53. 2018-11-21 16:41:16.635 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Ping 0443DBCD (10.0.0.148) success
  54.  
  55. 2018-11-21 16:41:16.638 [TRACE] [nal.transport.MiIoAsyncCommunication] - inform listener org.openhab.binding.miio.handler.MiIoBasicHandler@1ee20a6, data ONLINE from NONE
  56.  
  57. 2018-11-21 16:41:16.645 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":5348,"method":"get_prop","params":["power","bright","delayoff","ct","color_mode"]} -> 10.0.0.148 (Device: 0443DBCD token: 8C91747B4A1CB9BB215A2788909BE0DA Queue: 2)
  58.  
  59. 2018-11-21 16:41:16.647 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Sending Ping 0443DBCD (10.0.0.148)
  60.  
  61. 2018-11-21 16:41:16.650 [TRACE] [nal.transport.MiIoAsyncCommunication] - Connection 10.0.0.148:36646
  62.  
  63. 2018-11-21 16:41:16.652 [TRACE] [nal.transport.MiIoAsyncCommunication] - Message Details:Message:
  64.  
  65. Header : 21 31 00 20 00 00 00 00 04 43 DB CD 00 2B 55 74
  66.  
  67. checksum: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  68.  
  69. content : N/A
  70.  
  71. Header Details: Magic:21 31
  72.  
  73. Length: 32
  74.  
  75. Serial: 04 43 DB CD
  76.  
  77. TS:1970-02-02 21:52:04
  78.  
  79. 2018-11-21 16:41:16.654 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Ping 0443DBCD (10.0.0.148) success
  80.  
  81. 2018-11-21 16:41:16.655 [TRACE] [nal.transport.MiIoAsyncCommunication] - inform listener org.openhab.binding.miio.handler.MiIoBasicHandler@1ee20a6, data ONLINE from NONE
  82.  
  83. 2018-11-21 16:41:16.659 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":5349,"method":"get_prop","params":["name"]} -> 10.0.0.148 (Device: 0443DBCD token: 8C91747B4A1CB9BB215A2788909BE0DA Queue: 3)
  84.  
  85. 2018-11-21 16:41:16.662 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Sending Ping 0443DBCD (10.0.0.148)
  86.  
  87. 2018-11-21 16:41:16.663 [TRACE] [nal.transport.MiIoAsyncCommunication] - Connection 10.0.0.148:36646
  88.  
  89. 2018-11-21 16:41:16.666 [TRACE] [nal.transport.MiIoAsyncCommunication] - Message Details:Message:
  90.  
  91. Header : 21 31 00 20 00 00 00 00 04 43 DB CD 00 2B 55 74
  92.  
  93. checksum: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  94.  
  95. content : N/A
  96.  
  97. Header Details: Magic:21 31
  98.  
  99. Length: 32
  100.  
  101. Serial: 04 43 DB CD
  102.  
  103. TS:1970-02-02 21:52:04
  104.  
  105. 2018-11-21 16:41:16.667 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Ping 0443DBCD (10.0.0.148) success
  106.  
  107. 2018-11-21 16:41:16.669 [TRACE] [nal.transport.MiIoAsyncCommunication] - inform listener org.openhab.binding.miio.handler.MiIoBasicHandler@1ee20a6, data ONLINE from NONE
  108.  
  109. 2018-11-21 16:41:16.679 [TRACE] [nal.transport.MiIoAsyncCommunication] - Connection 10.0.0.148:36646
  110.  
  111. 2018-11-21 16:41:16.682 [TRACE] [nal.transport.MiIoAsyncCommunication] - Message Details:Message:
  112.  
  113. Header : 21 31 00 20 00 00 00 00 04 43 DB CD 00 2B 55 74
  114.  
  115. checksum: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  116.  
  117. content : N/A
  118.  
  119. Header Details: Magic:21 31
  120.  
  121. Length: 32
  122.  
  123. Serial: 04 43 DB CD
  124.  
  125. TS:1970-02-02 21:52:04
  126.  
  127. 2018-11-21 16:41:16.684 [TRACE] [nal.transport.MiIoAsyncCommunication] - Received response from 10.0.0.148:
  128.  
  129. 2018-11-21 16:41:16.685 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Received message is invalid JSON:
  130.  
  131. 2018-11-21 16:41:16.686 [TRACE] [nal.transport.MiIoAsyncCommunication] - inform listener org.openhab.binding.miio.handler.MiIoBasicHandler@1ee20a6, data org.openhab.binding.miio.internal.MiIoSendCommand@bfcdba from org.openhab.binding.miio.internal.MiIoSendCommand@bfcdba
  132.  
  133. 2018-11-21 16:41:16.687 [DEBUG] [ing.miio.handler.MiIoAbstractHandler] - Received response for 0443DBCD type: SET_POWER, result: null, fullresponse: {"error":"Received message is invalid JSON"}
  134.  
  135. 2018-11-21 16:41:16.689 [DEBUG] [ing.miio.handler.MiIoAbstractHandler] - Error received: "Received message is invalid JSON"
  136.  
  137. 2018-11-21 16:41:16.692 [TRACE] [nal.transport.MiIoAsyncCommunication] - Connection 10.0.0.148:36646
  138.  
  139. 2018-11-21 16:41:16.694 [TRACE] [nal.transport.MiIoAsyncCommunication] - Message Details:Message:
  140.  
  141. Header : 21 31 00 40 00 00 00 00 04 43 DB CD 00 2B 55 74
  142.  
  143. checksum: 4E 12 67 63 99 1E 1D 4D 62 8B E1 41 F0 55 99 96
  144.  
  145. content : 5F 70 64 57 4D 0F 4D CA 19 E6 11 BB 1A 62 11 54 D6 9A 27 23 AE 10 13 93 3D 8E D5 9E 28 7A F3 9C
  146.  
  147. Header Details: Magic:21 31
  148.  
  149. Length: 64
  150.  
  151. Serial: 04 43 DB CD
  152.  
  153. TS:1970-02-02 21:52:04
  154.  
  155. 2018-11-21 16:41:16.696 [TRACE] [nal.transport.MiIoAsyncCommunication] - Received response from 10.0.0.148: {"result":["ok"],"id":5347}
  156.  
  157. 2018-11-21 16:41:16.697 [TRACE] [nal.transport.MiIoAsyncCommunication] - Received JSON message {"result":["ok"],"id":5347}
  158.  
  159. 2018-11-21 16:41:16.698 [TRACE] [nal.transport.MiIoAsyncCommunication] - inform listener org.openhab.binding.miio.handler.MiIoBasicHandler@1ee20a6, data org.openhab.binding.miio.internal.MiIoSendCommand@1cb446 from org.openhab.binding.miio.internal.MiIoSendCommand@1cb446
  160.  
  161. 2018-11-21 16:41:16.700 [DEBUG] [ing.miio.handler.MiIoAbstractHandler] - Received response for 0443DBCD type: GET_PROPERTY, result: ["ok"], fullresponse: {"result":["ok"],"id":5347}
  162.  
  163. 2018-11-21 16:41:16.703 [DEBUG] [inding.miio.handler.MiIoBasicHandler] - Unexpected size different. Request size 5, response size 1. (Req: ["power","bright","delayoff","ct","color_mode"], Resp:["ok"])
  164.  
  165. 2018-11-21 16:41:16.705 [DEBUG] [inding.miio.handler.MiIoBasicHandler] - Error while handing message {"result":["ok"],"id":5347}
  166.  
  167. java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
  168.  
  169. at java.util.ArrayList.rangeCheck(ArrayList.java:657) ~[?:?]
  170.  
  171. at java.util.ArrayList.get(ArrayList.java:433) ~[?:?]
  172.  
  173. at com.google.gson.JsonArray.get(JsonArray.java:183) ~[21:com.google.gson:2.7.0.v20170129-0911]
  174.  
  175. at org.openhab.binding.miio.handler.MiIoBasicHandler.updateProperties(MiIoBasicHandler.java:380) ~[284:org.openhab.binding.miio:2.4.0.201811191918]
  176.  
  177. at org.openhab.binding.miio.handler.MiIoBasicHandler.onMessageReceived(MiIoBasicHandler.java:431) [284:org.openhab.binding.miio:2.4.0.201811191918]
  178.  
  179. at org.openhab.binding.miio.internal.transport.MiIoAsyncCommunication$MessageSenderThread.run(MiIoAsyncCommunication.java:211) [284:org.openhab.binding.miio:2.4.0.201811191918]
  180.  
  181. 2018-11-21 16:41:16.723 [TRACE] [nal.transport.MiIoAsyncCommunication] - Connection 10.0.0.148:36646
  182.  
  183. 2018-11-21 16:41:16.726 [TRACE] [nal.transport.MiIoAsyncCommunication] - Message Details:Message:
  184.  
  185. Header : 21 31 00 50 00 00 00 00 04 43 DB CD 00 2B 55 74
  186.  
  187. checksum: 46 42 28 CA 2A 8A 01 FC 42 76 62 D6 7A E7 F0 3B
  188.  
  189. content : E2 B1 60 14 35 F6 18 83 71 48 AD 63 70 19 FB 49 F2 CF 60 E2 C1 2E FA 85 1B 28 60 68 91 FD E9 A2 7A 78 58 67 DE 85 4A 3D 3B 5D 68 F2 DC C3 67 38
  190.  
  191. Header Details: Magic:21 31
  192.  
  193. Length: 80
  194.  
  195. Serial: 04 43 DB CD
  196.  
  197. TS:1970-02-02 21:52:04
  198.  
  199. 2018-11-21 16:41:16.728 [TRACE] [nal.transport.MiIoAsyncCommunication] - Received response from 10.0.0.148: {"result":["on","1","0","2700","2"],"id":5348}
  200.  
  201. 2018-11-21 16:41:16.729 [TRACE] [nal.transport.MiIoAsyncCommunication] - Received JSON message {"result":["on","1","0","2700","2"],"id":5348}
  202.  
  203. 2018-11-21 16:41:16.730 [TRACE] [nal.transport.MiIoAsyncCommunication] - inform listener org.openhab.binding.miio.handler.MiIoBasicHandler@1ee20a6, data org.openhab.binding.miio.internal.MiIoSendCommand@121d9cb from org.openhab.binding.miio.internal.MiIoSendCommand@121d9cb
  204.  
  205. 2018-11-21 16:41:16.732 [DEBUG] [ing.miio.handler.MiIoAbstractHandler] - Received response for 0443DBCD type: GET_PROPERTY, result: ["on","1","0","2700","2"], fullresponse: {"result":["on","1","0","2700","2"],"id":5348}
  206.  
  207. 2018-11-21 16:41:16.733 [DEBUG] [inding.miio.handler.MiIoBasicHandler] - Unexpected size different. Request size 1, response size 5. (Req: ["name"], Resp:["on","1","0","2700","2"])
  208.  
  209. ==> /var/log/openhab2/events.log <==
  210.  
  211. 2018-11-21 16:41:16.550 [ome.event.ItemCommandEvent] - Item 'miDeskLamp_Power' received command ON
  212.  
  213. 2018-11-21 16:41:16.577 [nt.ItemStatePredictedEvent] - miDeskLamp_Power predicted to become ON
  214.  
  215. 2018-11-21 16:41:16.605 [vent.ItemStateChangedEvent] - miDeskLamp_Power changed from OFF to ON
  216.  
  217. 2018-11-21 16:41:16.710 [vent.ItemStateChangedEvent] - miDeskLamp_Power changed from ON to OFF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement