al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.64k stars 664 forks source link

Missing entities on Mi Smart pet feeder #925

Open quinzico opened 1 year ago

quinzico commented 1 year ago

Device model / 设备型号

mmgg.feeder.fi1

Component version / 插件版本

0.7.2

HA core version / HA版本

2022.11.5

Integrated mode / 集成方式

Token

The problem / 问题详情

A lot of attributes does not have normal values. Also, i've seen the sub-entities associated with this product, but i cannot see it mapped on HA.

One subentity that i need is to know the level of food inside the feeder, whis is the property pet-food-left-level, which you can check on

https://home.miot-spec.com/spec?type=urn:miot-spec-v2:device:pet-feeder:0000A06C:mmgg-fi1:1

Entity attributes / 实体属性

image

Home Assistant Logs / 系统日志

No response

al-one commented 1 year ago

pet_feeder.pet_food_left_level: -4004 Other internal errors

The error is coming from the device and I don't know why this error occurs. Maybe you can try these configurations:

# configuration.yaml
xiaomi_miot:
  device_customizes:
    mmgg.feeder.fi1:
      chunk_properties: 1
# configuration.yaml
xiaomi_miot:
  device_customizes:
    mmgg.feeder.fi1:
      exclude_miot_services: feedplanserve,keyserve,devicecontrolserve
quinzico commented 1 year ago

Thanks @al-one,

After trying the 1st configuration i have no errors:

imagem

al-one commented 1 year ago

Try master without configurations.

Jezza34000 commented 1 year ago

In the same subject i have the same model "mmgg.feeder.fi" (Firmware: 2.1.3) And in this fix :

'sensor_properties': 'outfood_num,desiccant_left_time,cleantime',

In my case "outfood_num" never change... I've try in the morning, in the evening, before/after feeding... It's fixed to 5 and don't move at any time, i don't really understand the use ?!

And it's the same for both proprieties: outfood-num/outfood-id : no one change at any time. I've even try to fully reset my pet feeder, it's still fixed to 5 ?! Firmware bug ?

ShifuEst commented 1 year ago

Same problem like user Jezza34000

Fredzxda commented 1 year ago

Hello. Same here. And I have exactly the same attribute structure image

jsapede commented 1 year ago

same here

Paps42 commented 1 year ago

Hi, I also have this device. I would like to know if you were able to make it work with HA. I can't get any information like your screenshots above. I installed XIAOMI MIOT AUTO, connected with my cloud in the DE zone, but nothing comes up. I found the smart food feeder but no information possible in HA. How did you do ? could you tell me what you put in your configuration.yaml and maybe customize.yaml? Thank you for your help.

z-master42 commented 9 months ago

Any update to outfood-num and outfood-id?

Jezza34000 commented 9 months ago

Not working at all. Probably firmware issue