I didn't want my fish to die while i was overseas, so i wrote this. A tiny web site to feed my fish.
/`·.¸
/¸...¸`:·
¸.·´ ¸ `·.¸.·´}
: © ):´; ¸ {
`·.¸ `· ¸.·´\`·¸}
`\\´´\¸.·´
Most of this was written on a sunday when i was fairly hung over, so the quality of the code reflects that.
Also if you decide to break my site please don't kill my fish (overfeeding will kill them)
No. Nope. Definitely not here....
This all runs on a raspberry pi 3 which sits under my fish tank.
It uses the motion package to capture images from the web cam and writes the to the root web directory every second. The python code should be configured to run on startup.
The display of the last feeding time is done by reading the last modified time of the robots.txt file.
Not recommended or supported...
- Buy Raspberry Pi
- Install Raspbian (or other)
- ?????
- Profit
Make code suck less (step 1 being dont use php)