-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Xiaomi Smart Pet Food Feeder #224
Comments
Did you read this: https://github.com/jghaanstra/com.xiaomi-miio/wiki/Adding-new-devices I'm unable to find much documentation about this device. I can try to add it based on what I found online but without any garantee. If it doesnt work and you want it integrated you need to send me the characteristics of the device or donate a device so I can integrate it. |
At the very least you will need to send me the device model you have which is something like |
Hello,
Thank you for your answer. I'm very new to homey and lot of things you talk about are completely unknown to me.
However, I think I could get the model number you want by using Xiaomi cloud token extractor software.
Here is it : mmgg.feeder.fi1
I also tried to install bluestack and wireshark to get the others informations required in your github post, but I don't understand nothing to wireshark. Installed the xiaomi app, connected to it, launched wireshark but after that, don't know what to do.
I hope it helps.
Best regards
…----
Alexandre Zeiller
06 88 79 42 03
------- Original Message -------
Le dimanche 16 juillet 2023 à 16:09, Jelger Haanstra ***@***.***> a écrit :
At the very least you will need to send me the device model you have which is something like mmgg.feeder.fi1 or mmgg.feeder.petfeeder.
—
Reply to this email directly, [view it on GitHub](#224 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AAKA65SGDGCXIH5G7PC2XR3XQPY3BANCNFSM6AAAAAA2LMF52U).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Could you explain in further details what controls for the feeder are available and how you would like to see these implemented in Homey. The documentation doesnt make much sense without have at least a basic understanding of what the device is capable of. Please explain it based on this documentation: https://home.miot-spec.com/spec/mmgg.feeder.fi1 |
The app allow to define a food program, for example give X grams of food at different times of the day as you can see in the screenshot below.
[image.png]
To handle that food program, you can just specify what quantity at what time you want to distribute, you can also set information about your animale (type of animale, sex, weight, sterilized or not), and the food program can be automatically calculated, but it's maybe too much complex to reproduce.
You also have a button to give one portion of food when you click on it, and the app is also capable to notice you when the food storage is near to be empty.
There is also notification when you need to clean the food storage and how to do it.
With homey, if you are able to control the food program by setting food portion and time of the day to distribute + notifaction when empty and when to clean, it would be already really useful.
Hope it helps, if you need set of screenshots of the clean tutorial I can send them to you.
Best regards,
Alex
…----
Alexandre Zeiller
06 88 79 42 03
------- Original Message -------
Le mardi 18 juillet 2023 à 22:47, Jelger Haanstra ***@***.***> a écrit :
Could you explain in further details what controls for the feeder are available and how you would like to see these implemented in Homey. The documentation doesnt make much sense without have at least a basic understanding of what the device is capable of.
—
Reply to this email directly, [view it on GitHub](#224 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AAKA65QBYBE7VSGQA4PYUQDXQ3Y65ANCNFSM6AAAAAA2LMF52U).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
You can post images when replying over email. But what you are describing is way to complex to implement without having the actual device and the lack of proper documentation. I would be happy if I could even get the distribution of one portion working. I'll see what I can do., |
I understand It can be complex to work with a device you don't have to make needed tests. I hope you didn't bought all devices already supported lol 😅
To me, the mose useful thing is notifications. Sure it would be good to have all features supported in the homey app, but when you setup the food program, you don't change it every days.
However, you need to have notification when the storage is empty and (but less important) when and how to clean it.
Best regards,
…----
Alexandre Zeiller
06 88 79 42 03
------- Original Message -------
Le mardi 18 juillet 2023 à 23:02, Jelger Haanstra ***@***.***> a écrit :
You can post images when replying over email.
But what you are describing is way to complex to implement without having the actual device and the lack of proper documentation. I would be happy if I could even get the distribution of one portion working. I'll see what I can do.,
—
Reply to this email directly, [view it on GitHub](#224 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AAKA65XQHGACE7WVHL6RSRLXQ32VFANCNFSM6AAAAAA2LMF52U).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi @jghaanstra I thought I could continue in this thread instead of the general one. I got my device yesterday. Got the miiocli devtool working aswell as I did a wireshark... But the pcap decryption doesn't reply anything. I would like to be as helpful as I can in this case, since I really would like to get it to work with Homey. So what I did get this far: == Xiaomi Smart Pet Food Feeder (Device online ) == When I do a Wireshark after a command via the emulated app through BlueStack emulator, the device does indeed work and I can see the communication thru the cloud into my device. When I save the pcap file and use my token as a decryption, it doesnt return anything. I did 4 captures, first one filtered to only my computers IP, which I thought could be the reason... The second one without filter. At that attemt, I actually got a reply, without any sufficient info though... C:\Windows\System32>miiocli devtools parse-pcap C:\temp\miio-feeder2.pcap c98c24982c60b01014ada932d******* == stats == The 3rd and 4th capture didn't resolve anything either. I also tried running the genericmiot command, giving me plenty of errors. :) C:\Windows\System32>miiocli genericmiot --ip 10.10.10.217 --token c98c24982c60b01014ada932d******* status So I am clearly doing something wrong, but I can't find out what. If you can help me to sort out what I am doing wrong, I'll gladly chare any output I can to help you integrate the device into the app. Best regards |
don't know if it helps but found this: https://home.miot-spec.com/spec/mmgg.feeder.fi1 and this: al-one/hass-xiaomi-miot#220 I dont know where you live in the netherland but it is possible to lend you the device if needed. |
Thanx, I'm aware of the miot spec (I use this site for integration of most of the devices and it's already posted above here ;-) ). The issue with the pet fooder is translating it to meaningful capabilities in Homey. What I can probably do is this:
|
I would like to to use the pet feeding trigger cards to be able to only feed X portions while we are at home. For this Im going to use the Tractive GPS tracker Homey app to apply the condition. When the GPs is within a certain area, the extraction of X portions will be done at the current schedule. In the standard app, you can set a fixed schedule when to extract X portions - but that will "go to waste" when we aren't at home. I would also like my daugthers to push a physical button (with an timeout to not be able to push more than one action), to do an extraction action if something goes wrong with the GPS trackcing. Best Regards |
I'm owning such a device and using it through an custom component in Home Assistant. I'm switching to Homey, therefore the support for this device would be great. If needed I can share input from the existing custom component. Let me know if you need specifics. Would be great to get this device supported! |
Anything new in the case that you have the information you need to be able to integrate it? |
Nope.
If you are using ut as a service with the mapping as parameters posting your automations here would surely help me understand how API of the device works. |
Please test release 3.2.17 which contains experimental and basic support for this device. The release is pending approval by Athom in the app store but you can test it through the test channel |
The setup went smooth the second time. First time the pair session timeout because it took me about 5 minutes to find my token. So after the connection was completed, i saw it in homey gui, but after the first update in the app, i got this error message: The bin is currently empty on food, so i think the status value has to match the empty state, which it doesnt right now (from what i can understand from the error message). |
Just noticed a bug which I'll fix first, could be that resolves this issue. Will be added on the next release. |
Thank you for taking the time to get it into the app. But as the others also write, an error message comes up when it has been added. |
A possible fix has been added with release 3.2.18 which is currently pending Athom's approval in the app store. You can test it by installing the test version. |
Closed due to lack of response. |
Hello. Now I have tested it through, and here is my experience of it. |
The old an new mode values are available as tokens in the "mode has changed" trigger card when it's triggered. You should use condition logic to determine what triggered the card. |
First check the actual value of the new / previous mode before filtering on it. It's not medium or silent but Normal | Low | Empty. |
Now I got it to work. Thank you so much. |
Hello,
It would be great to add support of Xiaomi Smart Pet Food Feeder device.
See the product here : https://www.mi.com/global/product/xiaomi-smart-pet-food-feeder/
The Smart Pet Fountain is already supported, adding the support of the food device would be a perfect combo.
Thank you
The text was updated successfully, but these errors were encountered: