While running this code, I noticed that I would occasionally get errors from the server, which would send a response saying I'd hit the maximum number of retries. To fix this, I rewrote some of code for the get_value_and_units function, telling it to wait and retry the request if it encounters this error.
Once again, if you would like to see, download, or edit the code, check it out on GitHub here.
0 Comments
Leave a Reply. |
About the AuthorA member of a small, select group of high school students tasked with writing software to save our town energy. Archives |