Advertisement
Guest User

test-deerma.humidifier.jsq5-20211027-154857.txt

a guest
Oct 27th, 2021
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.93 KB | None | 0 0
  1. Info for deerma.humidifier.jsq5
  2. Database file created:H:\Private\OpenHab3.2.0.M3\conf\misc\miio\deerma.humidifier.jsq5-miot-experimental.json
  3. {
  4. "deviceMapping": {
  5. "id": [
  6. "deerma.humidifier.jsq5"
  7. ],
  8. "propertyMethod": "get_properties",
  9. "maxProperties": 1,
  10. "channels": [
  11. {
  12. "property": "on",
  13. "siid": 2,
  14. "piid": 1,
  15. "friendlyName": "Humidifier - Switch Status",
  16. "channel": "on",
  17. "type": "Switch",
  18. "refresh": true,
  19. "actions": [
  20. {
  21. "command": "set_properties",
  22. "parameterType": "ONOFFBOOL"
  23. }
  24. ]
  25. },
  26. {
  27. "property": "fault",
  28. "siid": 2,
  29. "piid": 2,
  30. "friendlyName": "Humidifier - Device Fault",
  31. "channel": "fault",
  32. "type": "Number",
  33. "stateDescription": {
  34. "readOnly": true,
  35. "options": [
  36. {
  37. "value": "0",
  38. "label": "No Faults"
  39. },
  40. {
  41. "value": "1",
  42. "label": "Insufficient Water"
  43. },
  44. {
  45. "value": "2",
  46. "label": "Water Separation"
  47. }
  48. ]
  49. },
  50. "refresh": true,
  51. "actions": [],
  52. "readmeComment": "Value mapping [\"0\"\u003d\"No Faults\",\"1\"\u003d\"Insufficient Water\",\"2\"\u003d\"Water Separation\"]"
  53. },
  54. {
  55. "property": "fan-level",
  56. "siid": 2,
  57. "piid": 5,
  58. "friendlyName": "Humidifier - Fan Level",
  59. "channel": "fan_level",
  60. "type": "Number",
  61. "stateDescription": {
  62. "options": [
  63. {
  64. "value": "1",
  65. "label": "Level1"
  66. },
  67. {
  68. "value": "2",
  69. "label": "Level2"
  70. },
  71. {
  72. "value": "3",
  73. "label": "Level3"
  74. },
  75. {
  76. "value": "4",
  77. "label": "Humidity"
  78. }
  79. ]
  80. },
  81. "refresh": true,
  82. "actions": [
  83. {
  84. "command": "set_properties",
  85. "parameterType": "NUMBER"
  86. }
  87. ],
  88. "readmeComment": "Value mapping [\"1\"\u003d\"Level1\",\"2\"\u003d\"Level2\",\"3\"\u003d\"Level3\",\"4\"\u003d\"Humidity\"]"
  89. },
  90. {
  91. "property": "target-humidity",
  92. "siid": 2,
  93. "piid": 6,
  94. "friendlyName": "Humidifier - Target Humidity",
  95. "channel": "target_humidity",
  96. "type": "Number:Dimensionless",
  97. "unit": "percentage",
  98. "stateDescription": {
  99. "minimum": 40,
  100. "maximum": 80,
  101. "step": 1,
  102. "pattern": "%.0f %unit%"
  103. },
  104. "refresh": true,
  105. "actions": [
  106. {
  107. "command": "set_properties",
  108. "parameterType": "NUMBER"
  109. }
  110. ]
  111. },
  112. {
  113. "property": "relative-humidity",
  114. "siid": 3,
  115. "piid": 1,
  116. "friendlyName": "Environment - Relative Humidity",
  117. "channel": "relative_humidity",
  118. "type": "Number:Dimensionless",
  119. "unit": "percentage",
  120. "stateDescription": {
  121. "minimum": 0,
  122. "maximum": 100,
  123. "step": 1,
  124. "pattern": "%.0f %unit%",
  125. "readOnly": true
  126. },
  127. "refresh": true,
  128. "actions": []
  129. },
  130. {
  131. "property": "temperature",
  132. "siid": 3,
  133. "piid": 7,
  134. "friendlyName": "Environment - Temperature",
  135. "channel": "temperature",
  136. "type": "Number:Temperature",
  137. "unit": "celsius",
  138. "stateDescription": {
  139. "minimum": -30,
  140. "maximum": 100,
  141. "step": 1,
  142. "pattern": "%.0f %unit%",
  143. "readOnly": true
  144. },
  145. "refresh": true,
  146. "actions": []
  147. },
  148. {
  149. "property": "alarm",
  150. "siid": 5,
  151. "piid": 1,
  152. "friendlyName": "Alarm - Alarm",
  153. "channel": "alarm",
  154. "type": "Switch",
  155. "refresh": true,
  156. "actions": [
  157. {
  158. "command": "set_properties",
  159. "parameterType": "ONOFFBOOL"
  160. }
  161. ]
  162. },
  163. {
  164. "property": "on1",
  165. "siid": 6,
  166. "piid": 1,
  167. "friendlyName": "Indicator Light - Switch Status",
  168. "channel": "on1",
  169. "type": "Switch",
  170. "refresh": true,
  171. "actions": [
  172. {
  173. "command": "set_properties",
  174. "parameterType": "ONOFFBOOL"
  175. }
  176. ]
  177. },
  178. {
  179. "property": "water-shortage-fault",
  180. "siid": 7,
  181. "piid": 1,
  182. "friendlyName": "Custom - Water Shortage Fault",
  183. "channel": "water_shortage_fault",
  184. "type": "Switch",
  185. "stateDescription": {
  186. "readOnly": true
  187. },
  188. "refresh": true,
  189. "actions": []
  190. },
  191. {
  192. "property": "the-tank-filed",
  193. "siid": 7,
  194. "piid": 2,
  195. "friendlyName": "Custom - The Tank Filed",
  196. "channel": "the_tank_filed",
  197. "type": "Switch",
  198. "stateDescription": {
  199. "readOnly": true
  200. },
  201. "refresh": true,
  202. "actions": []
  203. }
  204. ],
  205. "experimental": true
  206. }
  207. }
  208. Testing Properties:
  209. on -> get_properties[{"did":"on","siid":2,"piid":1}] -> 4,
  210. fault -> get_properties[{"did":"fault","siid":2,"piid":2}] -> 5,
  211. fan_level -> get_properties[{"did":"fan-level","siid":2,"piid":5}] -> 6,
  212. target_humidity -> get_properties[{"did":"target-humidity","siid":2,"piid":6}] -> 7,
  213. relative_humidity -> get_properties[{"did":"relative-humidity","siid":3,"piid":1}] -> 8,
  214. temperature -> get_properties[{"did":"temperature","siid":3,"piid":7}] -> 9,
  215. alarm -> get_properties[{"did":"alarm","siid":5,"piid":1}] -> 10,
  216. on1 -> get_properties[{"did":"on1","siid":6,"piid":1}] -> 11,
  217. water_shortage_fault -> get_properties[{"did":"water-shortage-fault","siid":7,"piid":1}] -> 12,
  218. the_tank_filed -> get_properties[{"did":"the-tank-filed","siid":7,"piid":2}] -> 13,
  219.  
  220. {"life":72936,"uid":1669052867,"model":"deerma.humidifier.jsq5","ipflag":1,"fw_ver":"2.1.3","mcu_fw_ver":"0005","miio_ver":"0.0.9","hw_ver":"esp8266","mmfree":22404,"wifi_fw_ver":"8903c22","netif":{"localIp":"192.168.0.112","mask":"255.255.255.0","gw":"192.168.0.254"}}
  221. {"id":3,"method":"miIO.info","params":[]} -> {"id":3,"result":{"life":72936,"uid":1669052867,"model":"deerma.humidifier.jsq5","ipflag":1,"fw_ver":"2.1.3","mcu_fw_ver":"0005","miio_ver":"0.0.9","hw_ver":"esp8266","mmfree":22404,"wifi_fw_ver":"8903c22","netif":{"localIp":"192.168.0.112","mask":"255.255.255.0","gw":"192.168.0.254"}},"exe_time":40}
  222. {"id":4,"method":"get_properties","params":[{"did":"on","siid":2,"piid":1}]} -> {"id":4,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4010}
  223. {"id":5,"method":"get_properties","params":[{"did":"fault","siid":2,"piid":2}]} -> {"id":5,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4010}
  224. {"id":6,"method":"get_properties","params":[{"did":"fan-level","siid":2,"piid":5}]} -> {"id":6,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4020}
  225. {"id":7,"method":"get_properties","params":[{"did":"target-humidity","siid":2,"piid":6}]} -> {"id":7,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4010}
  226. {"id":8,"method":"get_properties","params":[{"did":"relative-humidity","siid":3,"piid":1}]} -> {"id":8,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4010}
  227. {"id":9,"method":"get_properties","params":[{"did":"temperature","siid":3,"piid":7}]} -> {"id":9,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4020}
  228. {"id":10,"method":"get_properties","params":[{"did":"alarm","siid":5,"piid":1}]} -> {"id":10,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4020}
  229. {"id":11,"method":"get_properties","params":[{"did":"on1","siid":6,"piid":1}]} -> {"id":11,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4020}
  230. {"id":12,"method":"get_properties","params":[{"did":"water-shortage-fault","siid":7,"piid":1}]} -> {"id":12,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4020}
  231. {"id":13,"method":"get_properties","params":[{"did":"the-tank-filed","siid":7,"piid":2}]} -> {"id":13,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4020}
  232. ===================================
  233. Responsive properties
  234. ===================================
  235. Device Info: {"life":72936,"uid":1669052867,"model":"deerma.humidifier.jsq5","ipflag":1,"fw_ver":"2.1.3","mcu_fw_ver":"0005","miio_ver":"0.0.9","hw_ver":"esp8266","mmfree":22404,"wifi_fw_ver":"8903c22","netif":{"localIp":"192.168.0.112","mask":"255.255.255.0","gw":"192.168.0.254"}}
  236. 0 channels with responses.
  237. No supported channels found.
  238.  
  239. Device testing file saved to:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement