熟睡的夜晚Asleep on a hot night
房間慢慢變熱,人在睡夢中很難察覺。A bedroom heats up slowly, and a sleeping person rarely notices.
心率持續偏高時,自動打開臥室冷氣。When heart rate stays high, the bedroom AC turns on.
AI永續新世代 · 普台科技競賽
結合居家感測器、智慧手錶與個人化 AI,日夜留意長者的身體與環境。一出現異狀,手錶先提醒;需要降溫時,自動開冷氣;風險升高,家人立刻收到通知。
Home sensors, a smartwatch and an AI that knows each person’s normal keep watch day and night. At the first sign of trouble the watch nudges them, the air conditioner turns on when cooling is needed, and family is alerted as soon as risk rises.
為什麼需要Why it matters
長者對熱與口渴的感覺比較遲鈍,也常為了省電不開冷氣。家人無法隨時在旁,等到出現明顯症狀,往往已經需要送醫。我們把應對提前到身體剛出現變化的時候。
Older adults feel heat and thirst less sharply, and many skip the air conditioner to save on electricity. Family can’t be there every hour, and by the time symptoms are obvious, a hospital visit is often already needed. We move the response up to the first change in the body.
房間慢慢變熱,人在睡夢中很難察覺。A bedroom heats up slowly, and a sleeping person rarely notices.
心率持續偏高時,自動打開臥室冷氣。When heart rate stays high, the bedroom AC turns on.
身邊沒有人,早期徵兆沒人發現。With no one around, the early signs go unnoticed.
風險升高時依序通知家人,並說明原因。As risk rises, family is alerted in order, with the reasons.
中午走路辦事,離涼爽的地方很遠。A midday errand on foot, far from anywhere cool.
提醒休息補水,必要時導航到最近的避暑地點。A prompt to rest and drink, and if needed, directions to the nearest cooling spot.
運作方式How it works
家中每個房間放一個小型感測節點,長者戴一支市售智慧手錶。所有資料送到同一台雲端伺服器,合併分析後,再把結果送回手錶、家人與冷氣。
Each room gets a small sensor node, and the elder wears an off-the-shelf smartwatch. Everything goes to one cloud server, which combines and analyzes it, then sends results back to the watch, the family and the air conditioner.
房間節點每 10 秒量一次溫度、濕度、有沒有人、冷氣有沒有開,陽台節點量戶外溫濕度。手錶量心率、活動狀態與 GPS,支援的錶款再加上皮膚溫度。
Room nodes read temperature, humidity, presence and whether the AC is running every 10 seconds, and a balcony node reads outdoor conditions. The watch tracks heart rate, activity and GPS, plus skin temperature on models that support it.
伺服器每分鐘把各房間與手錶的資料對齊成一條時間軸,拿長者自己的基準值來比:先排除運動,再看數值能不能自己恢復,最後決定風險等級。
Every minute, the server lines up room and watch data into one timeline and compares it with the person’s own baseline. It rules out exercise first, waits to see whether the numbers recover, then sets the risk level.
依風險等級逐步行動,從手錶輕震、補水提醒,到自動開冷氣、通知家人、導航到最近的避暑地點。
Actions step up with the risk level, from a gentle watch vibration and a reminder to drink water to switching on the AC, alerting family and giving directions to the nearest cooling spot.
風險分級 · 規則 v1Risk levels · rule v1
每升一級,都保留前一級的行動,再多加一層保護。數值連續 15 分鐘恢復正常,才會一級一級降回來。
Each level keeps everything the level below does and adds more. Levels step back down one at a time, and only after the numbers stay normal for 15 minutes.
何時WHEN環境偏熱、心率持續高於個人基準,而且不是在運動。It’s hot, heart rate stays above the personal baseline, and exercise doesn’t explain it.
何時WHEN輕度處理 30 分鐘後仍未改善,或心率高出基準 25 bpm 以上。Mild risk hasn’t improved 30 minutes after its actions, or heart rate is 25 bpm or more above baseline.
輕度的所有行動,再加上:Everything at mild, plus:
何時WHEN中度處理 20 分鐘後仍未改善,或長者對提醒沒有回應、也沒有動作。Moderate risk hasn’t improved 20 minutes after its actions, or the elder doesn’t respond to prompts and isn’t moving.
中度的所有行動,再加上:Everything at moderate, plus:
時間與門檻是規則 v1 的起始值,會與護理顧問一起調整。Times and thresholds are rule v1 starting values, to be tuned with our nursing advisor.
每個人的正常心率都不一樣。系統用過去兩週休息與睡眠時的資料,分別建立清醒與睡眠的基準;前 7 天先用保守的預設值。
Everyone’s normal heart rate is different. The system builds separate awake and asleep baselines from the last two weeks of rest and sleep, and uses conservative defaults for the first 7 days.
走路、運動時心率本來就會上升。活動結束 10 分鐘後,系統才重新判斷。
Heart rate naturally rises with walking and exercise. The system re-checks 10 minutes after the activity ends.
每一級行動之後都先觀察一段時間,沒有改善才升級,避免太多誤報讓家人疲乏。
After each level’s actions, the system waits to see whether things improve before escalating, so families aren’t worn down by false alarms.
用 QGIS 分析都市熱島,替比較熱的地區調低環境門檻。
A QGIS urban heat-island map lowers the heat threshold in hotter neighbourhoods.
情境重播Scenario replay
選一個情境,一步一步看規則怎麼運作。數值為示意,規則與門檻依規則 v1。
Pick a scenario and step through how the rules respond. The numbers are illustrative; the rules and thresholds follow rule v1.
每日 07:30 · 勞動部熱指數分級Daily at 07:30 · Ministry of Labor heat index
每天 07:30,系統用長者所在地區的氣象署預報最高溫與濕度計算熱指數,依勞動部分級送出一則出門前的提醒。熱指數只用來提醒,不用來判斷是否中暑。
At 07:30 each day, the system takes the weather service’s forecast high and humidity for the elder’s area, computes the heat index and sends one reminder before they head out, graded on the Ministry of Labor scale. The heat index is only a reminder and never decides heatstroke risk.
| 熱指數HEAT INDEX | 等級LEVEL | 提醒內容REMINDER |
|---|---|---|
| 26.7–32.2 °C | 輕度Mild | 多補充水分,減少日曬。Drink more water and limit time in the sun. |
| 32.2–40.6 °C | 中度Moderate | 避免中午外出,出門請規劃陰涼路線。Avoid going out at midday, and plan a shaded route. |
| 40.6–54.4 °C | 高度High | 盡量不要外出,待在通風或有冷氣的室內。Better to stay in, in a ventilated or air-conditioned room. |
計算方式:美國國家氣象局 Rothfusz 迴歸式(含低濕與高濕修正),換算為攝氏後依勞動部分級。Computed with the US National Weather Service Rothfusz regression (with its low- and high-humidity adjustments), converted to °C and graded on the Ministry of Labor scale.
系統架構Architecture
樹莓派只負責量測、檢查、暫存與傳送,所有分析都在伺服器完成。每筆資料都帶著長者、節點、感測器、手錶與時間的編號,新增長者或設備只要登記,不用改程式。
Each Raspberry Pi only measures, checks, buffers and sends. All analysis happens on the server. Every reading carries IDs for the elder, node, sensor, watch and time, so adding a person or a device is a registration with no code changes.
pi-0007pi-0008pi-0009量測 → 檢查 → 先存本機 → 傳送Measure → check → save locally → send
w-0003藍牙 → 長者手機 AppBluetooth → the elder’s phone app
c-002、c-003 … 每位長者都有自己的一組設備與獨立通道。c-002, c-003 … every elder has their own devices and a separate lane.
外部資料 → 分析OUTSIDE DATA → ANALYZE氣象署觀測與預報 · 勞動部熱指數 · QGIS 都市熱島 · Google 地圖CWA weather observations and forecasts · Ministry of Labor heat index · QGIS urban heat islands · Google Maps
每筆資料先寫進樹莓派本機,最多保存 7 天。恢復連線後依原始時間補傳,過去的時間不會再觸發舊警報。
Every reading is saved on the Pi first and kept for up to 7 days. After reconnecting, it’s replayed with its original timestamp, and past minutes never set off stale alerts.
每台樹莓派與每支手錶都有自己的憑證。伺服器用登記資料確認它屬於哪位長者,對不上的資料直接拒收。
Every Pi and watch has its own credential. The server checks the registry to confirm which elder it belongs to and rejects anything that doesn’t match.
新增長者、房間或感測器都只是登記一筆資料;手錶壞了,重新配對一支就好。
Adding an elder, a room or a sensor is one registry entry. If a watch breaks, pair a new one.
{
"schema": "hp.telemetry.v1",
"client_id": "c-001",
"node_id": "pi-0007",
"seq": 18342,
"readings": [{
"sensor_id": "pi-0007.s01",
"metric": "temp_c",
"ts": "2027-07-14T05:30:00Z",
"value": 31.4,
"quality": "ok"
}]
}
隱私與安全Privacy & safety
心率與位置都是敏感的個人資料。系統比照《個人資料保護法》的敏感資料標準處理:每個設備只能代表自己,每個家庭只看得到自己的長者。
Heart rate and location are sensitive personal data, and the system handles them to the standard for sensitive data under Taiwan’s Personal Data Protection Act. Each device can speak only for itself, and each family sees only its own elder.
長者與家人簽署同意書後才開始收集。生理資料、位置與冷氣控制分開同意,任何一項都能撤回。
Collection starts only after the elder and family sign consent. Physiology, location and AC control are agreed to separately, and any of them can be withdrawn.
自動開冷氣可能和長者的省電習慣衝突,所以這項功能隨時可以關閉。
Automatic AC can clash with an elder’s habit of saving power, so it can be switched off at any time.
平時只保留大略位置;只有在中度以上的風險事件中,才顯示精確位置。
Location is kept coarse day to day and shown precisely only during a moderate-or-higher risk event.
每個家庭帳號只能看見自家長者的資料,每一次查看與操作都會留下紀錄。
Each family account sees only its own elder’s data, and every view and command is logged.
AI 負責提醒與通知;要不要撥打 119,由家人決定。
The AI informs and alerts. Whether to call 119 is the family’s decision.
本系統不是醫療器材,也不做診斷。手錶量到的皮膚溫度不等於核心體溫。
The system is not a medical device and does not diagnose. Skin temperature from a watch is not core body temperature.
開發進度Roadmap
九個階段、五道檢核關卡。第 12 週的 G3 是競賽展示目標:一位真實長者的資料從頭到尾跑完,並在儀表板上觸發即時警示。
Nine phases and five checkpoint gates. Gate G3 in week 12 is the competition demo target: one real elder’s data flows end to end and triggers a live alert on the dashboard.
第 16 週之後:夏季試辦,20 位長者。階段 2 與 3 同時進行,因為樹莓派與手錶是兩條獨立的資料路線。After week 16: the summer pilot with 20 elders. Phases 2 and 3 run side by side because the Pi and the watch are independent data roads.
模擬資料能正確標記長者、節點、感測器與時間;標錯長者的資料會被拒收。
Simulated data is stored with the right elder, node, sensor and time, and data labelled with the wrong elder is rejected.
一個真實測試家庭跑完一整天,合併後的時間軸與手寫活動紀錄相符。
One real test home runs a full day, and its combined timeline matches a hand-written activity log.
現場加熱測試臥室:儀表板從輕度升到中度,家人手機收到警示,冷氣自動開啟。
Live demo: warming the test bedroom moves the dashboard from mild to moderate, the family’s phone gets the alert and the AC turns on.
20 位模擬長者加上 2 個真實家庭連續運作 7 天,不同長者的資料完全沒有互相外洩。
20 simulated elders plus 2 real homes run for 7 days, with no data leaking between elders.
通過試辦準備檢核,團隊簽署開始試辦。
The pilot readiness checklist passes and the team signs off on going ahead.
試辦與評估Pilot
試辦用三項指標檢驗成效。我們也會清楚說明限制:一個夏天裡真正的熱傷害事件可能不多,所以每一條規則都同時用情境重播測試驗證。
Three measures test whether it works. We are also upfront about the limits: one summer may bring few real heat events, so every rule is also checked with scripted scenario replays.
每一次中度以上的事件都由護理顧問審查是否合理,並比對家人回報、系統卻漏掉的事件。
Our nursing advisor reviews every moderate-or-higher event, and we check for events families report that the system missed.
衡量方式MEASURED AS中度以上警示的精確率與召回率Precision and recall of moderate-or-higher alerts
從中度風險觸發,到家人按下確認的時間。
The time from a moderate-risk trigger to a family member acknowledging it.
衡量方式MEASURED AS中位數與第 90 百分位數Median and 90th percentile
每天配戴手錶的時數,以及夏季結束時的使用問卷。
Daily watch wear time and an end-of-summer survey.
衡量方式MEASURED AS每日配戴時數與問卷分數(1–5 分)Daily wear time and survey score (1–5)
不需要訓練資料,每一個判斷都說得出原因。
Needs no training data, and every decision states its reasons.
學習在某個室溫、活動與時段下,這個人的心率通常是多少,並標出差距過大的時刻。
Learns what this person’s heart rate usually is for a given room temperature, activity and time of day, and flags large gaps.
需要大量標註過的熱傷害事件,等資料足夠才會啟用。
Needs many labelled heat episodes, so it waits until the data exists.
未來展望What’s next
同一套架構,只要加入新的資料與新的服務對象,就能擴大照顧範圍,不必重新打造。
The same architecture grows by adding new data and new groups of people, with no rebuild.
整合里辦公處、圖書館、活動中心等避暑地點,並找出風險最高的里。
Map cooling spots such as neighbourhood offices, libraries and activity centres, and find the neighbourhoods at highest risk.
戶外工作者、慢性病患者,以及家中沒有冷氣的低收入家庭。
Outdoor workers, people with chronic illness, and low-income homes without air conditioning.
匿名彙整各家的戶外感測資料,回饋成街區尺度的熱地圖。
Anonymized outdoor readings from many homes become a street-by-street heat map.
成為城市氣候調適系統的一部分,並與社福單位連結。
Become part of the city’s climate-adaptation system, linked with social-welfare services.