Automate nightcapping in HCPete