I finally finished a short write up of my setup.
https://www.backyardchickens.com/articles/phone-controlled-coop-door-and-electric-fence-charger-using-esp8266-and-blynk.74476/
Disclaimer: This is not an introductory electronics guide. I'm going to be laying out explanations of all the circuits (dumb nerd stuff). This is fairly technically advanced, and if you don't already have a good bit of experience with electronics and arduino, this article might be hard to read...
A pi is super overkill for what your average coop needs. The learning curve is also higher than arduino IMO. Oh, and about the arduino freezing up, the ESP family all have software and hardware watchdog timers that reset them if they freeze up.
I got my ip camera from aliexpress for $15...
I'm using a mix of the esp8266 and the nodemcu esp board that is waaay less finnicky. The esp-01 board for the 8266 is real finnicky, because of the multiple boot modes based on pins. You have to tie reset and ch_pd to vcc. Also, GPIO2 needs to be high or left floating during startup, so you...
Currently working on automating my coop using blynk and esp8266. My wife and I can turn on and off the electric fence from our phones anywhere in the country so far. Once I get everything installed and working, I'll clean up the code and stuff and post it all.
I got some chicks this summer, and they finally went outside last week now that I got the coop done. They've been allowed out on supervised ranging this week until I get the automatic door finished this weekend. They've mostly figured out the electric fence, but I'll also be upgrading it this...