buzzcola / squeakernet

Squeakernet FLP: The Ultimate Feline Lifestyle Platform
7 stars 0 forks source link

Top Up Kibbles on under-feed #19

Closed buzzcola closed 5 years ago

buzzcola commented 5 years ago

The feeder has proven to be inaccurate. Currently set at 55 grams, it sometimes dispenses in the high 30's despite cranking the same amount of time.

If the feeding weight X is less than the configured setting Y, where Y-X is greater than some threshold (5 or 10 grams?), dispense an additional Y-X grams of kibbles and weigh again. The top up would likely be a new event type for the log system.

buzzcola commented 5 years ago

https://github.com/buzzcola/squeakernet/commit/9bea5b3731dde87a78e749c9b0a43d8031cf2bba

Tested out the new top-up function and it works well. Should improve the accuracy and avoid under-feeding.