ACTION_GET_WEATHER
Fetches current weather by latitude and longitude using Open-Meteo without an API key, returning temperature, wind speed, wind direction, and WMO weather code for automation workflows.
Instructions
按经纬度查当前天气(Open-Meteo,免 key)(需网络)。输出:weather_success, weather_error, weather_temperature, weather_wind_speed, weather_wind_direction, weather_code, weather_json。温度 ℃、风速 km/h;连接/读取超时固定各 10 秒。weather_code 为 WMO 代码:0 晴,1–3 多云/阴,45/48 雾,51–67 毛毛雨/雨,71–77 雪,80–82 阵雨,85/86 阵雪,95–99 雷暴。。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| latitude | Yes | 纬度 -90–90,支持 ${var} | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| longitude | Yes | 经度 -180–180,支持 ${var} | |
| output_var | No | 原始响应 JSON 存到的变量名(默认 weather_json) | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |