Thanks all, that is really helpful. @devachnid - it sounds like what you have will work perfectly, as I just want it to charge from the grid every night between 1230 and 0400, then to work like normal the rest of the time. Are you able to direct me to the relevant info I'll need to do that? Thanks