tree: 03ad694a7c7c41c2d9e2dc2e871d1ed0fb86ed22 [path history] [tgz]
  1. core/
  2. karaf-kar/
  3. pom.xml
  4. README.md
extensions/weather-update/README.md

Apache Unomi Weather Update

This extension will retrieve the weather associated with the resolved location of the user (from his IP address)

Getting started

  1. Create an new account :

    https://home.openweathermap.org/users/sign_up
    
  2. Generate a new API Key, or get the default

    https://home.openweathermap.org/api_keys
    
  3. Configure the Apache Unomi Weather Update. In the etc/org.apache.unomi.weatherUpdate.cfg file change the following settings:

     weatherUpdate.apiKey=YOUR_WEATHER_APIKEY
    
  4. Deploy into Apache Unomi using the following commands from the Apache Karaf shell:

     feature:repo-add mvn:org.apache.unomi/unomi-weather-update-karaf-kar/${project.version}/xml/features
     feature:install unomi-weather-update-karaf-kar