這是用戶在 2025-6-28 14:10 為 https://app.immersivetranslate.com/word/ 保存的雙語快照頁面,由 沉浸式翻譯 提供雙語支持。了解如何保存?

PLANNER
規劃者


TO BE DONE:
待辦事項:

Research 
研究

Make a PPT about the project
關於專案製作一份 PPT

Make logo
製作標誌

Buy the smart plug
購買智慧插座

Design the UI:
設計介面:

Design Sign up
設計註冊

Design Log in 
設計登入

Design Introduction (a short introduction of the app & ask what the user's current habits and goals)
設計介紹(簡短介紹應用程式 & 詢問用戶目前的習慣和目標)

Design Homepage
設計首頁

Design Activity/Electricity History usage (per day in detail)
設計活動/電力歷史使用(每天詳細)

Design Activity/Electricity History usage (per month and year in a chart) 
設計活動/電力使用歷史 (以圖表顯示每月和每年的使用情況)

Tips on how to save electricity
節電技巧

About Net Zero 
關於碳中和

Profile page:
個人頁面:

Profile (Edit profile)
基本資料 (編輯基本資料)

Settings
設定

Make in React Native
使用 React Native 建立應用程式

Database (put in the cloud)
資料庫 (上傳至雲端)

Connect with AI
與 AI 連接

Connect with SmartPlug
與 SmartPlug 連接

Find out how much electricity is overused
找出電力過度使用量

How to count the electricity once connected 
連接後如何計算電力

Make PPT (for Presentation on May 28th)
製作 PPT(用於 5 月 28 日的演講)




Important Deadline: (May)
重要截止日期:(5 月)

Week 1,2,3: Finish all the UI Design!
第一、二、三週:完成所有 UI 設計!

Week 4: Finish the PPT for the presentation. Possibly do all the database work and connect with the AI or Smart Plug!
第四週:完成演講用 PPT。可能需要完成所有資料庫工作,並連接 AI 或智能插頭!

Goals: 
目標:

Finish the UI Design 
完成 UI 設計

Finish the database (connecting the database with the app) 
完成資料庫(連接資料庫與應用程式)

Overview Tasks:
總覽任務:

A custom mobile app (iOS/Android)
一個自訂移動應用程式(iOS/Android)


Backend server to store and process data
後端伺服器用於儲存和處理資料


AI logic to analyze electricity usage patterns
AI 邏輯用於分析電力使用模式


Integration with multiple smart plug brands
整合多個智能插座品牌


Database to store user/device/usage info
資料庫用於存放使用者/設備/使用資訊


Possibly cloud hosting for scalability
可能使用雲端主機以達到擴展性

Figma: UI Design
Figma:UI 設計

VS Code > React Native: Build the app
VS Code > React Native:開發應用程式

Firebase: Authentication, database, hosting
Firebase:驗證、資料庫、主機

Node.js/Express or Python Flask/FastAPI: Backend API Server (handle device data and AI logic)
Node.js/Express 或 Python Flask/FastAPI:後端 API 伺服器(處理裝置資料和 AI 邏輯)

Tensorflow.js or Python: AI Model
Tensorflow.js 或 Python:AI 模型

MQTT/REST APIs: Device Communication (for smart plugs)
MQTT/REST APIs:裝置通訊(用於智能插頭)

1. Research Supported Smart Plug APIs
1. 研究支援智慧插座 API

Choose brands that provide public APIs (e.g., TP-Link Kasa, Tuya, Shelly, etc.)
選擇提供公開 API 的廠牌(例如 TP-Link Kasa、Tuya、Shelly 等)


Note whether they use MQTT (real-time) or REST APIs
注意他們是否使用 MQTT(實時)或 REST API


Register for developer access (some require API keys)
註冊開發者存取(有些需要 API 金鑰)


2. Design App Architecture
2. 設計應用程式架構

Split into these parts:
分成這些部分:

Mobile App (UI)
手機應用程式 (UI)


Backend Server (manages users, devices, and usage logs)
後端伺服器 (管理使用者、設備和使用記錄)


AI Module (analyzes usage) 

Database (stores usage data and device metadata) 

3. Build the Backend 

Use Node.js or Python: 

Expose REST API endpoints: 

POST /register-device 

GET /device-usage 

POST /analyze-usage 

Store device data in a NoSQL (like Firebase Firestore) or SQL (like PostgreSQL) database 

Add cron jobs or scheduled tasks to pull data periodically from the smart plug APIs 

4. Connect to Smart Plug APIs 

Implement data fetchers per brand: 

E.g., TP-Link uses Kasa API, Tuya has a cloud API 

Parse power usage data: watts, time, on/off status 

Save readings to database 

5. Build the AI Module 

Train or implement logic for: 

Habit detection (e.g., when user turns on devices) 

Recommendations (e.g., "Consider turning off device X after 10pm") 
You can start simple with rules, then evolve to machine learning using Scikit-learn or TensorFlow. 


6. Develop the Mobile App 

Use React Native: 

User Login (Firebase Auth) 

Device List 

Real-time Power Usage Dashboard 

Tips Section (fueled by AI output) 

Charts and Graphs (e.g., using Recharts or Chart.js) 

7. Testing and Deployment 

Test with at least 2–3 different smart plug brands 

Deploy backend on platforms like Render, Vercel, or Firebase Functions 

Publish your app on Google Play Store (optional for the project) 

8. Optional: Voice Assistant / Smart Home Integration 

Use Google Home or Alexa Skills to offer voice control or sync with routines 

https://www.youtube.com/watch?v=ZBCUegTZF7M








Xiaomi 小米智慧插座 3 

10A/250V~/2500W 

52 × 50 × 57.6 mm 

2.4 GHz WiFi 

-10 ºC–40 ºC 

遠程控制,語音控制,用電統計,定時

Tuya小圓

20A/100V~/250W 

53.8 × 43 mm

藍牙 

-10 ºC–40 ºC 

遠程控制,定時,用電統計