NEWS
Test Adapter mihome-cloud
-
2022-11-03 21:42:29.682 - info: mihome-cloud.0 (221922) starting. Version 0.0.1 (non-npm: TA2k/ioBroker.mihome-cloud#1a8d5543c67ae1a98146d433a1ce2df5cbcc7a72) in /opt/iobroker/node_modules/iobroker.mihome-cloud, node: v18.12.0, js-controller: 4.0.23 2022-11-03 21:42:29.721 - info: mihome-cloud.0 (221922) Login to MiHome Cloud 2022-11-03 21:42:30.966 - info: mihome-cloud.0 (221922) Found 0 devices
Dabei sollten da ein paar Geräte gefunden werden.
Kaffeemaschine
Ventilator
Staubsauger -
@thomas-braun Das ist eigenartig aber da wäre es hilfreich ein account oder Einladung zu spezifischen Geräte zu bekommen
tombox2020@gmail.com -
Ich vermute es liegt an den verschiedenen Servern. Meine Geräte sind alle 'Chinesen', die liegen in der dortigen Cloud.
-
@thomas-braun habe mal die region hinzugefügt
-
Danke. Da klemmt es aber noch:
2022-11-05 10:15:18.021 - info: mihome-cloud.0 (50883) starting. Version 0.0.1 (non-npm: TA2k/ioBroker.mihome-cloud#71b29c7c083770ffa85128ad332c3b6a104744b0) in /opt/iobroker/node_modules/iobroker.mihome-cloud, node: v19.0.1, js-controller: 4.0.23 2022-11-05 10:15:18.061 - info: mihome-cloud.0 (50883) Login to MiHome Cloud 2022-11-05 10:15:18.532 - debug: mihome-cloud.0 (50883) "&&&START&&&{\"serviceParam\":\"{\\\"checkSafePhone\\\":false,\\\"checkSafeAddress\\\":false,\\\"lsrp_score\\\":0.0}\",\"qs\":\"%3Fsid%3Dxiaomiio%26_json%3Dtrue\",\"code\":70016,\"description\":\"登录验证失败\",\"securityStatus\":0,\"_sign\":\"0psX-KEY-GEAENDERT-bRqU=\",\"sid\":\"xiaomiio\",\"result\":\"error\",\"captchaUrl\":null,\"callback\":\"https://sts.api.io.mi.com/sts\",\"location\":\"https://account.xiaomi.com/fe/service/login?_json=true&sid=xiaomiio&qs=%253Fsid%253Dxiaomiio%2526_json%253Dtrue&callback=https%3A%2F%2Fsts.api.io.mi.com%2Fsts&_sign=0psX-KEY-GEAENDERT-bRqU%3D&serviceParam=%7B%22checkSafePhone%22%3Afalse%2C%22checkSafeAddress%22%3Afalse%2C%22lsrp_score%22%3A0.0%7D&showActiveX=false&theme=&needTheme=false&bizDeviceType=\",\"pwd\":0,\"child\":0,\"desc\":\"登录验证失败\"}" 2022-11-05 10:15:18.767 - debug: mihome-cloud.0 (50883) "&&&START&&&{\"qs\":\"%3Fsid%3Dxiaomiio%26_json%3Dtrue\",\"ssecurity\":\"LoED-KEY-GEAENDERT-3RMw==\",\"code\":0,\"passToken\":\"V1:DXmu-KEY-GEAENDERT--KEY-GEAENDERT--KEY-GEAENDERT--KEY-GEAENDERT-CME0=\",\"description\":\"成功\",\"securityStatus\":0,\"nonce\":1287-KEY-GEAENDERT-9440,\"userId\":1-ID-GEANDERT-2,\"cUserId\":\"Y15sv_vRiW-KEY-GEAENDERT-74Lc\",\"result\":\"ok\",\"psecurity\":\"fO12-KEY-GEAENDERT-jajg==\",\"captchaUrl\":null,\"location\":\"https://sts.api.io.mi.com/sts?d=wb_b-KEY-GEAENDERT-e00f&ticket=0&pwd=1&p_ts=1667-KEY-GEAENDERT-8000&fid=0&p_lm=1&auth=BsI3-KEY-GEAENDERT--KEY-GEAENDERT--KEY-GEAENDERT--KEY-GEAENDERT-3D&m=1&_group=DEFAULT&tsl=0&p_ca=0&p_ur=DE&p_idc=Europe&nonce=Laf2P-KEY-GEAENDERT-qBpL&_ssign=1lDi-KEY-GEAENDERT-A%3D\",\"pwd\":1,\"child\":0,\"desc\":\"成功\"}" 2022-11-05 10:15:18.931 - debug: mihome-cloud.0 (50883) "ok" 2022-11-05 10:15:18.961 - error: mihome-cloud.0 (50883) Error: getaddrinfo ENOTFOUND cn.api.io.mi.com 2022-11-05 10:15:18.977 - error: mihome-cloud.0 (50883) Error: getaddrinfo ENOTFOUND cn.api.io.mi.com 2022-11-05 10:15:18.993 - error: mihome-cloud.0 (50883) Error: getaddrinfo ENOTFOUND cn.api.io.mi.com 2022-11-05 10:15:18.995 - error: mihome-cloud.0 (50883) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2022-11-05 10:15:18.996 - error: mihome-cloud.0 (50883) unhandled promise rejection: Cannot read properties of undefined (reading 'homelist') 2022-11-05 10:15:18.997 - error: mihome-cloud.0 (50883) TypeError: Cannot read properties of undefined (reading 'homelist') at MihomeCloud.getActions (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:366:35) at MihomeCloud.onReady (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:90:18) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2022-11-05 10:15:18.998 - error: mihome-cloud.0 (50883) Cannot read properties of undefined (reading 'homelist') 2022-11-05 10:15:19.005 - info: mihome-cloud.0 (50883) terminating 2022-11-05 10:15:19.007 - warn: mihome-cloud.0 (50883) Terminated (UNCAUGHT_EXCEPTION): Without reason 2022-11-05 10:15:19.652 - error: host.chet instance system.adapter.mihome-cloud.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2022-11-05 10:15:19.653 - info: host.chet Restart adapter system.adapter.mihome-cloud.0 because enabled 2022-11-05 10:15:19.653 - warn: host.chet Do not restart adapter system.adapter.mihome-cloud.0 because restart loop detected
Ping sagt:
echad@chet:~ $ ping cn.api.io.mi.com ping: cn.api.io.mi.com: Name or service not known echad@chet:~ $ ping api.io.mi.com PING api.io.mi.com (183.84.6.21) 56(84) bytes of data. 64 bytes from 183.84.6.21 (183.84.6.21): icmp_seq=1 ttl=41 time=319 ms 64 bytes from 183.84.6.21 (183.84.6.21): icmp_seq=2 ttl=41 time=316 ms 64 bytes from 183.84.6.21 (183.84.6.21): icmp_seq=3 ttl=41 time=316 ms ^C --- api.io.mi.com ping statistics --- 4 packets transmitted, 3 received, 25% packet loss, time 3004ms rtt min/avg/max/mdev = 315.914/316.994/318.794/1.281 ms
-
@thomas-braun jap war die falsche url jetzt passt es
-
Stimmt, jetzt passt es:
2022-11-05 11:03:01.861 - info: mihome-cloud.0 (53948) Found 21 devices
-
@thomas-braun wieviele haben davon unter Objekte ein status ordner?
-
Nur der Staubsauger:
-
@thomas-braun Ok ja wenn mir jemand noch ein Gerät kann ich schauen wie die anders abgerufen werden
-
Ein Gerät... was?
-
@thomas-braun Ein gerät freigibt oder ein account gibt dann kann ich schauen was die app genau macht
-
Mein 3 Smartmi Fans tauchen auch mit umfangreichen Infos auf. Klappt!
-
mit der letzten version stürzt der adapter ab, wahrscheinlich weil der luftbefeuchter offline ist
mihome-cloud.0 2022-11-06 07:04:04.610 error TypeError: Cannot read properties of undefined (reading '75543767') mihome-cloud.0 2022-11-06 07:04:04.609 error /home/rpc/75543767 mihome-cloud.0 2022-11-06 07:04:04.422 error {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 07:04:04.422 error Error getting Events of the device for R2D2 (320373564) mihome-cloud.0 2022-11-06 07:04:04.181 warn Terminated (UNCAUGHT_EXCEPTION): Without reason mihome-cloud.0 2022-11-06 07:04:04.180 info terminating mihome-cloud.0 2022-11-06 07:04:04.175 error Invalid ID: mihome-cloud.0.320373564.remote.tate == _RobotStatusManager.RobotState.REMOTE ? Protocol.Methods.AppRemoteControlEnd : Protocol.Methods.AppPaus mihome-cloud.0 2022-11-06 07:04:04.174 error Error: Invalid ID: mihome-cloud.0.320373564.remote.tate == _RobotStatusManager.RobotState.REMOTE ? Protocol.Methods.AppRemoteControlEnd : Protocol.Methods.AppPaus at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._setObject (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:2980:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3211:29) at processImmediate (node:internal/timers:468:21) mihome-cloud.0 2022-11-06 07:04:04.173 error unhandled promise rejection: Invalid ID: mihome-cloud.0.320373564.remote.tate == _RobotStatusManager.RobotState.REMOTE ? Protocol.Methods.AppRemoteControlEnd : Protocol.Methods.AppPaus mihome-cloud.0 2022-11-06 07:04:04.172 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). mihome-cloud.0 2022-11-06 07:04:04.123 error TypeError: Cannot read properties of null (reading '0') mihome-cloud.0 2022-11-06 07:04:03.050 info Found plugin for deerma.humidifier.jsq mihome-cloud.0 2022-11-06 07:04:03.050 info Found 1 remote events for yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 07:04:03.049 info Found 3 remote commands for yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 07:03:59.697 info Found plugin for yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 07:03:59.696 error TypeError: Cannot read properties of null (reading '0') mihome-cloud.0 2022-11-06 07:03:58.492 info Found plugin for roborock.vacuum.s5 mihome-cloud.0 2022-11-06 07:03:58.350 info Fetching Plugins mihome-cloud.0 2022-11-06 07:03:58.339 info prop.ct mihome-cloud.0 2022-11-06 07:03:58.339 info prop.bright mihome-cloud.0 2022-11-06 07:03:58.338 info prop.power mihome-cloud.0 2022-11-06 07:03:58.338 info Found yeelink.light.bslamp1 (Nachttischlampe) with 3 properties mihome-cloud.0 2022-11-06 07:03:58.334 info event.status mihome-cloud.0 2022-11-06 07:03:58.334 info Found roborock.vacuum.s5 (R2D2) with 1 properties mihome-cloud.0 2022-11-06 07:03:58.329 info Found 3 devices mihome-cloud.0 2022-11-06 07:03:58.140 info Get devices mihome-cloud.0 2022-11-06 07:03:58.136 info Login successful mihome-cloud.0 2022-11-06 07:03:57.374 info Login to MiHome Cloud mihome-cloud.0 2022-11-06 07:03:57.353 info starting. Version 0.0.1 (non-npm: TA2k/ioBroker.mihome-cloud#567a013f3147de9ffcf2289a907b73fa852dd039) in /opt/iobroker/node_modules/iobroker.mihome-cloud, node: v16.18.1, js-controller: 4.0.23
edit, passiert auch wenn der luftbefeuchter online ist
mihome-cloud.0 2022-11-06 07:11:01.673 error TypeError: Cannot read properties of undefined (reading '75543767') mihome-cloud.0 2022-11-06 07:11:01.673 error /home/rpc/75543767 mihome-cloud.0 2022-11-06 07:11:01.672 debug {"code":0,"error":{"code":-32601,"message":"Method not found."},"exe_time":0,"id":6507368,"message":"ok","net_cost":0,"ot_cost":0,"otlocalts":1667715061666172} mihome-cloud.0 2022-11-06 07:11:01.551 error {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 07:11:01.550 error Error getting Events of the device for R2D2 (320373564) mihome-cloud.0 2022-11-06 07:11:01.378 debug undefined mihome-cloud.0 2022-11-06 07:11:01.377 debug {"code":0,"exe_time":1,"id":491585,"message":"ok","net_cost":30,"ot_cost":0,"otlocalts":1667715061367277,"result":"unknown_method"} mihome-cloud.0 2022-11-06 07:11:01.282 warn Terminated (UNCAUGHT_EXCEPTION): Without reason mihome-cloud.0 2022-11-06 07:11:01.282 info terminating mihome-cloud.0 2022-11-06 07:11:01.265 error Invalid ID: mihome-cloud.0.320373564.remote.tate == _RobotStatusManager.RobotState.REMOTE ? Protocol.Methods.AppRemoteControlEnd : Protocol.Methods.AppPaus mihome-cloud.0 2022-11-06 07:11:01.265 error Error: Invalid ID: mihome-cloud.0.320373564.remote.tate == _RobotStatusManager.RobotState.REMOTE ? Protocol.Methods.AppRemoteControlEnd : Protocol.Methods.AppPaus at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._setObject (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:2980:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3211:29) at processImmediate (node:internal/timers:468:21) mihome-cloud.0 2022-11-06 07:11:01.264 error unhandled promise rejection: Invalid ID: mihome-cloud.0.320373564.remote.tate == _RobotStatusManager.RobotState.REMOTE ? Protocol.Methods.AppRemoteControlEnd : Protocol.Methods.AppPaus mihome-cloud.0 2022-11-06 07:11:01.263 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). mihome-cloud.0 2022-11-06 07:11:01.246 error TypeError: Cannot read properties of null (reading '0') mihome-cloud.0 2022-11-06 07:11:00.308 info Found plugin for deerma.humidifier.jsq mihome-cloud.0 2022-11-06 07:11:00.308 info Found 1 remote events for yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 07:11:00.308 info Found 3 remote commands for yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 07:10:56.845 info Found plugin for yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 07:10:56.845 error TypeError: Cannot read properties of null (reading '0') mihome-cloud.0 2022-11-06 07:10:55.756 info Found plugin for roborock.vacuum.s5 mihome-cloud.0 2022-11-06 07:10:55.756 debug {"code":0,"message":"","result":{"latest_info":[{"plugin_id":1000570,"plugin_package_id":1012902,"version":39,"sdk_version":10047,"change_log":"修复和优化一些问题,内部版本52","download_url":"https://cdn.alsgp0.fds.api.mi-img.com/rn-plugins/2020-12-08/signed_10047_1000570_39_IOS_bundle_e6776fdd671602f308b9be25d889bb0c.zip","size":5443322,"model":"roborock.vacuum.s5","force_update_status":0,"status":8,"md5sum":"e6776fdd671602f308b9be25d889bb0c","gray_info":"{\"data\":[2263,5263],\"type\":\"range\"}","platform":2,"create_time":1607418709856,"dev_mode":1},{"plugin_id":1000708,"plugin_package_id":1002507,"version":2,"sdk_version":10026,"change_log":"1.修改jira。\n1.fix jira.","download_url":"https://cdn.alsgp0.fds.api.mi-img.com/rn-plugins/2019-09-11/signed_10026_1000708_2_IOS_bundle_ec15991cae11aa91ee5abb3f8e94b0a3.zip","size":5913729,"model":"yeelink.light.bslamp1","force_update_status":0,"status":8,"md5sum":"ec15991cae11aa91ee5abb3f8e94b0a3","gray_info":"{\"data\":[903,3903],\"type\":\"range\"}","platform":2,"create_time":1568186512298,"dev_mode":1},{"plugin_id":1001591,"plugin_package_id":1007699,"version":20,"sdk_version":10039,"change_log":"1.修改部分地区非英语状态下用户协议和隐私政策 2.修复撤销授权后,重新绑定设备无授权弹窗 3.用户协议内隐私超链接跳转本地隐私 4.修复隐私政策滑动超出屏幕范围","download_url":"https://cdn.alsgp0.fds.api.mi-img.com/rn-plugins/2020-06-03/signed_10039_1001591_20_IOS_bundle_9aff56ed7184c786c1f0f6db5e47ae4d.zip","size":6432439,"model":"deerma.humidifier.jsq","force_update_status":0,"status":8,"md5sum":"9aff56ed7184c786c1f0f6db5e47ae4d","gray_info":"[]","platform":2,"create_time":1591198078444,"dev_mode":1}],"backup_info":null,"stand_plugin_info":null}} mihome-cloud.0 2022-11-06 07:10:55.638 info Fetching Plugins mihome-cloud.0 2022-11-06 07:10:55.634 debug {"did":"238442715","uid":1754651949,"token":"b2e21761512e0ccb16c2ededd82218ab","name":"Luftbefeuchter","pid":0,"localip":"192.168.1.202","mac":"44:23:7C:BC:A3:DB","ssid":"JackDaniel","bssid":"18:E8:29:EA:04:B6","rssi":-50,"longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"deerma.humidifier.jsq","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:humidifier:0000A00E:deerma-jsq:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"2.0.7","mcu_version":"0113","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1642267702,"freqFlag":true,"hide_mode":0,"comFlag":129} mihome-cloud.0 2022-11-06 07:10:55.634 info prop.ct mihome-cloud.0 2022-11-06 07:10:55.634 info prop.bright mihome-cloud.0 2022-11-06 07:10:55.634 info prop.power mihome-cloud.0 2022-11-06 07:10:55.633 info Found yeelink.light.bslamp1 (Nachttischlampe) with 3 properties mihome-cloud.0 2022-11-06 07:10:55.631 debug {"did":"75543767","uid":1754651949,"token":"5da80bd97d0fe34520e531fbbb6ce41b","name":"Nachttischlampe","pid":0,"localip":"192.168.1.100","mac":"78:11:DC:92:75:AF","ssid":"JackDaniel","bssid":"78:45:58:B1:95:32","rssi":-63,"longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"yeelink.light.bslamp1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:light:0000A001:yeelink-bslamp1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1.6.6_0172","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1649341774,"freqFlag":true,"hide_mode":0,"comFlag":129} mihome-cloud.0 2022-11-06 07:10:55.630 info event.status mihome-cloud.0 2022-11-06 07:10:55.630 info Found roborock.vacuum.s5 (R2D2) with 1 properties mihome-cloud.0 2022-11-06 07:10:55.626 debug {"did":"320373564","uid":1754651949,"token":"717154435a79744d364d31494c577967","name":"R2D2","pid":0,"localip":"192.168.1.101","mac":"64:90:C1:02:7F:1F","ssid":"JackDaniel","bssid":"78:45:58:B1:95:32","rssi":-70,"longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"roborock.vacuum.s5","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:vacuum:0000A006:roborock-s5:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"3.5.8_002034","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1635497246,"freqFlag":true,"hide_mode":0,"comFlag":129} mihome-cloud.0 2022-11-06 07:10:55.626 info Found 3 devices mihome-cloud.0 2022-11-06 07:10:55.625 debug {"code":0,"message":"","result":{"list":[{"did":"320373564","uid":1754651949,"token":"717154435a79744d364d31494c577967","name":"R2D2","pid":0,"localip":"192.168.1.101","mac":"64:90:C1:02:7F:1F","ssid":"JackDaniel","bssid":"78:45:58:B1:95:32","rssi":-70,"longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"roborock.vacuum.s5","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:vacuum:0000A006:roborock-s5:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"3.5.8_002034","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1635497246,"freqFlag":true,"hide_mode":0,"comFlag":129},{"did":"75543767","uid":1754651949,"token":"5da80bd97d0fe34520e531fbbb6ce41b","name":"Nachttischlampe","pid":0,"localip":"192.168.1.100","mac":"78:11:DC:92:75:AF","ssid":"JackDaniel","bssid":"78:45:58:B1:95:32","rssi":-63,"longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"yeelink.light.bslamp1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:light:0000A001:yeelink-bslamp1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1.6.6_0172","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1649341774,"freqFlag":true,"hide_mode":0,"comFlag":129},{"did":"238442715","uid":1754651949,"token":"b2e21761512e0ccb16c2ededd82218ab","name":"Luftbefeuchter","pid":0,"localip":"192.168.1.202","mac":"44:23:7C:BC:A3:DB","ssid":"JackDaniel","bssid":"18:E8:29:EA:04:B6","rssi":-50,"longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"deerma.humidifier.jsq","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:humidifier:0000A00E:deerma-jsq:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"2.0.7","mcu_version":"0113","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1642267702,"freqFlag":true,"hide_mode":0,"comFlag":129}],"next_start_did":"","has_more":false}} mihome-cloud.0 2022-11-06 07:10:55.437 info Get devices mihome-cloud.0 2022-11-06 07:10:55.433 info Login successful mihome-cloud.0 2022-11-06 07:10:55.433 debug "ok" mihome-cloud.0 2022-11-06 07:10:55.278 debug "&&&START&&&{\"qs\":\"%3Fsid%3Dxiaomiio%26_json%3Dtrue\",\"ssecurity\":\"1nuzfaFwfYRR3E70kcw7zw==\",\"code\":0,\"passToken\":\"V1:DXmurwq2/R1BHTELu6obCfNOuAI0Iv5HC+ZKR4VeN98R0O9vyCJKsIYXPVOFB78uex4SRjcbOjr7weIKRtqnzu5WRyIhKTCSEArk1mLwKgY0hRPilk3p+TBNN8y68Fc2Sq9qEP+rVE1VBWCudmqMU1/uM+1Kg4PLjm1eZEDaxZVgSLfJN3v9j93Mgk+yl9sY76EW7qxmC+1Wrh0ML08e/yHd6SIjo2yH6gKuXMoNKMB9pY/W6z13Z2A33MyCWDbUNwqRkQab/BM9blbWOUBIRscQWSh+GfLk+9tDYJTmMXU=\",\"description\":\"成功\",\"securityStatus\":0,\"nonce\":1041428829432506368,\"userId\":1754651949,\"cUserId\":\"EzXMhMFs8J0wtEntUPSNUwO-ghA\",\"result\":\"ok\",\"psecurity\":\"pbMDCjbzPNpsXct3WxyWvA==\",\"captchaUrl\":null,\"location\":\"https://sts.api.io.mi.com/sts?d=wb_0bbef18b-a7e7-429b-99f5-151dafc6adaf&ticket=0&pwd=1&p_ts=1667715055000&fid=0&p_lm=1&auth=X72DCz5iXjCDRWr9tuuCbMlu3fcLNLKFJLiA8MCOOE0spfqHDH%2Bph3hLRKGO8Qwg5R7JtyFtWvSXfvIhTTXF9imqI50BRp3jtCfNBfHPnQXMsYtXtgajpV5C1Rduyt1mTaFyEvRdbnwoxQkUTaRqH4A61yLsk%2FLyHZDZaND%2FS9s%3D&m=1&_group=DEFAULT&tsl=0&p_ca=0&p_ur=AT&p_idc=Europe&nonce=dCEqK8f1jcoBqB8y&_ssign=QID%2FKBkWcArWOg8B2ZG%2FHPQiAic%3D\",\"pwd\":1,\"child\":0,\"desc\":\"成功\"}" mihome-cloud.0 2022-11-06 07:10:55.036 debug "&&&START&&&{\"serviceParam\":\"{\\\"checkSafePhone\\\":false,\\\"checkSafeAddress\\\":false,\\\"lsrp_score\\\":0.0}\",\"qs\":\"%3Fsid%3Dxiaomiio%26_json%3Dtrue\",\"code\":70016,\"description\":\"登录验证失败\",\"securityStatus\":0,\"_sign\":\"0psXfr43eNI0IX6q9Suk3qWbRqU=\",\"sid\":\"xiaomiio\",\"result\":\"error\",\"captchaUrl\":null,\"callback\":\"https://sts.api.io.mi.com/sts\",\"location\":\"https://account.xiaomi.com/fe/service/login?_json=true&sid=xiaomiio&qs=%253Fsid%253Dxiaomiio%2526_json%253Dtrue&callback=https%3A%2F%2Fsts.api.io.mi.com%2Fsts&_sign=0psXfr43eNI0IX6q9Suk3qWbRqU%3D&serviceParam=%7B%22checkSafePhone%22%3Afalse%2C%22checkSafeAddress%22%3Afalse%2C%22lsrp_score%22%3A0.0%7D&showActiveX=false&theme=&needTheme=false&bizDeviceType=\",\"pwd\":0,\"child\":0,\"desc\":\"登录验证失败\"}" mihome-cloud.0 2022-11-06 07:10:54.727 info Login to MiHome Cloud mihome-cloud.0 2022-11-06 07:10:54.707 info starting. Version 0.0.1 (non-npm: TA2k/ioBroker.mihome-cloud#567a013f3147de9ffcf2289a907b73fa852dd039) in /opt/iobroker/node_modules/iobroker.mihome-cloud, node: v16.18.1, js-controller: 4.0.23
-
@jackdaniel Danke für das feedback nochmal neu installieren und schauen was er dann ausgibt
-
@hannnes Kannst du ein screenshot zeigen. Gibt es remote commands die funktionieren?
-
@tombox sagte in Test Adapter mihome-cloud:
@jackdaniel Danke für das feedback nochmal neu installieren und schauen was er dann ausgibt
klemmt leider noch wo
mihome-cloud.0 2022-11-06 10:37:01.173 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 10:37:01.172 info Error getting Events of the device for Luftbefeuchter (238442715) with {"expire":10,"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 10:37:01.018 info {"code":-2,"error":{"code":-2,"message":"did offline"},"exe_time":0,"id":4927700,"message":"did offline","net_cost":0,"ot_cost":0} mihome-cloud.0 2022-11-06 10:37:01.017 info Error getting Status of the device for Luftbefeuchter (238442715) with {"id":0,"method":"Set_HumiValue","accessKey":"IOS00026747c5acafc2","params":[]} mihome-cloud.0 2022-11-06 10:37:00.911 warn Terminated (UNCAUGHT_EXCEPTION): Without reason mihome-cloud.0 2022-11-06 10:37:00.910 info terminating mihome-cloud.0 2022-11-06 10:37:00.899 error Invalid ID: mihome-cloud.0.320373564.remote.tate == _RobotStatusManager.RobotState.REMOTE ? Protocol.Methods.AppRemoteControlEnd : Protocol.Methods.AppPaus mihome-cloud.0 2022-11-06 10:37:00.898 error Error: Invalid ID: mihome-cloud.0.320373564.remote.tate == _RobotStatusManager.RobotState.REMOTE ? Protocol.Methods.AppRemoteControlEnd : Protocol.Methods.AppPaus at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._setObject (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:2980:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3211:29) at processImmediate (node:internal/timers:468:21) mihome-cloud.0 2022-11-06 10:37:00.897 error unhandled promise rejection: Invalid ID: mihome-cloud.0.320373564.remote.tate == _RobotStatusManager.RobotState.REMOTE ? Protocol.Methods.AppRemoteControlEnd : Protocol.Methods.AppPaus mihome-cloud.0 2022-11-06 10:37:00.897 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). mihome-cloud.0 2022-11-06 10:37:00.881 info Found 1 remote events for yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 10:37:00.880 info Found 3 remote commands for yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 10:36:57.082 info Found plugin for yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 10:36:57.081 error TypeError: Cannot read properties of null (reading '0') mihome-cloud.0 2022-11-06 10:36:56.037 info Found plugin for roborock.vacuum.s5 mihome-cloud.0 2022-11-06 10:36:56.037 error TypeError: Cannot read properties of null (reading '0') mihome-cloud.0 2022-11-06 10:36:51.936 info Found plugin for deerma.humidifier.jsq mihome-cloud.0 2022-11-06 10:36:51.936 debug {"code":0,"message":"","result":{"latest_info":[{"plugin_id":1001591,"plugin_package_id":1007699,"version":20,"sdk_version":10039,"change_log":"1.修改部分地区非英语状态下用户协议和隐私政策 2.修复撤销授权后,重新绑定设备无授权弹窗 3.用户协议内隐私超链接跳转本地隐私 4.修复隐私政策滑动超出屏幕范围","download_url":"https://cdn.alsgp0.fds.api.mi-img.com/rn-plugins/2020-06-03/signed_10039_1001591_20_IOS_bundle_9aff56ed7184c786c1f0f6db5e47ae4d.zip","size":6432439,"model":"deerma.humidifier.jsq","force_update_status":0,"status":8,"md5sum":"9aff56ed7184c786c1f0f6db5e47ae4d","gray_info":"[]","platform":2,"create_time":1591198078444,"dev_mode":1},{"plugin_id":1000570,"plugin_package_id":1012902,"version":39,"sdk_version":10047,"change_log":"修复和优化一些问题,内部版本52","download_url":"https://cdn.alsgp0.fds.api.mi-img.com/rn-plugins/2020-12-08/signed_10047_1000570_39_IOS_bundle_e6776fdd671602f308b9be25d889bb0c.zip","size":5443322,"model":"roborock.vacuum.s5","force_update_status":0,"status":8,"md5sum":"e6776fdd671602f308b9be25d889bb0c","gray_info":"{\"data\":[2263,5263],\"type\":\"range\"}","platform":2,"create_time":1607418709856,"dev_mode":1},{"plugin_id":1000708,"plugin_package_id":1002507,"version":2,"sdk_version":10026,"change_log":"1.修改jira。\n1.fix jira.","download_url":"https://cdn.alsgp0.fds.api.mi-img.com/rn-plugins/2019-09-11/signed_10026_1000708_2_IOS_bundle_ec15991cae11aa91ee5abb3f8e94b0a3.zip","size":5913729,"model":"yeelink.light.bslamp1","force_update_status":0,"status":8,"md5sum":"ec15991cae11aa91ee5abb3f8e94b0a3","gray_info":"{\"data\":[903,3903],\"type\":\"range\"}","platform":2,"create_time":1568186512298,"dev_mode":1}],"backup_info":null,"stand_plugin_info":null}} mihome-cloud.0 2022-11-06 10:36:51.806 info Fetching Plugins mihome-cloud.0 2022-11-06 10:36:51.806 info prop.ct mihome-cloud.0 2022-11-06 10:36:51.806 info prop.bright mihome-cloud.0 2022-11-06 10:36:51.805 info prop.power mihome-cloud.0 2022-11-06 10:36:51.805 info Found yeelink.light.bslamp1 (Nachttischlampe) with 3 properties mihome-cloud.0 2022-11-06 10:36:51.797 debug {"did":"75543767","uid":1754651949,"token":"5da80bd97d0fe34520e531fbbb6ce41b","name":"Nachttischlampe","pid":0,"localip":"192.168.1.100","mac":"78:11:DC:92:75:AF","ssid":"JackDaniel","bssid":"78:45:58:B1:95:32","rssi":-63,"longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"yeelink.light.bslamp1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:light:0000A001:yeelink-bslamp1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1.6.6_0172","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1649341774,"freqFlag":true,"hide_mode":0,"comFlag":129} mihome-cloud.0 2022-11-06 10:36:51.796 info event.status mihome-cloud.0 2022-11-06 10:36:51.796 info Found roborock.vacuum.s5 (R2D2) with 1 properties mihome-cloud.0 2022-11-06 10:36:51.789 debug {"did":"320373564","uid":1754651949,"token":"717154435a79744d364d31494c577967","name":"R2D2","pid":0,"localip":"192.168.1.101","mac":"64:90:C1:02:7F:1F","ssid":"JackDaniel","bssid":"78:45:58:B1:95:32","rssi":-70,"longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"roborock.vacuum.s5","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:vacuum:0000A006:roborock-s5:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"3.5.8_002034","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1635497246,"freqFlag":true,"hide_mode":0,"comFlag":129} mihome-cloud.0 2022-11-06 10:36:51.782 debug {"did":"238442715","uid":1754651949,"token":"b2e21761512e0ccb16c2ededd82218ab","name":"Luftbefeuchter","pid":0,"localip":"192.168.1.202","mac":"44:23:7C:BC:A3:DB","ssid":"JackDaniel","bssid":"18:E8:29:EA:04:B6","rssi":-50,"longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"deerma.humidifier.jsq","permitLevel":16,"isOnline":false,"spec_type":"urn:miot-spec-v2:device:humidifier:0000A00E:deerma-jsq:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"2.0.7","mcu_version":"0113","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1642267702,"freqFlag":true,"hide_mode":0,"comFlag":129} mihome-cloud.0 2022-11-06 10:36:51.782 info Found 3 devices mihome-cloud.0 2022-11-06 10:36:51.781 debug {"code":0,"message":"","result":{"list":[{"did":"238442715","uid":1754651949,"token":"b2e21761512e0ccb16c2ededd82218ab","name":"Luftbefeuchter","pid":0,"localip":"192.168.1.202","mac":"44:23:7C:BC:A3:DB","ssid":"JackDaniel","bssid":"18:E8:29:EA:04:B6","rssi":-50,"longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"deerma.humidifier.jsq","permitLevel":16,"isOnline":false,"spec_type":"urn:miot-spec-v2:device:humidifier:0000A00E:deerma-jsq:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"2.0.7","mcu_version":"0113","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1642267702,"freqFlag":true,"hide_mode":0,"comFlag":129},{"did":"320373564","uid":1754651949,"token":"717154435a79744d364d31494c577967","name":"R2D2","pid":0,"localip":"192.168.1.101","mac":"64:90:C1:02:7F:1F","ssid":"JackDaniel","bssid":"78:45:58:B1:95:32","rssi":-70,"longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"roborock.vacuum.s5","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:vacuum:0000A006:roborock-s5:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"3.5.8_002034","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1635497246,"freqFlag":true,"hide_mode":0,"comFlag":129},{"did":"75543767","uid":1754651949,"token":"5da80bd97d0fe34520e531fbbb6ce41b","name":"Nachttischlampe","pid":0,"localip":"192.168.1.100","mac":"78:11:DC:92:75:AF","ssid":"JackDaniel","bssid":"78:45:58:B1:95:32","rssi":-63,"longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"yeelink.light.bslamp1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:light:0000A001:yeelink-bslamp1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1.6.6_0172","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1649341774,"freqFlag":true,"hide_mode":0,"comFlag":129}],"next_start_did":"","has_more":false}} mihome-cloud.0 2022-11-06 10:36:51.625 info Get devices mihome-cloud.0 2022-11-06 10:36:51.622 info Login successful mihome-cloud.0 2022-11-06 10:36:51.621 debug "ok" mihome-cloud.0 2022-11-06 10:36:51.481 debug "&&&START&&&{\"qs\":\"%3Fsid%3Dxiaomiio%26_json%3Dtrue\",\"ssecurity\":\"eLbNG0p56Mp/DYQOdhf4Og==\",\"code\":0,\"passToken\":\"V1:DXmurwq2/R1BHTELu6obCcDnh9hauOPj3DoX5tdXCKVmnlboKcoPNH/WiZSEz6zf7fxMnuHG7xmQRLHGs3uv7uyCbSI8lsLiDgmEEHOhTF5Whl9SSqUCt3tLumfA45sFSRgVqLvdQ8AfxhRkghXsfI0qxmgMycGQ00ge+lIimNORPamxswjf4kjFymxLnQeNSlqJn4X/3o4ODLfMtEedBpxnbvW1+aR7mDWINn5mKxB033Nbs/IAHmk9TLjc8+JXvBG5KynMNvJ8Sf7Yv+eRvPsgkv3uuGZgxIEJK3B6EEg=\",\"description\":\"成功\",\"securityStatus\":0,\"nonce\":5768626167211188224,\"userId\":1754651949,\"cUserId\":\"EzXMhMFs8J0wtEntUPSNUwO-ghA\",\"result\":\"ok\",\"psecurity\":\"+YaMogoDNn2lP+ERYNRvZw==\",\"captchaUrl\":null,\"location\":\"https://sts.api.io.mi.com/sts?d=wb_ef2622a1-355d-43ff-8640-1d31120126f3&ticket=0&pwd=1&p_ts=1667727411000&fid=0&p_lm=1&auth=h4CrMYd5y3N817SPY26%2BiSeE5ATB1mvnplGu%2B4h6ooR9xWVTdeCgrzxlGS3bjLmQ3i5Ckt81U4aBAGuKcagHzrU4F1pMBiwH5tFf2y2Lff1GDmXBQntkQtGIx28D7lDioBs4qvZHPwwny0m%2B4liDXTmPovqEbZw7daMVVHS9QrQ%3D&m=1&_group=DEFAULT&tsl=0&p_ca=0&p_ur=AT&p_idc=Europe&nonce=YNSuCyLJsGUBqCAA&_ssign=RB5dvDQ2Jzs5EbFybwyUELNKrLA%3D\",\"pwd\":1,\"child\":0,\"desc\":\"成功\"}" mihome-cloud.0 2022-11-06 10:36:51.204 debug "&&&START&&&{\"serviceParam\":\"{\\\"checkSafePhone\\\":false,\\\"checkSafeAddress\\\":false,\\\"lsrp_score\\\":0.0}\",\"qs\":\"%3Fsid%3Dxiaomiio%26_json%3Dtrue\",\"code\":70016,\"description\":\"登录验证失败\",\"securityStatus\":0,\"_sign\":\"0psXfr43eNI0IX6q9Suk3qWbRqU=\",\"sid\":\"xiaomiio\",\"result\":\"error\",\"captchaUrl\":null,\"callback\":\"https://sts.api.io.mi.com/sts\",\"location\":\"https://account.xiaomi.com/fe/service/login?_json=true&sid=xiaomiio&qs=%253Fsid%253Dxiaomiio%2526_json%253Dtrue&callback=https%3A%2F%2Fsts.api.io.mi.com%2Fsts&_sign=0psXfr43eNI0IX6q9Suk3qWbRqU%3D&serviceParam=%7B%22checkSafePhone%22%3Afalse%2C%22checkSafeAddress%22%3Afalse%2C%22lsrp_score%22%3A0.0%7D&showActiveX=false&theme=&needTheme=false&bizDeviceType=\",\"pwd\":0,\"child\":0,\"desc\":\"登录验证失败\"}" mihome-cloud.0 2022-11-06 10:36:50.917 info Login to MiHome Cloud mihome-cloud.0 2022-11-06 10:36:50.895 info starting. Version 0.0.1 (non-npm: TA2k/ioBroker.mihome-cloud#3a7857507ff5078425c0881211690537a9ccf6ce) in /opt/iobroker/node_modules/iobroker.mihome-cloud, node: v16.18.1, js-controller: 4.0.23 mihome-cloud.0 2022-11-06 10:36:50.478 debug States connected to redis: 127.0.0.1:9000 mihome-cloud.0 2022-11-06 10:36:50.350 debug States create User PubSub Client mihome-cloud.0 2022-11-06 10:36:50.349 debug States create System PubSub Client mihome-cloud.0 2022-11-06 10:36:50.304 debug Redis States: Use Redis connection: 127.0.0.1:9000 mihome-cloud.0 2022-11-06 10:36:50.260 debug Objects connected to redis: 127.0.0.1:9001 mihome-cloud.0 2022-11-06 10:36:50.254 debug Objects client initialize lua scripts mihome-cloud.0 2022-11-06 10:36:50.144 debug Objects create User PubSub Client mihome-cloud.0 2022-11-06 10:36:50.143 debug Objects create System PubSub Client mihome-cloud.0 2022-11-06 10:36:50.142 debug Objects client ready ... initialize now mihome-cloud.0 2022-11-06 10:36:50.082 debug Redis Objects: Use Redis connection: 127.0.0.1:9001
-
in "remote" ist noch nichts drin.
Wenn ich sonst noch wo nachsehen soll, bitte mit kurzer Wegbeschreibung für Dummys, wo ich hin muss. -
@jackdaniel Habe noch mal was verbessert aber es scheint so aufgrund der Unterschiedlichkeit der Geräte nicht möglich ein generischen Ansatz für alle Geräte zu finden.
-
der crash ist nun weg, gibt aber noch fehler im log
wird der zugang zu meiner cloud benötigt?mihome-cloud.0 Zeit debug Nachricht mihome-cloud.0 2022-11-06 16:55:27.957 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:55:27.957 info Error getting Events of the device for Nachttischlampe (75543767) with {"expire":10,"method":["this.apiDataSource.registerProps"],"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:55:27.844 error SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at MihomeCloud.parseResponse (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:660:19) at /opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:618:37 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async MihomeCloud.updateDevices (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:593:9) at async Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:779:11) mihome-cloud.0 2022-11-06 16:55:27.844 error SyntaxError: Unexpected token o in JSON at position 1 mihome-cloud.0 2022-11-06 16:55:27.843 error /home/rpc/75543767 mihome-cloud.0 2022-11-06 16:55:27.723 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:55:27.722 info Error getting Events of the device for R2D2 (320373564) with {"expire":10,"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:55:27.406 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:55:27.406 info Error getting Events of the device for Luftbefeuchter (238442715) with {"expire":10,"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:55:27.320 info undefined is not a valid state value for id "mihome-cloud.0.238442715.status.status" mihome-cloud.0 2022-11-06 16:55:27.011 info Update devices mihome-cloud.0 2022-11-06 16:55:18.727 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:55:18.727 info Error getting Events of the device for Nachttischlampe (75543767) with {"expire":10,"method":["this.apiDataSource.registerProps"],"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:55:18.606 error SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at MihomeCloud.parseResponse (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:660:19) at /opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:618:37 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async MihomeCloud.updateDevices (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:593:9) at async Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:779:11) mihome-cloud.0 2022-11-06 16:55:18.605 error SyntaxError: Unexpected token o in JSON at position 1 mihome-cloud.0 2022-11-06 16:55:18.605 error /home/rpc/75543767 mihome-cloud.0 2022-11-06 16:55:18.443 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:55:18.443 info Error getting Events of the device for R2D2 (320373564) with {"expire":10,"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:55:18.183 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:55:18.183 info Error getting Events of the device for Luftbefeuchter (238442715) with {"expire":10,"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:55:18.068 info undefined is not a valid state value for id "mihome-cloud.0.238442715.status.status" mihome-cloud.0 2022-11-06 16:55:17.717 info Update devices mihome-cloud.0 2022-11-06 16:55:17.011 info {"code":0,"exe_time":60,"id":9879399,"message":"ok","net_cost":74,"ot_cost":0,"otlocalts":1667750117003464,"result":["error"]} mihome-cloud.0 2022-11-06 16:55:07.715 info {"code":0,"exe_time":200,"id":8544340,"message":"ok","net_cost":65,"ot_cost":0,"otlocalts":1667750107708289,"result":["error"]} mihome-cloud.0 2022-11-06 16:54:54.583 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:54:54.582 info Error getting Events of the device for Nachttischlampe (75543767) with {"expire":10,"method":["this.apiDataSource.registerProps"],"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:54:54.464 error SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at MihomeCloud.parseResponse (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:660:19) at /opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:618:37 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async MihomeCloud.updateDevices (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:593:9) at async Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:779:11) mihome-cloud.0 2022-11-06 16:54:54.463 error SyntaxError: Unexpected token o in JSON at position 1 mihome-cloud.0 2022-11-06 16:54:54.463 error /home/rpc/75543767 mihome-cloud.0 2022-11-06 16:54:54.260 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:54:54.260 info Error getting Events of the device for R2D2 (320373564) with {"expire":10,"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:54:54.048 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:54:54.047 info Error getting Events of the device for Luftbefeuchter (238442715) with {"expire":10,"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:54:53.934 info undefined is not a valid state value for id "mihome-cloud.0.238442715.status.status" mihome-cloud.0 2022-11-06 16:54:53.652 info Update devices mihome-cloud.0 2022-11-06 16:54:43.651 info {"code":0,"exe_time":240,"id":2281919,"message":"ok","net_cost":63,"ot_cost":0,"otlocalts":1667750083643273,"result":["error"]} mihome-cloud.0 2022-11-06 16:54:38.739 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:54:38.739 info Error getting Events of the device for Nachttischlampe (75543767) with {"expire":10,"method":["this.apiDataSource.registerProps"],"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:54:38.651 error SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at MihomeCloud.parseResponse (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:660:19) at /opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:618:37 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async MihomeCloud.updateDevices (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:593:9) at async Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:779:11) mihome-cloud.0 2022-11-06 16:54:38.650 error SyntaxError: Unexpected token o in JSON at position 1 mihome-cloud.0 2022-11-06 16:54:38.650 error /home/rpc/75543767 mihome-cloud.0 2022-11-06 16:54:38.492 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:54:38.492 info Error getting Events of the device for R2D2 (320373564) with {"expire":10,"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:54:38.236 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:54:38.236 info Error getting Events of the device for Luftbefeuchter (238442715) with {"expire":10,"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:54:38.151 info undefined is not a valid state value for id "mihome-cloud.0.238442715.status.status" mihome-cloud.0 2022-11-06 16:54:37.622 info Update devices mihome-cloud.0 2022-11-06 16:54:27.622 info {"code":0,"exe_time":260,"id":5199127,"message":"ok","net_cost":103,"ot_cost":0,"otlocalts":1667750067604380,"result":["error"]} mihome-cloud.0 2022-11-06 16:53:37.107 info [{"sa_id":513,"model":"yeelink.light.bslamp1","name":"Turn on","keyName":"Turn on","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.color1.set_power","value":["on","smooth",500]},"protocol_type":1},{"sa_id":522,"model":"yeelink.light.bslamp1","name":"Turn off","keyName":"Turn off","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.color1.set_power","value":["off","smooth",500]},"protocol_type":1},{"sa_id":523,"model":"yeelink.light.bslamp1","name":"Turn on/off","keyName":"Turn on/off","type":0,"groupInfo":[],"tr_id":301,"payload":{"did":"","command":"yeelink.light.color1.toggle"},"protocol_type":1},{"sa_id":524,"model":"yeelink.light.bslamp1","name":"Light up for an adjustable period of time","keyName":"Light up for an adjustable period of time","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.bslamp1.set_scene","plug_id":"GET_YEELINK_DELAY_SETTING"},"protocol_type":1},{"sa_id":525,"model":"yeelink.light.bslamp1","name":"Turn on and set light","keyName":"Turn on and set light","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.bslamp1.set_scene","plug_id":"GET_YEELINK_SCENE"},"protocol_type":1},{"sa_id":526,"model":"yeelink.light.bslamp1","name":"Brightness up","keyName":"Brightness up","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.bslamp1.set_adjust","value":["increase","bright"]},"protocol_type":1},{"sa_id":527,"model":"yeelink.light.bslamp1","name":"Brightness down","keyName":"Brightness down","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.bslamp1.set_adjust","value":["decrease","bright"]},"protocol_type":1},{"sa_id":528,"model":"yeelink.light.bslamp1","name":"Switch brightness level","keyName":"Switch brightness level","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.bslamp1.set_adjust","value":["circle","bright"]},"protocol_type":1},{"sa_id":529,"model":"yeelink.light.bslamp1","name":"Color temperature up","keyName":"Color temperature up","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.bslamp1.set_adjust","value":["increase","ct"]},"protocol_type":1},{"sa_id":530,"model":"yeelink.light.bslamp1","name":"Color temperature down","keyName":"Color temperature down","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.bslamp1.set_adjust","value":["decrease","ct"]},"protocol_type":1},{"sa_id":531,"model":"yeelink.light.bslamp1","name":"Switch color temperature level","keyName":"Switch color temperature level","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.bslamp1.set_adjust","value":["circle","ct"]},"protocol_type":1},{"sa_id":532,"model":"yeelink.light.bslamp1","name":"Turn on or adjust brightness","keyName":"Turn on or adjust brightness","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.bslamp1.set_adjust","value":["auto","bright"]},"protocol_type":1},{"sa_id":533,"model":"yeelink.light.bslamp1","name":"Turn on or adjust color temperature","keyName":"Turn on or adjust color temperature","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.bslamp1.set_adjust","value":["auto","ct"]},"protocol_type":1},{"sa_id":534,"model":"yeelink.light.bslamp1","name":"Turn on or adjust color","keyName":"Turn on or adjust color","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.bslamp1.set_adjust","value":["auto","color"]},"protocol_type":1},{"sa_id":535,"model":"yeelink.light.bslamp1","name":"Adjust brightness","keyName":"Adjust brightness","type":0,"groupInfo":[],"tr_id":302,"payload":{"did":"","command":"yeelink.light.bslamp1.adjust_bright"},"protocol_type":1},{"sa_id":536,"model":"yeelink.light.bslamp1","name":"Adjust color temperature","keyName":"Adjust color temperature","type":0,"groupInfo":[],"tr_id":302,"payload":{"did":"","command":"yeelink.light.bslamp1.adjust_ct"},"protocol_type":1},{"sa_id":537,"model":"yeelink.light.bslamp1","name":"Adjust color","keyName":"Adjust color","type":0,"groupInfo":[],"tr_id":302,"payload":{"did":"","command":"yeelink.light.bslamp1.adjust_color"},"protocol_type":1},{"sa_id":538,"model":"yeelink.light.bslamp1","name":"Switch color","keyName":"Switch color","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"yeelink.light.bslamp1.set_adjust","value":["circle","color"]},"protocol_type":1}] mihome-cloud.0 2022-11-06 16:53:37.107 info yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 16:53:37.106 info [{"sa_id":958,"model":"roborock.vacuum.s5","name":"Start cleaning","keyName":"Start cleaning","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"roborock.vacuum.s5.app_start"},"protocol_type":1},{"sa_id":959,"model":"roborock.vacuum.s5","name":"Switch to Balanced mode","keyName":"Switch to Balanced mode","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"roborock.vacuum.s5.set_custom_mode","value":60},"protocol_type":1},{"sa_id":960,"model":"roborock.vacuum.s5","name":"Switch to Quiet mode","keyName":"Switch to Quiet mode","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"roborock.vacuum.s5.set_custom_mode","value":38},"protocol_type":1},{"sa_id":961,"model":"roborock.vacuum.s5","name":"Pause cleaning","keyName":"Pause cleaning","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"roborock.vacuum.s5.app_pause"},"protocol_type":1},{"sa_id":962,"model":"roborock.vacuum.s5","name":"Switch to Turbo mode","keyName":"Switch to Turbo mode","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"roborock.vacuum.s5.set_custom_mode","value":77},"protocol_type":1},{"sa_id":963,"model":"roborock.vacuum.s5","name":"Go back to the dock","keyName":"Go back to the dock","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"roborock.vacuum.s5.app_smart_charge"},"protocol_type":1}] mihome-cloud.0 2022-11-06 16:53:37.106 info roborock.vacuum.s5 mihome-cloud.0 2022-11-06 16:53:37.106 info [{"sa_id":6791,"model":"deerma.humidifier.jsq","name":"Turn off the humidifier","keyName":"Turn off the humidifier","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"deerma.humidifier.mjjsq.Set_OnOff","value":0},"protocol_type":1},{"sa_id":6792,"model":"deerma.humidifier.jsq","name":"Turn on the humidifier","keyName":"Turn on the humidifier","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"deerma.humidifier.mjjsq.Set_OnOff","value":1},"protocol_type":1},{"sa_id":6793,"model":"deerma.humidifier.jsq","name":"Set to constant humidity mode","keyName":"Set to constant humidity mode","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"deerma.humidifier.mjjsq.Set_HumidifierGears","value":4},"protocol_type":1},{"sa_id":6794,"model":"deerma.humidifier.jsq","name":"Set the humidifying speed to low","keyName":"Set the humidifying speed to low","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"deerma.humidifier.mjjsq.Set_HumidifierGears","value":1},"protocol_type":1},{"sa_id":6795,"model":"deerma.humidifier.jsq","name":"Set the humidifying speed to medium","keyName":"Set the humidifying speed to medium","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"deerma.humidifier.mjjsq.Set_HumidifierGears","value":2},"protocol_type":1},{"sa_id":6796,"model":"deerma.humidifier.jsq","name":"Set the humidifying speed to high","keyName":"Set the humidifying speed to high","type":0,"groupInfo":[],"tr_id":201,"payload":{"did":"","command":"deerma.humidifier.mjjsq.Set_HumidifierGears","value":3},"protocol_type":1}] mihome-cloud.0 2022-11-06 16:53:37.106 info deerma.humidifier.jsq mihome-cloud.0 2022-11-06 16:53:37.006 info {"code":0,"message":"","result":{"homelist":[{"id":"137001000499","name":"Da Ham","bssid":"","dids":[],"icon":"style_1_favorites","shareflag":0,"permit_level":10,"status":1,"background":"static1","smart_room_background":"style_1_favorites","longitude":0,"latitude":0,"city_id":0,"address":"","create_time":1519470799,"roomlist":[{"id":"137001034342","name":"Gästezimmer","bssid":"","parentid":"137001000499","dids":["75543767"],"icon":"more_1","background":"style_1_favorites","shareflag":0,"create_time":1636094924},{"id":"137001000503","name":"Wohnzimmer","bssid":"","parentid":"137001000499","dids":["238442715","320373564"],"icon":"livingroom_1","background":"style_1_favorites","shareflag":0,"create_time":1519494939}],"uid":1754651949}],"has_more":false,"max_id":"75543767"}} mihome-cloud.0 2022-11-06 16:53:36.880 info {"code":0,"message":"","result":{"local_list":[],"third_list":[]}} mihome-cloud.0 2022-11-06 16:53:36.792 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:53:36.792 info Error getting Events of the device for Nachttischlampe (75543767) with {"expire":10,"method":["this.apiDataSource.registerProps"],"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:53:36.647 error SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at MihomeCloud.parseResponse (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:660:19) at /opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:618:37 at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async MihomeCloud.updateDevices (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:593:9) at async MihomeCloud.onReady (/opt/iobroker/node_modules/iobroker.mihome-cloud/main.js:93:7) mihome-cloud.0 2022-11-06 16:53:36.646 error SyntaxError: Unexpected token o in JSON at position 1 mihome-cloud.0 2022-11-06 16:53:36.646 error /home/rpc/75543767 mihome-cloud.0 2022-11-06 16:53:33.509 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:53:33.509 info Error getting Events of the device for R2D2 (320373564) with {"expire":10,"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:53:33.252 info {"code":-8,"message":"invalid param","result":null} mihome-cloud.0 2022-11-06 16:53:33.252 info Error getting Events of the device for Luftbefeuchter (238442715) with {"expire":10,"did":"$DID","client":1,"subid":"0","accessKey":"IOS00026747c5acafc2","pid":0} mihome-cloud.0 2022-11-06 16:53:33.196 info undefined is not a valid state value for id "mihome-cloud.0.238442715.status.status" mihome-cloud.0 2022-11-06 16:53:33.190 warn This object will not be created in future versions. Please report this to the developer. mihome-cloud.0 2022-11-06 16:53:33.190 warn Object mihome-cloud.0.238442715.status.status is invalid: obj.common.type has an invalid value (undefined) but has to be one of number, string, boolean, array, object, mixed, file, json mihome-cloud.0 2022-11-06 16:53:32.401 info Found 1 remote events for yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 16:53:32.401 info Found 80 remote commands for yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 16:53:30.604 info Found plugin for yeelink.light.bslamp1 mihome-cloud.0 2022-11-06 16:53:30.604 info Found 0 remote events for roborock.vacuum.s5 mihome-cloud.0 2022-11-06 16:53:30.593 info Found 247 remote commands for roborock.vacuum.s5 mihome-cloud.0 2022-11-06 16:53:30.567 warn Please report this url to the developer: https://cdn.alsgp0.fds.api.mi-img.com/rn-plugins/2020-12-08/signed_10047_1000570_39_IOS_bundle_e6776fdd671602f308b9be25d889bb0c.zip mihome-cloud.0 2022-11-06 16:53:30.567 warn Remote commmands too long for roborock.vacuum.s5 mihome-cloud.0 2022-11-06 16:53:26.974 info Found plugin for roborock.vacuum.s5 mihome-cloud.0 2022-11-06 16:53:26.974 info Found 0 remote events for deerma.humidifier.jsq mihome-cloud.0 2022-11-06 16:53:26.973 info Found 11 remote commands for deerma.humidifier.jsq mihome-cloud.0 2022-11-06 16:53:25.843 info Found plugin for deerma.humidifier.jsq mihome-cloud.0 2022-11-06 16:53:25.723 info Fetching Plugins mihome-cloud.0 2022-11-06 16:53:25.722 info prop.ct mihome-cloud.0 2022-11-06 16:53:25.722 info prop.bright mihome-cloud.0 2022-11-06 16:53:25.722 info prop.power mihome-cloud.0 2022-11-06 16:53:25.722 info Found yeelink.light.bslamp1 (Nachttischlampe) in configDes with 3 properties mihome-cloud.0 2022-11-06 16:53:25.720 info event.status mihome-cloud.0 2022-11-06 16:53:25.719 info Found roborock.vacuum.s5 (R2D2) in configDes with 1 properties mihome-cloud.0 2022-11-06 16:53:25.715 info Found 3 devices mihome-cloud.0 2022-11-06 16:53:25.547 info Get devices mihome-cloud.0 2022-11-06 16:53:25.543 info Login successful mihome-cloud.0 2022-11-06 16:53:24.790 info Login to MiHome Cloud mihome-cloud.0 2022-11-06 16:53:24.756 info starting. Version 0.0.1 (non-npm: TA2k/ioBroker.mihome-cloud#ed6074fea8ada7e315fc8c159664cd8edfaa7007) in /opt/iobroker/node_modules/iobroker.mihome-cloud, node: v16.18.1, js-controller: 4.0.23