Closed Danrusty closed 2 years ago
多次尝试结果均类似
看看你能否正常访问气象在线的API https://www.weatherol.cn/api/minute/getPrecipitation?type=forecast&ll=114.299,30.584
api可以正常访问。
而且现在脚本也可以正常执行了。很奇怪。上午在下雨的时候就一直执行失败。现在没下雨了,也可以正常得到降水的数据。
猜测是网络问题,下版本要把这个报错日志好好修一修,现在这个什么问题都看不出来
猜测是网络问题,下版本要把这个报错日志好好修一修,现在这个什么问题都看不出来
好的,感谢大佬解答
🔔Apple Weather v3.2.9, 开始! 2022/06/01 10:40:57:697 [JS Console]: ⚠ Apple Weather v3.2.9, Set Environment Variables
2022/06/01 10:40:57:706 [JS Console]: 🎉 Apple Weather v3.2.9, Set Environment Variables
Settings: object
Settings内容: {"Switch":true,"NextHour":{"Switch":true,"HTTPHeaders":{"Content-Type":"application/x-www-form-urlencoded","User-Agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1"}},"AQI":{"Switch":true,"Mode":"WAQI Private","Location":"Station","Scale":"EPA_NowCast.2201"},"Map":{"AQI":true}}
2022/06/01 10:40:57:709 [JS Console]: 🚧 Apple Weather v3.2.9
Params: {"ver":"v2","language":"en-GB","lat":"30.584","lng":"114.299"}
2022/06/01 10:40:57:711 [JS Console]: 🚧 Apple Weather v3.2.9, providerName = QWeather
2022/06/01 10:40:57:713 [JS Console]: 🎉 Apple Weather v3.2.9, 需要替换AQI
2022/06/01 10:40:57:714 [JS Console]: 🚧 Apple Weather v3.2.9, 工作模式: waqi.info 私有API
2022/06/01 10:40:57:715 [JS Console]: 🚧 Apple Weather v3.2.9, 定位精度: 观测站
2022/06/01 10:40:57:717 [JS Console]: ⚠ Apple Weather v3.2.9, WAQI
input: {"api":"v1","lat":"30.584","lng":"114.299"}
2022/06/01 10:40:57:719 [JS Console]: ⚠ Apple Weather v3.2.9, Get WAQI Request, type: Nearest
2022/06/01 10:40:57:721 [JS Console]: 获取最近站点
2022/06/01 10:40:57:723 [JS Console]: ⚠ Apple Weather v3.2.9, Get WAQI Data, type: Nearest
2022/06/01 10:40:58:091 [JS Console]: 🎉 Apple Weather v3.2.9, GetData:Nearest完成
idx: 5411
观测站: Hubei/孝感/东城区
AQI: 82
2022/06/01 10:40:58:096 [JS Console]: ⚠ Apple Weather v3.2.9, WAQI
input: {"idx":"5411"}
2022/06/01 10:40:58:099 [JS Console]: ⚠ Apple Weather v3.2.9, Get WAQI Request, type: StationFeed
2022/06/01 10:40:58:100 [JS Console]: 获取站点信息
2022/06/01 10:40:58:103 [JS Console]: ⚠ Apple Weather v3.2.9, Get WAQI Data, type: StationFeed
2022/06/01 10:40:58:219 [JS Console]: 🎉 Apple Weather v3.2.9, GetData:StationFeed完成
idx: 5411
观测站: Dongcheng District , Huludao , Xiaogan, Hubei (孝感东城区)
AQI: 82
2022/06/01 10:40:58:224 [JS Console]: ⚠️ Apple Weather v3.2.9, outputAQI检测
AQI data v2
2022/06/01 10:40:58:228 [JS Console]: 🎉 Apple Weather v3.2.9, outputAQI完成
2022/06/01 10:40:58:229 [JS Console]: 🚧 Apple Weather v3.2.9, 下小时降水强度, providerName = undefined
2022/06/01 10:41:03:240 [JS Console]:
❗️Apple Weather v3.2.9, 错误!
❗️ Apple Weather v3.2.9, weatherOl执行失败!
2022/06/01 10:41:03:245 [JS Console]: 🚧 Apple Weather v3.2.9, 没有找到合适的API, 跳过
2022/06/01 10:41:03:248 [JS Console]:
🔔Apple Weather v3.2.9, 结束! 🕛 5.557 秒
2022/06/01 10:41:03:249 [JS Console]:
2022/06/01 10:44:13:447 [JS Console]:
🔔Apple Weather v3.2.9, 开始!
2022/06/01 10:44:13:451 [JS Console]: ⚠ Apple Weather v3.2.9, Set Environment Variables
2022/06/01 10:44:13:459 [JS Console]: 🎉 Apple Weather v3.2.9, Set Environment Variables
Settings: object
Settings内容: {"Switch":true,"NextHour":{"Switch":true,"HTTPHeaders":{"Content-Type":"application/x-www-form-urlencoded","User-Agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1"}},"AQI":{"Switch":true,"Mode":"WAQI Private","Location":"Station","Scale":"EPA_NowCast.2201"},"Map":{"AQI":true}}
2022/06/01 10:44:13:462 [JS Console]: 🚧 Apple Weather v3.2.9
Params: {"ver":"v1","language":"en_CN","lat":"30.50","lng":"114.42"}
2022/06/01 10:44:13:464 [JS Console]: 🚧 Apple Weather v3.2.9, providerName = undefined
2022/06/01 10:44:13:466 [JS Console]:
🔔Apple Weather v3.2.9, 结束! 🕛 0.023 秒
2022/06/01 10:44:13:467
多次提示weatherol失败,无法找到合适的api,而且正在下雨时并不显示降水强度数据。 系统版本iOS15.5