diff --git a/README.md b/README.md index 4d9c82b..1aebe11 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Alternatively, the following environment variables can be used to override confi - AMBIENT_API_KEY - (Obtained from your AmbientWeather.net profile page) - AMBIENT_APP_KEY - (Obtained by requesting from AmbientWeather support) - PWD_STATION_ID - (From your PWS Weather account) -- PWD_PASSWORD - (From your PWS Weather account) +- PWD_PASSWORD - (From your PWS Weather account. NOTE: Your password cannot have any punctuation or special characters) - LOG_LEVEL - (debug, info, warn, error) Author diff --git a/index.js b/index.js index 630eaa8..fea0638 100644 --- a/index.js +++ b/index.js @@ -64,7 +64,7 @@ api.on('data', data => { params = _.merge(data, { ID : pwsStation, PASSWORD : pwsPassword, - dateutc : moment(data.date).format('YYYY-MM-DD+HH:mm:ss'), + dateutc : moment(data.date).format('YYYY-MM-DD HH:mm:ss'), baromin : data.baromrelin, dewptf : data.dewPoint, humidity : data.humidityin, diff --git a/package-lock.json b/package-lock.json index 9e50e0f..e5a9a9e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ambient2pwsweather", - "version": "0.0.2", + "version": "0.0.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 60f870e..619e51d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ambient2pwsweather", - "version": "0.0.3", + "version": "0.0.4", "description": "Pull weather data from AmbientWeather.net and push to PWSWeather", "main": "index.js", "scripts": {