Request Approval

Weather forecasts and information provided by met.no

Uploaded By: Almond Authors

Commands

  • WHEN: when it's ____ (status) at location ____ (location)
  • WHEN: when the temperature in ____ (location) is above ____ (temperature)
  • WHEN: when the temperature in ____ (location) is below ____ (temperature)
  • WHEN: when the temperature in ____ (location) is below freezing
  • WHEN: when the humidity in ____ (location) is above ____ (humidity)
  • WHEN: when the humidity in ____ (location) is below ____ (humidity)
  • WHEN: when it starts raining in ____ (location)
  • WHEN: when it starts snowing in ____ (location)
  • WHEN: when it stops raining in ____ (location)
  • WHEN: when it stops snowing in ____ (location)
  • WHEN: when the wind speed in ____ (location) is above ____ (wind speed)
  • WHEN: when it is more humid than ____ (humidity) in ____ (location)
  • WHEN: when it 's hotter than ____ (temperature) in ____ (location)
  • WHEN: when it 's colder than ____ (temperature) in ____ (location)
  • GET: sunrise and sunset for location ____ (location)
  • GET: sunrise and sunset for location ____ (location) on date ____ (date)
  • GET: moon phase for location ____ (location)
  • GET: moon phase for location ____ (location) on date ____ (date)
  • GET: the weather in ____ (location)
  • GET: the weather

Queries

  • sunrise(in req location :Location,
    in opt date :Date,
    out sunrise_time :Time,
    out sunset_time :Time)
    Information about sunrise and sunset
  • moon(in req location :Location,
    in opt date :Date,
    out phase :Enum(new_moon,waxing_crescent,first_quarter,waxing_gibbous,full_moon,waning_gibbous,third_quarter,waning_crescent))
    Information about moon times and moon phase
  • current(in req location :Location,
    out temperature :Measure(C),
    out wind_speed :Measure(mps),
    out humidity :Number,
    out cloudiness :Number,
    out fog :Number,
    out status :Enum(raining,cloudy,sunny,snowy,sleety,drizzling,windy),
    out icon :Entity(tt:picture))
    Information about current weather