{"id":198,"date":"2025-03-29T21:55:43","date_gmt":"2025-03-30T02:55:43","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/?p=198"},"modified":"2025-03-29T21:56:49","modified_gmt":"2025-03-30T02:56:49","slug":"yunas-status-report-for-03-29-2025","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/2025\/03\/29\/yunas-status-report-for-03-29-2025\/","title":{"rendered":"Yuna&#8217;s Status Report for 03\/29\/2025"},"content":{"rendered":"<p>Progress I made this week:<\/p>\n<ol>\n<li>I fixed the bug for MQTT communication from the web app to the RPi. When the user clicks on switches on the web app, the web app sends on\/off command to the RPi through MQTT. Below is the page where the users can control the actuators:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-199\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-10.15.38\u202fPM-300x231.png\" alt=\"\" width=\"300\" height=\"231\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-10.15.38\u202fPM-300x231.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-10.15.38\u202fPM.png 538w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/>\nZara and I worked together to make the water pump successfully get turned on\/off when user control the switch. The other actuators will be integrated in the future.<\/li>\n<li>I integrated web scraped data with the web app. I saved all the plant names and image urls to the database so that all the plant species can be displayed in the AddPlantPage. However, details about the ideal plant care conditions are stored in the database only when user selects that species (this is to ensure that database doesn&#8217;t store unnecessary data). Below is the page where users can name their plant and select the species:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-200\" style=\"font-size: 1rem\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-10.15.13\u202fPM-210x300.png\" alt=\"\" width=\"210\" height=\"300\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-10.15.13\u202fPM-210x300.png 210w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-10.15.13\u202fPM-768x1096.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-10.15.13\u202fPM-718x1024.png 718w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-10.15.13\u202fPM.png 796w\" sizes=\"(max-width: 210px) 100vw, 210px\" \/><br \/>\nAfter the user add their plant, the ideal plant care conditions are now stored in the database and are shown to the user like this:<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-203\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-10.26.57\u202fPM-300x221.png\" alt=\"\" width=\"300\" height=\"221\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-10.26.57\u202fPM-300x221.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-10.26.57\u202fPM-768x566.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-10.26.57\u202fPM.png 966w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/>\nThe user&#8217;s plant information now gets saved in the database and are displayed on the home page (name, health status, species, and its cute image)<\/li>\n<li>I made sensor data get displayed on the homepage as charts. To ensure the database does not contain too much data, I set it up so that the oldest sensor data gets deleted once it goes beyond 1440 limit (The data gets stored every 1 minute, and we aim to display the past 24 hours of sensor data. 60\/min * 24 hours = 1440 sets of data) The home page now only displays temperature and humidity charts, but the other sensor charts will be added in the future.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-202\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-8.55.22\u202fPM-284x300.png\" alt=\"\" width=\"284\" height=\"300\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-8.55.22\u202fPM-284x300.png 284w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-8.55.22\u202fPM-768x812.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-8.55.22\u202fPM-968x1024.png 968w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-content\/uploads\/sites\/345\/2025\/03\/Screenshot-2025-03-29-at-8.55.22\u202fPM.png 1420w\" sizes=\"(max-width: 284px) 100vw, 284px\" \/><br \/>\nWebsockets (django channels) were used to update the chart based on the real-time sensor data. Sensor data charts get updated every 1 minute, and health status gets updated every 24 hours.<\/li>\n<\/ol>\n<p>I&#8217;m on schedule.<\/p>\n<p>Deliverables for the next week:<\/p>\n<ul>\n<li>implement auto-scheduling feature<\/li>\n<li><span style=\"font-weight: 400\">activate plant detection for ML classification on webapp<\/span><\/li>\n<li><span style=\"font-weight: 400\">integrate API for plant identification on webapp<\/span><\/li>\n<li>add more sensors and actuators that can work with web app<\/li>\n<li>start exploring deployment (probably on RPi)<\/li>\n<li>start integrating Twilio API<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Progress I made this week: I fixed the bug for MQTT communication from the web app to the RPi. When the user clicks on switches on the web app, the web app sends on\/off command to the RPi through MQTT. Below is the page where the users can control the actuators: Zara and I worked &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/2025\/03\/29\/yunas-status-report-for-03-29-2025\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Yuna&#8217;s Status Report for 03\/29\/2025&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1040,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[6],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-json\/wp\/v2\/posts\/198"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-json\/wp\/v2\/users\/1040"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-json\/wp\/v2\/comments?post=198"}],"version-history":[{"count":3,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-json\/wp\/v2\/posts\/198\/revisions"}],"predecessor-version":[{"id":206,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-json\/wp\/v2\/posts\/198\/revisions\/206"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-json\/wp\/v2\/media?parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-json\/wp\/v2\/categories?post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb3\/wp-json\/wp\/v2\/tags?post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}