[{"data":1,"prerenderedAt":72},["ShallowReactive",2],{"integration-node-red-node-openweathermap\u002F":3},{"_id":4,"categories":5,"author":7,"description":11,"npmOwners":12,"npmScope":15,"name":4,"ffCertified":16,"downloads":17,"version":19,"updatedAt":20,"maintainers":21,"homepage":26,"bugs":27,"repository":29,"time":32,"lastUpdated":20,"created":33,"license":67,"githubOwner":68,"githubRepo":69,"examples":70,"readme":71},"node-red-node-openweathermap",[6],"catalogue",{"name":8,"email":9,"url":10},"Ben Perry","BENJAMIP@uk.ibm.com","http:\u002F\u002Fnodered.org","A Node-RED node that gets the weather report from openweathermap",[13,14],"knolleary","dceejay",null,false,{"week":18},4600,"1.0.1","2024-05-02T13:57:26.413Z",[22,24],{"name":13,"email":23},"nick.oleary@gmail.com",{"name":14,"email":25},"dceejay@gmail.com","https:\u002F\u002Fgithub.com\u002Fnode-red\u002Fnode-red-web-nodes\u002Ftree\u002Fmaster#readme",{"url":28},"https:\u002F\u002Fgithub.com\u002Fnode-red\u002Fnode-red-web-nodes\u002Fissues",{"type":30,"url":31},"git","git+https:\u002F\u002Fgithub.com\u002Fnode-red\u002Fnode-red-web-nodes.git#master",{"modified":20,"created":33,"0.0.1":33,"0.0.2":34,"0.0.3":35,"0.1.0":36,"0.1.1":37,"0.1.2":38,"0.1.3":39,"0.1.4":40,"0.1.6":41,"0.1.7":42,"0.1.8":43,"0.1.9":44,"0.1.10":45,"0.1.11":46,"0.1.12":47,"0.1.13":48,"0.1.14":49,"0.1.15":50,"0.1.16":51,"0.1.17":52,"0.1.18":53,"0.1.19":54,"0.1.20":55,"0.2.0":56,"0.2.1":57,"0.2.2":58,"0.3.0":59,"0.3.1":60,"0.3.2":61,"0.4.0":62,"0.5.0":63,"0.5.1":64,"1.0.0":65,"1.0.1":66},"2015-04-09T21:24:26.135Z","2015-05-23T19:27:05.509Z","2015-05-28T21:03:17.431Z","2015-07-21T15:47:11.489Z","2015-10-13T21:09:37.754Z","2015-10-13T21:22:25.564Z","2015-10-14T07:15:26.561Z","2015-10-14T07:31:23.485Z","2015-10-28T22:42:59.474Z","2015-10-28T23:49:57.512Z","2016-07-09T20:08:49.925Z","2016-07-09T20:14:42.329Z","2016-08-19T13:00:44.760Z","2016-08-19T13:46:28.030Z","2016-11-11T14:45:10.060Z","2016-12-08T00:12:30.324Z","2016-12-28T13:52:55.101Z","2017-09-08T15:12:50.134Z","2017-09-21T13:46:06.673Z","2017-10-07T21:10:35.028Z","2017-11-05T23:13:38.299Z","2017-12-13T22:08:56.208Z","2017-12-15T11:42:35.202Z","2018-02-03T18:22:00.481Z","2018-03-20T09:29:21.408Z","2020-02-27T19:56:32.684Z","2020-06-18T09:25:43.977Z","2020-06-18T10:35:45.769Z","2020-10-25T18:01:48.633Z","2021-03-12T11:22:42.260Z","2021-07-04T17:40:07.201Z","2022-01-03T16:48:59.048Z","2024-04-28T13:04:16.831Z","2024-05-02T13:57:26.261Z","Apache-2.0","node-red","node-red-web-nodes#master",[],"\u003Ch1 id=\"node-red-node-openweathermap\">\u003Ca class=\"header-anchor\" href=\"#node-red-node-openweathermap\">node-red-node-openweathermap\u003C\u002Fa>\u003C\u002Fh1>\n\u003Cp>A \u003Ca href=\"http:\u002F\u002Fnodered.org\" target=\"_new\">Node-RED\u003C\u002Fa> node that gets the\nweather report and forecast from OpenWeatherMap.\u003C\u002Fp>\n\u003Ch2 id=\"install\">\u003Ca class=\"header-anchor\" href=\"#install\">Install\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Run the following command in the root directory of your Node-RED install\u003C\u002Fp>\n\u003Cpre>\u003Ccode>    npm install node-red-node-openweathermap\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch2 id=\"usage\">\u003Ca class=\"header-anchor\" href=\"#usage\">Usage\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Two nodes that get the weather report and forecast from OpenWeatherMap.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Note:\u003C\u002Fstrong> An API key is required to use these nodes. To obtain an API key\ngo to \u003Ca href=\"http:\u002F\u002Fopenweathermap.org\u002Fappid\" target=\"_new\">OpenWeatherMap\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch3 id=\"input-node\">\u003Ca class=\"header-anchor\" href=\"#input-node\">Input Node\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>Fetches the current weather or 5 day forecast at a location specified by \u003Ccode>city and country\u003C\u002Fcode> or\n\u003Ccode>latitude and longitude\u003C\u002Fcode> every 10 minutes - and outputs a \u003Cstrong>msg\u003C\u002Fstrong> if something has changed.\u003C\u002Fp>\n\u003Ch3 id=\"query-node\">\u003Ca class=\"header-anchor\" href=\"#query-node\">Query node\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>Accepts an input to trigger fetching the current weather either\nfrom a specified \u003Ccode>city and country\u003C\u002Fcode> or \u003Ccode>latitude and longitude\u003C\u002Fcode> or passed in on\u003C\u002Fp>\n\u003Cpre>\u003Ccode>msg.location.city and msg.location.country\n    or\nmsg.location.lat and msg.location.lon\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch3 id=\"results\">\u003Ca class=\"header-anchor\" href=\"#results\">Results\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>Current conditions will return\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>description\u003C\u002Fstrong> - a brief verbal description of the current weather for human reading.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>weather\u003C\u002Fstrong> - a very short description of the current weather.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>icon\u003C\u002Fstrong> - the weather icon code for the current conditions.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>id\u003C\u002Fstrong> - the id given to the current weather by OpenWeatherMap\u003C\u002Fli>\n\u003Cli>\u003Cstrong>tempc\u003C\u002Fstrong> - the current ground temperature at that location in Celsius.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>tempk\u003C\u002Fstrong> - the current ground temperature at that location in Kelvin.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>humidity\u003C\u002Fstrong> - the current relative humidity at the location in percent.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>windspeed\u003C\u002Fstrong> - the current wind speed at the location in metres per second.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>winddirection\u003C\u002Fstrong> - the current wind direction at the location in meteorological degrees.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>location\u003C\u002Fstrong> - the name of the location from which the data was sourced.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>rain\u003C\u002Fstrong> - the precipitation amount in mm\u002Fh (only present if it is raining).\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>5 day Forecast will return a 5 part array, each with\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>dt\u003C\u002Fstrong> - epoch timestamp\u003C\u002Fli>\n\u003Cli>\u003Cstrong>pressure\u003C\u002Fstrong> - in hPa\u003C\u002Fli>\n\u003Cli>\u003Cstrong>humidity\u003C\u002Fstrong> - in %\u003C\u002Fli>\n\u003Cli>\u003Cstrong>speed\u003C\u002Fstrong> - wind speed in metres per second\u003C\u002Fli>\n\u003Cli>\u003Cstrong>deg\u003C\u002Fstrong> - wind direction in degrees\u003C\u002Fli>\n\u003Cli>\u003Cstrong>clouds\u003C\u002Fstrong> - cloudiness in %\u003C\u002Fli>\n\u003Cli>\u003Cstrong>temp\u003C\u002Fstrong> - an object with various temperatures in degC,\n\u003Cul>\n\u003Cli>day, min, max, night, eve, morn\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Cstrong>weather\u003C\u002Fstrong> - an object with some misc. data,\n\u003Cul>\n\u003Cli>description, icon, main, id\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The node also sets the following properties of \u003Cstrong>msg.location\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>lat\u003C\u002Fstrong> - the latitude of the location from which the data was sourced.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>lon\u003C\u002Fstrong> - the longitude of the location from which the data was sourced.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>city\u003C\u002Fstrong> - the city from which the data was sourced.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>country\u003C\u002Fstrong> - the country from which the data was sourced.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Finally, the node sets:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>msg.time\u003C\u002Fstrong> - the time at which the weather data was received by OpenWeatherMap.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>msg.data\u003C\u002Fstrong> - the full JSON returned by the API. This is VERY rich...\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Weather data provided by \u003Ca href=\"http:\u002F\u002Fopenweathermap.org\u002F\" target=\"_blank\">OpenWeatherMap.org\u002F\u003C\u002Fa>\u003C\u002Fp>\n",1784738655010]