Solar tracking Agent code , Help

Hello!
I work on electric imp solar tracker project.
Source: https: //www.instructables.com/id/Solar-Tracker-in-the-Internet-Cloud/
Everything was built, but unfortunately the agent code is not.
I would ask for help in this. I can’t do it.
All the guidelines are welcome.
Thanks!
Pepe.