Arduino sketch to handle automatic shutter open/close for an automower