buzzcola / squeakernet

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

Adjustable max/desired kibble weight #11

Closed buzzcola closed 5 years ago

buzzcola commented 5 years ago

Currently the max kibble weight on the dashboard gauge is fixed at 65 grams. I just read the information on the side of the cat food bag and it looks like George Valentine and Pearl should be getting two 85-gram feeds per day. They have been finishing their kibbles pretty quickly, going by the new line chart. I'll add a configuration option that sets the max and pipe that through to the web interface.

buzzcola commented 5 years ago

Better yet, now that I know the rough amount that comes out per second, let's tweak the feed_cats() method to take in desired grams instead of desired crank time. Then this setting can control both the gauge and how much gets dispensed.

buzzcola commented 5 years ago

Kibble Math

https://docs.google.com/spreadsheets/d/1vUL5dv2Yf7X-AOI0KiisrV5YutACF3hB2gjN5kp4dPI/edit?usp=sharing

Looks like my dispensing is accurate to +/- 5g. Not too bad.

buzzcola commented 5 years ago

Removed the crank_time setting and replaced it with grams_per_second and desired_grams. New users will need to experiment with their setups to determine their grams per second setting.