Because of a host of personal issues and work from other classes I have not been able to work on this project this week. However, I still remain on track according to my plan and just need some more parts to arrive so I can continue my work
Team’s Status Report for 02/22/25
Risks
- Running ML models on Raspberry Pi could cause performance limitations due to limited computing power. To address this, I will optimize models for efficiency and consider offloading computations to an external server.
- Additionally, compatibility between ML frameworks and Home Assistant might pose challenges.I will validate API integrations using Postman to address this.
Changes
No major changes in implementation/design yet. After trying to deploy the ML model on RPi, if the RPi has limited storage/processing power, will deploy the ML forecasting on a computer.
Progress
- Automation setup with Home Assistant.
- Initial implementation of optimization models.
- Model training and prediction framework.
- CSV data storage and Docker integration.
- Nordpool grid price retrieval setup.
Anya’s Status Report for 02/22/25
Accomplishments this week
Home Assistant Automation Implementation [Integration Platform]
Defined shell commands and set up tasks in config yaml files for data publishing via the HA API
Grid Price Integration from Nordpool
- Configured retrieval of real-time electricity prices from Nordpool.
- Integrated Nordpool API into the optimization workflow to factor dynamic pricing.
- Implemented logic to optimize energy consumption based on real-time grid prices.
- Instantiated the grid price optimization problem using plp.LP
Challenges & Next Steps
- Sensor Deployment: I am awaiting final integration of sensors to obtain real-time load consumption data
- Performance Optimization: I need to fine-tune the grid pricing model for higher accuracy.
- Scalability: Need to expand the system to support multiple optimization strategies dynamically.
- Progress and Schedule
- Completed foundational tasks and progressing into real-time data collection and optimization refinements.
- Minor delays in sensor delivery [due to snow storm] could impact the timeline for model training.
- Action Items for Next Week
- Deploy sensors and verify real-time data collection.
- Train models using load consumption data
- Conduct further tests on the dayahead optimization strategy.
- Optimize automation workflows in Home Assistant.
Erika’s Status Report for 2/22/2025
This week, I completed the design of the model house, ensuring it is manufacturable and fulfills all the requirements of our project design, including a variety of loads and a solar panel energy input suitable for energy optimization analysis. I also made significant progress on the user dashboard web app, setting up the basic framework and integrating initial features for visualizing household energy consumption.
I am on schedule with the project timeline. Completing the model house and starting the user dashboard are tasks planned for upcoming weeks, but it is great to get a head start.
Next week, I plan to integrate real-time energy consumption data into the user dashboard. I also aim to enhance the dashboard’s UI to improve user interaction and clarity. Furthermore, I plan to determine additional materials for the model house such as acrylics for walling and small decorations or toys to simulate a real home with active appliances.
Maya’s Status Report for 2025-02-15
# Progress This Week:
1. **ESP32 Setup and Expansion:**
– Continued setting up the ESP32, refining its configuration and stability.
– Started wiring components to the ESP32 on a breadboard for initial testing.
– Ensured reliable communication between ESP32 and Home Assistant.
2. **Model House Component Selection:**
– Researched and decided on key parts for the model house.
– Selected sensors and actuators for power monitoring and automation.
– Planned the integration of these components into the broader system.
3. **Testing and Initial Wiring:**
– Connected and tested multiple components with the ESP32.
– Began initial wiring to verify sensor functionality and data transmission.
– Identified preliminary wiring challenges and planned solutions.
# Challenges Encountered:
– Verifying compatibility between selected components and the ESP32.
– Managing power distribution effectively to prevent overloading circuits.
# Next Steps:
– Finalize the wiring layout and begin soldering for a more permanent setup.
– Expand testing with additional sensors and actuators for comprehensive data collection.
– Develop automation rules within Home Assistant based on sensor inputs.
– Continue refining power optimization strategies through real-time analysis.
Erika’s Status Report for 2/15/2025
1. Accomplishments:
This week, I worked on:
-
Design Review Presentation: I created the slides for the following sections:
- Testing and Verification Methodology: Outlined our approach to validating system accuracy, including sensor calibration tests and data integrity checks.
- Implementation: I included a visual of what our user dashboard will look like.
- Project Management: Developed the Gantt chart, task assignments, and bill of materials for the team.
[Include a screenshot of your slides or the presentation document]
-
User Dashboard Web App: I started building the front end of the user dashboard using Next.js. I implemented the homepage layout and began integrating basic components such as energy usage graphs and a real-time energy savings counter.
This image is serving as the inspiration for my own dashboard.
-
Model House Demo: I designed the layout for our model house, which will be used to showcase SmartWatt’s real-time monitoring capabilities during the demo. I determined the dimensions of each rooms and the placement of each load.
-
Materials Planning: I determined the quantity of wood and acrylic needed to build the model house. I have ordered the wood so I can start laser cutting as needed. However, I plan to wait until later in the semester to assemble the model house since we don’t currently have a large enough storage space.
2. Progress Status:
- I am currently on schedule with my tasks. The design review slides are complete, and I made significant progress on both the web app and model house design.
3. Goals for Next Week:
- Web App: Complete the first iteration of the front-end visualizations and user input interface.
- Model House: Receive the balsa wood and cut each piece to size. I will also order wood glue to assemble the pieces in the future.
- Design Review Submission: My teammate will present our design review on M/W.
Team’s Status Report for 15/02/25
Risks
- Need to test how different LP solvers (CVX, PuLP etc) output different results for the optimization and choose which one is the most accurate at reducing energy consumption cost
Changes
Direct communication between the ESP32 and Django backend for storing load consumption data
Schedule & Progress
- Optimization algorithm framework finalized
- Design specifications (including components in the embedded layer, ML model, backend and mobile app and communication protocols between these finalized)
- Design presentation done
- external API libraries and datasets (and data collection mechanisms for ML models) identified
- Sketched up a model of the demo house with dimensions and ordered materials accordingly.
Additional Weekly Questions (A written by anyab, B written by Erika , C written by Maya) - Part A :
- Health: SmartWatt contributes to community health by reducing reliance on non-renewable energy sources (increasing reliance on solar panel energy, which will help decrease air pollution in the long run through all of the fossil fuels that haven’t burnt). Additionally, SmartWatt has an optimization function that maximizes consumption of solar power, thereby reducing the need for drawing power off the grid
- Welfare: By optimizing energy costs and enhancing efficiency, SmartWatt supports economic welfare, reducing household energy expenses and ensuring consistent power availability for essential needs.
- Safety : Users can see what their power consumption for different appliances are, and can determine if an appliance is faulty based off the power profile.
- B : SmartWatt, our household energy optimization and monitoring system, addresses the growing need for sustainable energy management within residential communities. Rising energy costs and increasing awareness of climate change have created a strong societal demand for solutions that reduce consumption, lower utility bills, and promote environmentally responsible behavior. SmartWatt empowers homeowners to monitor and optimize their energy use through real-time analytics, personalized recommendations, and automated control of appliances. By reducing energy waste, SmartWatt not only decreases household expenses but also contributes to broader efforts to lower carbon emissions and combat climate change—issues that affect society as a whole.Socially, SmartWatt fosters a culture of energy-conscious living within neighborhoods and communities. The platform can be extended to include social features that allow users to compare their energy savings with neighbors, participate in local energy-saving challenges, and share tips, encouraging collective action toward sustainability. Additionally, SmartWatt’s affordability and user-friendly interface ensure accessibility for diverse socioeconomic groups, helping low-income households reduce utility costs and alleviate energy poverty. By promoting sustainable habits and supporting energy equity, SmartWatt advances social and environmental responsibility, creating a positive impact on both individuals and their communities
C: Consideration of Economic Factors
SmartWatt is designed to optimize energy consumption in residential homes, directly impacting economic factors by reducing household electricity costs. By integrating real-time monitoring, predictive analytics, and automation, SmartWatt ensures that homeowners can minimize unnecessary energy expenditure, ultimately leading to lower utility bills. The optimization algorithms leverage data from smart sensors to shift power usage to off-peak hours, allowing users to take advantage of lower electricity rates where time-of-use pricing is available.
On a broader scale, SmartWatt contributes to economic efficiency by reducing strain on power grids, decreasing the demand for expensive energy production during peak times. The system also enables better load balancing, which can prevent overuse and extend the lifespan of household appliances, reducing replacement and maintenance costs over time. By making energy management more accessible and cost-effective, SmartWatt supports economic sustainability and affordability, ensuring long-term financial benefits for users while promoting responsible energy consumption at a larger scale.
However, the initial cost may be high as many appliances will need to be wired into Home Assistant for both control and monitoring. With stuff like the ESPHome it is a lot cheaper given some technical knowledge
Anya’s Status Report for 15/02/25
[Code can be viewed at : https://github.com/erika-24/smart-watt]
- Defined system parameters for power optimization (including the decision variables, established constraints for battery and load management, and objective function which is a function of grid power and solar energy produced)
- Started working on an optimization class that balances energy production, consumption, and storage.
- Utilized linear programming to optimize deferrable loads.
- Considered cost function variations: profit, cost minimization, and self-consumption.
- Used PuLP LP solver to solve the problem.
- Ran preliminary simulations on sample energy data
Finalized System Components
- Selected SQLite as the database for storing load consumption and power data, as well as outputs from the ML model
- Chose appropriate power sensors (INA226) and relay switches, as well as load profiles for the appliances for our model house
- Defined the embedded layer for system control (including all interactions between RPi5, Django backend, ML model, circuit components)
Completed the block diagrams for the design presentation and went over it as I will be presenting this week
Schedule & Progress
Waiting on Maya to send me real-time power consumption data once the power sensors arrive, so while the load consumption forecast model is almost done, it needs to be trained on real time data. I would say I am on schedule.
Next Steps
- Implement improvements to the LP solver configuration (including implementing the self consumption objective function)
- Begin integration with IoT power monitoring system (research how HTTP requests between ESP32 and the backend occur)
- Conduct further simulations to validate the algorithm’s robustness (on more real-time load consumption data)
- Start working on generating a data frame for grid pricing (via API calls)
Erika’s Status Report for 2/8/2025
This week, my team presented our proposal to the class. Taking what I learned from the presentation’s feedback, I wrote up an overarching plan for my capstone project. Then, I researched components and implementation ideas. I spent time refining my approach, identifying key technical considerations, and ensuring the feasibility of my design. This foundational work helped me map out the next steps for development.
My progress is on schedule, as I focused on planning and research to ensure a smooth transition into prototyping. If any unforeseen delays arise, I will allocate additional time to testing and debugging to stay on track.
Next week, I aim to finalize my component selection, begin ordering necessary parts, and start initial circuit and system design.
Team Status Report for 02-08-2025
Presented the proposal to the class
Risks :
- Right now, our load forecasting model is trained on synthetic data. Main risk is overfitting to synthetic data. Once we switch to real-time power consumption logs from ESP32 sensors, our model may struggle to adapt to real-world variations such as sudden spikes in energy usage (a heater turning on) or unusual load drops (someone turning off all appliances).
Mitigation : Collect real IoT data logs from ESPHome devices to improve model accuracy. Implement outlier detection to ignore unusual spikes or drops in power usage. Use XGBoost & RandomForest models, which handle nonlinear patterns better. Will plan to use multiple forecasting models (XGBoost, ARIMA, LSTMs) and use ensemble methods to combine predictions.
2. The reliability and quality of the optimization algorithms are directly dependent on the quality of the forecast data (for load forecasting + solar power + grid prices). Lower forecast errors lead to more accurate optimization results, whereas high forecast errors can lead to bad optimization outcomes
Changes :
No significant design changes have been made to the system yet.
Progress:
- Solcast API integration for access to real-time weather forecasts
- Load forecasting module that predicts load for next 24h within household
- Set up home assistant instance
- Connect ESPHome to home assistant
- We have researched and validated the necessary electronics components to execute our plan