Open imeSven opened 1 year ago
PetkitOpenAPI response: {"result":{"settings":{"bannerPermission":1,"chatPermission":0,"feederChart":1,"language":"en_US","locationPrivacy":1,"productsPermission":1,"receiveFollowMessage":1,"recommendPermission":1,"subscribe":-1,"tempUnit":0,"timeFormat":24,"unit":0},"mods":["cs"],"noPassword":false,"imserver":{"host":"im2.petkit.com","port":5222},"session":{"createdAt":"2023-07-28T18:24:55.432Z","expiresIn":1440,"id":"1eaff31e0ce84669b5727326d24a86dbzNHUSFouxkPrOyWT4n8m","userId":"100615812"},"newUser":false,"imservers":[{"host":"pim.petkt.com","port":10001,"ssl":1},{"host":"pim.petkt.com","port":443,"ssl":1},{"host":"pim.petkt.com","port":10000,"ssl":0}],"apiServers":["https://api.petkt.com/6/"],"user":{"account":{"email":"mail@houseoftudor.ro","node":"US","region":"RO","userId":"100615812"},"avatar":"http://sandbox.img5.petkit.cn/banner/2022/10/13/6347d75a44ad08000b011e7dDzwc693i5","deviceCount":0,"dogs":[],"gender":3,"genderCustom":"","id":"100615812","locality":"Romania","nick":"User479906","petCount":0,"point":{"endGrowth":50,"growth":0,"honour":"LV0","icon":"http://img5-us.petkit.cn/misc/point/n0","icon2":"http://img5-us.petkit.cn/misc/point/l0","rank":0,"startGrowth":0},"userCount":0},"imserver2":{"host":"pim.petkt.com","port":10000,"ssl":0}}} path = /user/login PetkitOpenAPI request: method = post, endpoint = http://api.petkt.com/latest, path = /discovery/device_roster, params = null, body = null, headers = {"X-Client":"ios(15.5;iPhone12,3)","Accept":"/","X-Timezone":"2.0","Accept-Language":"es-ES;q=1","Accept-Encoding":"gzip, deflate","X-Api-Version":"8.17.1","Content-Type":"application/x-www-form-urlencoded","User-Agent":"PETKIT/8.17.1 (iPhone; iOS 15.5; Scale/3.00)","X-TimezoneId":"Europe/Madrid","X-Locale":"es_ES","X-Session":"1eaff31e0ce84669b5727326d24a86dbzNHUSFouxkPrOyWT4n8m"} PetkitOpenAPI response: {"result":{"p3d":{"enable":1},"t4":{"enable":1},"r2":{"enable":1},"p3c":{"enable":1},"aqr":{"enable":1},"p3":{"enable":1},"w5c":{"enable":1},"cozy":{"gearsTotal":6,"enable":1,"tempunit":0,"sTempMin":10,"isShowDeviceSafetyClause":0,"gearsOffset":3,"sTempMax":42},"feeder":{"isShowDeviceSafetyClause":0},"h2":{"enable":0},"tools":[{"type":"walkpet","data":{}},{"type":"weight"},{"type":"remind","data":{}}],"d3":{"enable":1},"d4":{"enable":1},"w5n":{"enable":1},"aqh1":{"enable":0},"cat":{"days":30},"w5":{"enable":1},"devices":[{"type":"W5","data":{"mode":2,"createdAt":"2023-07-28T18:04:18.000Z","settings":{"colorSetting":0,"disturbConfig":2,"disturbMultiTime":[{"repeats":"1","time":[1320,360]}],"lampRingBrightness":3,"lampRingGoOutTime":1440,"lampRingLightUpTime":0,"lampRingSwitch":1,"lightConfig":2,"lightMultiTime":[{"repeats":"1","time":[0,1440]}],"noDisturbingEndTime":360,"noDisturbingStartTime":1320,"noDisturbingSwitch":0,"smartSleepTime":3,"smartWorkingTime":5},"name":"EVERSWEET WIRELESS(SUS304)","id":100058630,"filterWarning":0,"lackWarning":0,"runStatus":1,"relation":{"userId":"100615812"},"typeCode":4}}],"k2":{"enable":1},"go":{"hasMarks":0,"maxMarksPerRoute":30,"markEnabled":1},"k3":{"enable":1},"aq":{"enable":1},"hasRelay":false,"feedermini":{"isShowDeviceSafetyClause":0},"w4x":{"enable":1},"appbanner":[],"t3":{"enable":1},"aq1s":{"enable":1}}} path = /discovery/device_roster PetkitOpenAPI request: method = post, endpoint = http://api.petkt.com/latest, path = /w5/device_detail, params = null, body = {"id":100058630}, headers = {"X-Client":"ios(15.5;iPhone12,3)","Accept":"/","X-Timezone":"2.0","Accept-Language":"es-ES;q=1","Accept-Encoding":"gzip, deflate","X-Api-Version":"8.17.1","Content-Type":"application/x-www-form-urlencoded","User-Agent":"PETKIT/8.17.1 (iPhone; iOS 15.5; Scale/3.00)","X-TimezoneId":"Europe/Madrid","X-Locale":"es_ES","X-Session":"1eaff31e0ce84669b5727326d24a86dbzNHUSFouxkPrOyWT4n8m"} Failed to get device information. Please check if the config.json is correct.
PetkitOpenAPI response: {"result":{"settings":{"bannerPermission":1,"chatPermission":0,"feederChart":1,"language":"en_US","locationPrivacy":1,"productsPermission":1,"receiveFollowMessage":1,"recommendPermission":1,"subscribe":-1,"tempUnit":0,"timeFormat":24,"unit":0},"mods":["cs"],"noPassword":false,"imserver":{"host":"im2.petkit.com","port":5222},"session":{"createdAt":"2023-07-28T18:24:55.432Z","expiresIn":1440,"id":"1eaff31e0ce84669b5727326d24a86dbzNHUSFouxkPrOyWT4n8m","userId":"100615812"},"newUser":false,"imservers":[{"host":"pim.petkt.com","port":10001,"ssl":1},{"host":"pim.petkt.com","port":443,"ssl":1},{"host":"pim.petkt.com","port":10000,"ssl":0}],"apiServers":["https://api.petkt.com/6/"],"user":{"account":{"email":"mail@houseoftudor.ro","node":"US","region":"RO","userId":"100615812"},"avatar":"http://sandbox.img5.petkit.cn/banner/2022/10/13/6347d75a44ad08000b011e7dDzwc693i5","deviceCount":0,"dogs":[],"gender":3,"genderCustom":"","id":"100615812","locality":"Romania","nick":"User479906","petCount":0,"point":{"endGrowth":50,"growth":0,"honour":"LV0","icon":"http://img5-us.petkit.cn/misc/point/n0","icon2":"http://img5-us.petkit.cn/misc/point/l0","rank":0,"startGrowth":0},"userCount":0},"imserver2":{"host":"pim.petkt.com","port":10000,"ssl":0}}} path = /user/login PetkitOpenAPI request: method = post, endpoint = http://api.petkt.com/latest, path = /discovery/device_roster, params = null, body = null, headers = {"X-Client":"ios(15.5;iPhone12,3)","Accept":"/","X-Timezone":"2.0","Accept-Language":"es-ES;q=1","Accept-Encoding":"gzip, deflate","X-Api-Version":"8.17.1","Content-Type":"application/x-www-form-urlencoded","User-Agent":"PETKIT/8.17.1 (iPhone; iOS 15.5; Scale/3.00)","X-TimezoneId":"Europe/Madrid","X-Locale":"es_ES","X-Session":"1eaff31e0ce84669b5727326d24a86dbzNHUSFouxkPrOyWT4n8m"} PetkitOpenAPI response: {"result":{"p3d":{"enable":1},"t4":{"enable":1},"r2":{"enable":1},"p3c":{"enable":1},"aqr":{"enable":1},"p3":{"enable":1},"w5c":{"enable":1},"cozy":{"gearsTotal":6,"enable":1,"tempunit":0,"sTempMin":10,"isShowDeviceSafetyClause":0,"gearsOffset":3,"sTempMax":42},"feeder":{"isShowDeviceSafetyClause":0},"h2":{"enable":0},"tools":[{"type":"walkpet","data":{}},{"type":"weight"},{"type":"remind","data":{}}],"d3":{"enable":1},"d4":{"enable":1},"w5n":{"enable":1},"aqh1":{"enable":0},"cat":{"days":30},"w5":{"enable":1},"devices":[{"type":"W5","data":{"mode":2,"createdAt":"2023-07-28T18:04:18.000Z","settings":{"colorSetting":0,"disturbConfig":2,"disturbMultiTime":[{"repeats":"1","time":[1320,360]}],"lampRingBrightness":3,"lampRingGoOutTime":1440,"lampRingLightUpTime":0,"lampRingSwitch":1,"lightConfig":2,"lightMultiTime":[{"repeats":"1","time":[0,1440]}],"noDisturbingEndTime":360,"noDisturbingStartTime":1320,"noDisturbingSwitch":0,"smartSleepTime":3,"smartWorkingTime":5},"name":"EVERSWEET WIRELESS(SUS304)","id":100058630,"filterWarning":0,"lackWarning":0,"runStatus":1,"relation":{"userId":"100615812"},"typeCode":4}}],"k2":{"enable":1},"go":{"hasMarks":0,"maxMarksPerRoute":30,"markEnabled":1},"k3":{"enable":1},"aq":{"enable":1},"hasRelay":false,"feedermini":{"isShowDeviceSafetyClause":0},"w4x":{"enable":1},"appbanner":[],"t3":{"enable":1},"aq1s":{"enable":1}}} path = /discovery/device_roster PetkitOpenAPI request: method = post, endpoint = http://api.petkt.com/latest, path = /w5/device_detail, params = null, body = {"id":100058630}, headers = {"X-Client":"ios(15.5;iPhone12,3)","Accept":"/","X-Timezone":"2.0","Accept-Language":"es-ES;q=1","Accept-Encoding":"gzip, deflate","X-Api-Version":"8.17.1","Content-Type":"application/x-www-form-urlencoded","User-Agent":"PETKIT/8.17.1 (iPhone; iOS 15.5; Scale/3.00)","X-TimezoneId":"Europe/Madrid","X-Locale":"es_ES","X-Session":"1eaff31e0ce84669b5727326d24a86dbzNHUSFouxkPrOyWT4n8m"} Failed to get device information. Please check if the config.json is correct.