Skip to content

Commit

Permalink
Restructured output paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrofta committed Feb 28, 2021
1 parent 79c985a commit 1eb98b8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions openweather.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ const subscriptions = [
*/
const pathPrefix = "environment.forecast.";
const forecastTime = pathPrefix+"time";
const forecastSunrise = pathPrefix+"sunrise";
const forecastSunset = pathPrefix+"sunset";
const forecastSunrise = pathPrefix+"time.sunrise";
const forecastSunset = pathPrefix+"time.sunset";
const simpleTemp = pathPrefix+'temperature';
const simpleHumidity = pathPrefix+'humidity';
const simplePressure = pathPrefix+'pressure';
const simpleDescription = pathPrefix+'description';
const simpleRain = pathPrefix+'rain';
const simpleWeatherCode = pathPrefix+'weathercode';
const fullMain = pathPrefix+'main';
const fullIcon = pathPrefix+'icon';
const simpleWeatherCode = pathPrefix+'weather.code';
const fullMain = pathPrefix+'weather';
const fullIcon = pathPrefix+'weather.icon';
const fullTempMin = pathPrefix+'temperature.minimum';
const fullTempMax = pathPrefix+'temperature.maximum';
const fullFeelsLike = pathPrefix+'feelslike';
const fullDewPoint = pathPrefix+'dewpoint';
const fullUVIndex = pathPrefix+'uvindex';
const fullClouds = pathPrefix+'clouds';
const fullVisibility = pathPrefix+'visibility';
const fullFeelsLike = pathPrefix+'temperature.feelslike';
const fullDewPoint = pathPrefix+'temperature.dewpoint';
const fullUVIndex = pathPrefix+'weather.uvindex';
const fullClouds = pathPrefix+'weather.clouds';
const fullVisibility = pathPrefix+'weather.visibility';
const fullWindSpeed = pathPrefix+'wind.speed';
const fullWinDir = pathPrefix+'wind.direction';

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openweather-signalk",
"version": "0.3.1",
"version": "0.4.0",
"description": "SignalK plugin to provide data from OpenWeather Service",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 1eb98b8

Please sign in to comment.