benleb / surepy

🐾 Library & CLI to monitor and control the Pet Door & Cat Flap Connect 🚪 the Pet Feeder Connect 🍽 and the Felaqua 💦 sold by Sure Petcare
https://pypi.org/project/surepy/
MIT License
76 stars 36 forks source link

Add the 'feederassign' command to add/remove pets from feeders #164

Closed badnetmask closed 1 year ago

badnetmask commented 1 year ago

I was looking to figure out a way to automate adding/removing a pet from a feeder, when I stumbled upon this project. I realized this feature didn't exist, so I took some time to write it.

Example usage:

surepy feederassign -d 123456 -m list
surepy feederassign -d 123456 -m add -p 654321
surepy feederassign -d 123456 -m remove -p 654321

There are a few caveats though:

I hope you find this useful.

Please, let me know what improvements you would like to see before merging.

Thank you.

benleb commented 1 year ago

Thanks! 👍 And sorry for the slight delay 🙄 included in the 0.9.0a0 pre-release here: https://pypi.org/project/surepy/0.9.0a0/ :)