Open ih8ra1N opened 2 years ago
[DEBUG] {"headers":{"X-Session":"---","Accept-Encoding":"gzip, deflate","X-TimezoneId":"Europe/Berlin","X-Api-Version":"7.28.2","X-Locale":"en_US","User-Agent":"PETKIT/7.28.2 (iPhone; iOS 15.1; Scale/3.00)","Accept":"/","Content-Type":"application/x-www-form-urlencoded","X-Client":"ios(15.1;iPhone12,5)","Accept-Language":"de-DE;q=1 en-DE;q=0.9","X-Timezone":"2.0"},"location":"north_america","model":"Feeder","deviceId":"----------","enable_http_retry":false,"http_retry_count":3,"DropMeal_name":"DropMeal","MealAmount_name":"MealAmount","FoodStorage_name":"FoodStorage","DesiccantLevel_name":"DesiccantLevel","ManualLock_name":"ManualLock","LightMode_name":"LightMode","Battery_name":"Battery","enable_polling":true,"polling_interval":60,"enable_desiccant":false,"alert_desiccant_threshold":7,"enable_autoreset_desiccant":false,"reset_desiccant_threshold":5,"enable_manualLock":false,"enable_lightMode":false,"reverse_foodStorage_indicator":false,"ignore_battery_when_charging":false,"fast_response":false,"urls":{"owndevices":"http://api.petkt.com/latest/discovery/device_roster","deviceState":"http://api.petkt.com/latest/feeder/devicestate?id={}","deviceDetail":"http://api.petkt.com/latest/feeder/device_detail?id={}","saveDailyFeed":"http://api.petkt.com/latest/feeder/save_dailyfeed?deviceId={}&day={}&time={}&amount={}","removeDailyFeed":"http://api.petkt.com/latest/feeder/remove_dailyfeed?deviceId={}&day={}&id=d{}","dailyfeeds":"http://api.petkt.com/latest/feeder/dailyfeeds?deviceId={}&days={}","restoreDailyFeeds":"http://api.petkt.com/latest/feeder/restore_dailyfeed?deviceId={}&day={}&id=s{}","disableDailyFeeds":"http://api.petkt.com/latest/feeder/remove_dailyfeed?deviceId={}&day={}&id=s{}","resetDesiccant":"http://api.petkt.com/latest/feeder/desiccant_reset?deviceId={}","updateSettings":"http://api.petkt.com/latest/feeder/update?id={}&kv={}"},"manufacturer":"Petkit"} [11/10/2021, 18:49:57] [homebridge-petkit-feeder-mini] [INFO] initializing Petkit Feeder device. [11/10/2021, 18:49:57] [homebridge-petkit-feeder-mini] [DEBUG] request device info from Petkit server. Starting to advertise 'homebridge-petkit-feeder-mini DF26' using bonjour-hap backend! [11/10/2021, 18:49:57] Homebridge v1.3.5 (homebridge-petkit-feeder-mini) is running on port 57737. [11/10/2021, 18:49:58] [homebridge-petkit-feeder-mini] [DEBUG] http request success [11/10/2021, 18:49:58] [homebridge-petkit-feeder-mini] [DEBUG] {"result":{"t4":{"enable":1},"p3":{"enable":1},"devices":[{"data":{"name":"Feeder SOLO","createdAt":"2021-10-11T13:57:53.160Z","id":10003154,"state":1,"relation":{"petIds":["------","-------"],"userId":"---------"},"status":{"batteryPower":0,"batteryStatus":0,"desiccantLeftDays":30,"door":0,"feeding":0,"food":1,"ota":0,"overall":1,"pim":1,"runtime":0,"wifi":{"bssid":"----","rsq":------,"ssid":"----"}},"desc":"No feeding plan."},"type":"D4"}],"cozy":{"gearsTotal":6,"enable":1,"tempunit":0,"sTempMin":10,"isShowDeviceSafetyClause":0,"gearsOffset":3,"sTempMax":42},"feeder":{"isShowDeviceSafetyClause":0},"k2":{"enable":1},"go":{"hasMarks":0,"maxMarksPerRoute":30,"markEnabled":1},"k3":{"enable":1},"h2":{"enable":0},"tools":[{"type":"walkpet","data":{}},{"type":"weight"},{"type":"remind","data":{}}],"d3":{},"d4":{"enable":1},"feedermini":{"isShowDeviceSafetyClause":0},"w5":{"enable":1},"t3":{"enable":1}}}
currently this plugin only works with Petkit Feeder Mini and Petkit Feeder Element.
I can´t get this Plugin to work. Error: [11/10/2021, 18:35:47] [homebridge-petkit-feeder-mini] [ERROR] sorry that this plugin only works with these device type:["Feeder","FeederMini"]. [11/10/2021, 18:35:47] [homebridge-petkit-feeder-mini] [ERROR] initialize Petkit Feeder failed: could not find supported device.
I have a Feeder Solo with the following config:
"log_level": 2, "devices": [ { "headers": [ { "key": "X-Session", "value": "..." }, { "key": "Accept-Encoding", "value": "gzip, deflate" }, { "key": "X-TimezoneId", "value": "2.0" }, { "key": "X-Api-Version", "value": "7.28.2" }, { "key": "X-Locale", "value": "en_US" }, { "key": "User-Agent", "value": "PETKIT/7.28.2 (iPhone; iOS 15.1; Scale/3.00)" }, { "key": "Accept", "value": "/" }, { "key": "X-TimezoneId", "value": "Europe/Berlin" }, { "key": "Content-Type", "value": "application/x-www-form-urlencoded" }, { "key": "X-Client", "value": "ios(15.1;iPhone12,5)" }, { "key": "Accept-Language", "value": "de-DE;q=1 en-DE;q=0.9" } ], "location": "north_america", "model": "Feeder", "deviceId": "--------", "enable_http_retry": false, "http_retry_count": 3, "DropMeal_name": "DropMeal", "MealAmount_name": "MealAmount", "FoodStorage_name": "FoodStorage", "DesiccantLevel_name": "DesiccantLevel", "ManualLock_name": "ManualLock", "LightMode_name": "LightMode", "Battery_name": "Battery", "enable_polling": true, "polling_interval": 60, "enable_desiccant": false, "alert_desiccant_threshold": 7, "enable_autoreset_desiccant": false, "reset_desiccant_threshold": 5, "enable_manualLock": false, "enable_lightMode": false, "reverse_foodStorage_indicator": false, "ignore_battery_when_charging": false, "fast_response": false } ], "_bridge": { "username": "--------", "port": ---------- }, "platform": "petkit_feeder_mini" }