I made the following modifications. Hopefully now, it will not be too long before I can start migrating everything over to AWS.

  • Adjusting data fetching frequency to avoid exceeding API rate limits.

  • Implementing a caching mechanism to store and retrieve data locally.

  • Handling empty data gracefully and providing informative error messages.

  • Using an exponential backoff strategy when API rate limits are hit.

  • Enhancing error handling in the adjust_power_output function.

  • Updating the frontend code (App.js) to inform the user when data is unavailable.