This week, I spent much time on the ethics assignment. There was a big change in the plan for the web app part – instead of using AWS, we decided to use different options like MySQL, MQTT, and Twilio API. Although using AWS is possible, it had more risks since we had a limited amount of time and I do not have a lot of experience in AWS. As discussed in the meeting with the professor Tamal, we decided to use Replit to deploy the web app instead. Below is the rough diagram:
I added some pages to the frontend (MonitoringPage and AddPlantPage), changed the database from SQLite to MySQL, added websockets between the frontend and the backend, and explored how I am going to implement MQTT between the web app and the RPi. I also explored how I am going to use Replit to deploy the app.
I am slightly behind the original schedule since I wasn’t able to integrate the RPi with the web app, but mostly on track. I’ll put as much time as I can into implementing MQTT next week.
Next week’s deliverables:
- complete MQTT between the web app and the RPi, verify it works
- start integrating live camera feed
- keep improving the design of the app