Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Enabler:Orion
Description
Created question in FIWARE Q/A platform on 22-07-2019 at 18:07
Please, ANSWER this question AT https://stackoverflow.com/questions/57150044/retrieving-forecast-data-from-openweathermap-in-fiware-orion
Question:
Retrieving forecast data from OpenWeatherMap in FIWARE ORION
Description:
I am trying to get weather forecasts data from OpenWeatherMap and integrate them in Orion by performing a registeration request.
I was able to register and get the API key from OpenWeatherMap, however, the latter returns a JSON file with all the data inside, which is not supported by ORION.
I have followed the step by step tutorial https://fiware-tutorials.readthedocs.io/en/latest/context-providers/index.html#context-provider-ngsi-proxy where they have acquired the data from OpenWeatherMap using NGSI proxy, an API key is required to be indicated in the docker-compose file as an environment variable, however, the data acquired is the "current data" and not forecast and also specific to Berlin.
I have tried to access the files inside the container "fiware/tutorials.context-provider" and try to modify and match the parameters to my needs but I feel like I am taking a long blocked path.
I don't think that's even considered as good practice but I have run out of ideas
Can anyone suggest how I could bring the forecast data to Orion and register it as a context provider?
Thank you in advance.
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Assignee | Ken Zangelin [ kzangeli ] |
HD-Enabler | Orion [ 10875 ] | |
Description |
Created question in FIWARE Q/A platform on 22-07-2019 at 18:07 {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/57150044/retrieving-forecast-data-from-openweathermap-in-fiware-orion +Question:+ Retrieving forecast data from OpenWeatherMap in FIWARE ORION +Description:+ I am trying to get weather forecasts data from OpenWeatherMap and integrate them in Orion by performing a registeration request. I was able to register and get the API key from OpenWeatherMap, however, the latter returns a JSON file with all the data inside, which is not supported by ORION. I have followed the step by step tutorial https://fiware-tutorials.readthedocs.io/en/latest/context-providers/index.html#context-provider-ngsi-proxy where they have acquired the data from OpenWeatherMap using NGSI proxy, an API key is required to be indicated in the docker-compose file as an environment variable, however, the data acquired is the "current data" and not forecast and also specific to Berlin. I have tried to access the files inside the container "fiware/tutorials.context-provider" and try to modify and match the parameters to my needs but I feel like I am taking a long blocked path. I don't think that's even considered as good practice but I have run out of ideas :( Can anyone suggest how I could bring the forecast data to Orion and register it as a context provider? Thank you in advance. |
Created question in FIWARE Q/A platform on 22-07-2019 at 18:07
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/57150044/retrieving-forecast-data-from-openweathermap-in-fiware-orion +Question:+ Retrieving forecast data from OpenWeatherMap in FIWARE ORION +Description:+ I am trying to get weather forecasts data from OpenWeatherMap and integrate them in Orion by performing a registeration request. I was able to register and get the API key from OpenWeatherMap, however, the latter returns a JSON file with all the data inside, which is not supported by ORION. I have followed the step by step tutorial https://fiware-tutorials.readthedocs.io/en/latest/context-providers/index.html#context-provider-ngsi-proxy where they have acquired the data from OpenWeatherMap using NGSI proxy, an API key is required to be indicated in the docker-compose file as an environment variable, however, the data acquired is the "current data" and not forecast and also specific to Berlin. I have tried to access the files inside the container "fiware/tutorials.context-provider" and try to modify and match the parameters to my needs but I feel like I am taking a long blocked path. I don't think that's even considered as good practice but I have run out of ideas :( Can anyone suggest how I could bring the forecast data to Orion and register it as a context provider? Thank you in advance. |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
23h 59m | 1 | Backlog Manager | 23/Jul/19 9:06 PM | |||||
|
2h 59m | 1 | Backlog Manager | 24/Jul/19 12:05 AM | |||||
|
12d 8h 59m | 1 | Fernando Lopez | 05/Aug/19 9:05 AM |
2019-07-22 21:06|CREATED monitor | # answers= 0, accepted answer= False