Skip to content

The Peda Automation logic module for weather information. Using the Forecast API.

Notifications You must be signed in to change notification settings

PedaAutomation/peda-logic-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Logic Module for Peda Automation

This module uses the forecast.io api to gather information about the weather.

Receiving an API-Key

The weather plugin needs a forecast.io api key. You can get one here. Very awesome: You have 1,000 free api calls per day.

Setting up the plugin (will change soon)

Install the plugin on your slave as usual und set the environment variable FORECAST_API_KEY to your api key. You may also set DEFAULT_WEATHER_PLACE to your home location.

Commands

You can find the exact commands for your language in /lib/i18n/yourlng.json

  • How is the weather? - Returns the current weather (short summary and temperature) at DEFAULT_WEATHER_PLACE
  • What is the weather on (day of week)? - Returns a prediction of weather at DEFAULT_WEATHER_PLACE
  • What is the weather in (place)? - Returns the current weather at the specified place.
  • What is the weather on (day of week) in (place)? - Returns a prediction of weather at the specified place.

Example: What is the weather on monday in Frankfurt? The answer will be something like: Partly cloudy at 14.54 °C

About

The Peda Automation logic module for weather information. Using the Forecast API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published