Chickens are incredibly dirty animals. The limit switches would probably be fouled (fowled?) pretty quickly.
Commercial versions of this can measure motor load (via current), but still require manual calibration. I wonder if they thought they could get away with manual calibration, but couldn’t make it reliable.
Note that the commercial version latches the door shut, so raccoons can’t open it from the bottom (they would have to learn to pull the string, and then also stick a hind leg or something in the bottom to wedge it open after the string was released).
The new 2023 model replaces the string with what appears to be a high tolerance gear system. That auto-calibrates once, then remembers the set points.
Yeah, it would be interesting to get an update on FloweringElbow's implementation to see how often the lower limit switch is getting fowled :p .
I think it's also possible to design it such that both upper and lower limit switches are placed higher up on the edge of the door, rather than strictly at the top and bottom, which should help with the fouling.
Practically though, any automated system will be vulnerable to fouling/blockage and require regular maintenance to keep the mechanism clear and clean enough to avoid premature corrosion (chicken poop being pretty acidic). In my opinion, it's a pipe dream to have a fully automated coop in a backyard setting and not eventually/occasionally have failures that require manual intervention or lead to neglect and losses due to predation. Better to think of such systems as tools to relax the timing requirements for manual care. Instead of doing all the work at the right times, one can confirm that the animals are out/fed/watered/in/etc as part of doing the normal morning/evening rounds/chores.
Problems I've had with the chickenguard (I still use it, and probably won't stop, it's good enough with modifications)
The tracks will get warped over time if exposed to moisture. I don't live in a particularly wet place, and it's partially covered, but the wooden tracks warped, and the door would get jammed.
The string will get tangled and quickly finish off the batteries if the door is jammed or the batteries get low.
Modifications made:
I routed a painted solid wood doorway to provide a wider track to prevent the track from warping, and to improve tolerance to dirt, leaves and twigs, which has eliminated door jams.
Battery replacements every 6 months are now on my calendar.
Commercial versions of this can measure motor load (via current), but still require manual calibration. I wonder if they thought they could get away with manual calibration, but couldn’t make it reliable.
I think these people are the market leaders:
https://www.chickenguard.com/
Note that the commercial version latches the door shut, so raccoons can’t open it from the bottom (they would have to learn to pull the string, and then also stick a hind leg or something in the bottom to wedge it open after the string was released).
The new 2023 model replaces the string with what appears to be a high tolerance gear system. That auto-calibrates once, then remembers the set points.