I’m currently tweaking my photon with battery shield and solar panel to obtain the optimum timing of sleep vs wake so that it will provide a net gain to the battery during the day and in theory work indefinitely. My one question though is about the rain gauge. Obviously when the photon is in deep sleep it will potentially miss bucket tips if it’s raining and a tip occurs while sleeping. I suppose I could modify the code to insert a delay before sleeping should a bucket tip occur to see if another one happens and then if it does, delays again the sleep mode. Only problem with this is that if we have a prolonged period of rain it could potentially drain the battery completely.
Now the only solution I see is the aforementioned one with a mechanism to shut the system down before the battery gets critical or I employ a larger battery (I have a 2000maH lipo right now) with a larger solar panel and possibly a sunny buddy. My inclination is to do just that, beef up the battery and solar panel (perhaps 2 panels) and go with the MPPT functionality of the sunny buddy. On the other hand I could just go with a 6000maH battery or perhaps an additional paralleled 2000 maH battery to survive a longer period of outage. As long as I get enough sun to get a net gain in the battery I should be able to get out of the woods.
Am I on the right track or is there some way to keep track of the bucket tips even in deep sleep mode?