Skip to content

How to create a storm forecast alert? #36

@martinmurciego

Description

@martinmurciego

How to create a storm forecast alert that will occur at a certain time, hour or day shift?
It is something that I do not find or do not understand how it is posed. Since the api allows creating triggers and alerts. But I only saw for conditions of temperature, humidity, pressure, etc.

For example, it would be very useful in a practical case of time of the day that you may have to unplug the modem / router so that it does not burn. Or create an automatic mechanism to close the circuit using smart strips (tplink, sonoff, etc.)

forecast
https://samples.openweathermap.org/data/2.5/forecast/hourly?id=524901&lang=zh_cn&appid=439d4b804bc8187953eb36d2a8c26a02

{"temp":276.635,"temp_min":276.635,"temp_max":276.635,"pressure":1019.752,"sea_level":1019.752,"grnd_level":999.387,"humidity":100,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"阴,多云","icon":"04d"}],"clouds":{"all":93},"wind":{"speed":2.99,"deg":253.222},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-03-29 11:00:00"},{"dt":1553860800,"main":{"temp":276.588,"temp_min":276.588,"temp_max":276.588,"pressure":1019.321,"sea_level":1019.321,"grnd_level":998.972,"humidity":100,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"阴,多云","icon":"04d"}],"clouds":{"all":94},"wind":{"speed":2.64,"deg":255.679},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-03-29 12:00:00"}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions