Oct 20, 2017
One last note: Early in my project (and in previous logs) I reference the analysis code that determined actions needed for composting. My final prototype moves this logic off of the microprocessor and into the AWS cloud. I do this for a few reasons:
- ease of making programming/code updates
- simplifying the work the microprocessor does (allowing for increased battery life)
- ability to leverage machine learning capabilities (especially as I get more data about how the system reacts in expanded use)
- using location information (gathered during the registration process) to get additional weather information (rainfall, sunlight, outside temperature, etc). This reduces the number of sensors needed in the Compost Bin, reducing the overall cost
- ability to persist data and make this data available to other channels (Alexa, web dashboard, phone app, etc)
That being said, I strongly believe in this project and I want others to duplicate it, so access to those APIs is free. I will publish data on the APIs shortly, but in the interim, you can use the API calls as-is in the Arduinio code.
I'll create a registration process in the next month for use (to better track who is using the APIs and restrict the number of API calls to a reasonable amount). If there are any questions on the API use, reach out to be directly (in the comments or Twitter) and I'll provide additional guidance.