-
Notifications
You must be signed in to change notification settings - Fork 19
[Device]: Air Feeder - PLAF108 #4
Description
Device model name
Air Feeder
Device model number
PLAF108
Device type
Feeder
What state, statistic or control do you want to be reported in the integration ?
Hi there,
I guess it's quite straightforward to include, since it's somehow standard and so similar to the default granary feeder that you've already implemented.
I'm adding the full device/list I got back from the Petlibro's APIs:
2024-08-20 13:59:29.682 DEBUG (MainThread) [custom_components.petlibro.api] Making POST request to https://api.us.petlibro.com/device/device/list
2024-08-20 13:59:29.846 DEBUG (MainThread) [custom_components.petlibro.api] Received 200 response from https://api.us.petlibro.com/device/device/list: {'code': 0, 'msg': None, 'data': [{'deviceSn': 'XX', 'name': 'Air Feeder', 'icon': 'https://oss.us.petlibro.com/dlcloud/platform/product_icon/product_icon_66b4a779048e592c7e3a75d6.png', 'productIdentifier': 'PLAF108', 'productName': 'Air Feeder', 'roomId': 1, 'roomName': 'Living room', 'mac': 'XX', 'thirdSn': None, 'cameraId': None, 'softwareVersion': '2.0.11', 'timezone': 'Europe/Rome', 'online': True, 'surplusGrain': False, 'powerType': 3, 'powerMode': 1, 'electricQuantity': 100, 'batteryState': 'high', 'vacuumState': True, 'pumpAirState': True, 'vacuumMode': 'NORMAL', 'lowBatteryState': None, 'enableSound': True, 'enableLight': True, 'enableFeedingPlan': False, 'enableAutoUpgrade': True, 'nextFeedingDay': None, 'nextFeedingTime': None, 'nextFeedingEndTime': None, 'planState': None, 'nextFeedingQuantity': None, 'autoChangeType': None, 'autoThreshold': None, 'wifiRssiLevel': 4, 'wifiRssi': -36, 'productKey': None, 'useWaterType': None, 'remainingReplacementDays': None, 'remainingCleaningDays': None, 'useWaterInterval': None, 'useWaterDuration': None, 'exceptionMessage': 'Low food levels', 'todayTotalMl': 0, 'weightPercent': 0, 'weight': 0.0, 'grainOutletState': None, 'snowflake': True, 'temperature': None, 'platePosition': None, 'deviceShareState': 3, 'deviceCloudStorageState': None, 'shareId': None, 'unitType': 2, 'enableBatteryPercent': False, 'barnDoorState': None, 'barnDoorError': False, 'coverOpenMode': None, 'errorState': None, 'doorErrorState': 'NORMAL', 'bowlMode': None, 'whetherInSleepMode': None, 'imageId': '11d79fe7269d4a7488a779ad28820222', 'imageName': 'Black'}]}
2024-08-20 13:59:29.847 ERROR (MainThread) [custom_components.petlibro.hub] Unsupported device found: Air Feeder
Please let me know if you need anything else
Available to help integrate the new device
- I agree to help with the integration of the new device by providing the necessary information that will be requested