Skip to content

Commit

Permalink
1.5.0
Browse files Browse the repository at this point in the history
1.4.6 Check for invalid values before triggering flows.
1.5.0 Added OneCall API device for historical daily summary. Added instructions to pair view.
  • Loading branch information
RonnyWinkler committed Sep 22, 2023
1 parent 23e1684 commit eee044d
Show file tree
Hide file tree
Showing 66 changed files with 1,670 additions and 114 deletions.
8 changes: 8 additions & 0 deletions .homeychangelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,5 +246,13 @@
"1.4.5": {
"en": "Clear capability if value is not provided by OWM.",
"de": "Lösche Attribut, wenn keine OWM-Daten verfügbar sind."
},
"1.4.6": {
"en": "Check for invalid values before triggering flows.",
"de": "Prüfe auf ungültige Werte vor Flows-Trigger-Auslösung."
},
"1.5.0": {
"en": "Added OneCall API device for historical daily summary. Added instructions to pair view.",
"de": "OneCall API Gerät für historische tägliche Zusammenfassung ergänzt. Anleitung für Greät-Hinzufügen-Dialog ergänzt"
}
}
2 changes: 1 addition & 1 deletion .homeycompose/app.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "nu.baretta.openweathermap",
"version": "1.4.5",
"version": "1.5.0",
"compatibility": ">=8.1.1",
"sdk": 3,
"name": {
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/actions/update_device.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallCurrent|owmAirPollutionCurrent|owmCurrentWeather"
"filter": "driver_id=owmOnecallCurrent|owmAirPollutionCurrent|owmCurrentWeather|owmOnecallDailySummary"
}
]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Clouds.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
},
{
"name": "cloudiness",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Humidity.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
},
{
"name": "humidity",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Pressure.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
},
{
"name": "bar",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Rain.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
},
{
"name": "rain",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Tempday.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallDaily"
"filter": "driver_id=owmOnecallDaily|owmOnecallDailySummary"
},
{
"name": "degrees",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Tempeve.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmLongterm|owmOnecallDaily"
"filter": "driver_id=owmLongterm|owmOnecallDaily|owmOnecallDailySummary"
},
{
"name": "degrees",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Tempmax.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmLongterm|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmLongterm|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
},
{
"name": "degrees",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Tempmin.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmLongterm|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmLongterm|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
},
{
"name": "degrees",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Tempmorn.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmLongterm|owmOnecallDaily"
"filter": "driver_id=owmLongterm|owmOnecallDaily|owmOnecallDailySummary"
},
{
"name": "degrees",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Tempnight.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmLongterm|owmOnecallDaily"
"filter": "driver_id=owmLongterm|owmOnecallDaily|owmOnecallDailySummary"
},
{
"name": "degrees",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Winddirection.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
}, {
"name": "winddirection",
"type": "dropdown",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Windforce.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
},
{
"name": "windforce",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/conditions/Windspeed.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
},
{
"name": "windspeed",
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/CloudinessChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"args": [{
"name": "ChangedCloudiness",
"type": "device",
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/HumidityChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/PressureChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/RainChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/TemperatureDayChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallDaily"
"filter": "driver_id=owmOnecallDaily|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/TemperatureEveningChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallDaily"
"filter": "driver_id=owmOnecallDaily|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/TemperatureMaxChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/TemperatureMinChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/TemperatureMorningChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallDaily"
"filter": "driver_id=owmOnecallDaily|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/TemperatureNightChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallDaily"
"filter": "driver_id=owmOnecallDaily|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/WindAngleChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/WindBeaufortChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"args": [{
"name": "ChangedWindspeedBeaufort",
"type": "device",
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/WindCombinedChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
}]
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"args": [{
"name": "ChangedWindDirectionCompass",
"type": "device",
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmCurrent|owmForecast|owmLongterm|owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
}]
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/WindStrengthChanged.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"args": [{
"name": "device",
"type": "device",
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather"
"filter": "driver_id=owmOnecallCurrent|owmOnecallHourly|owmOnecallDaily|owmCurrentWeather|owmOnecallDailySummary"
}]
}
6 changes: 3 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"restart": true,
"name": "Attach OpenWeather to Homey Dev",
"address": "192.168.1.13",
"port": 9222,
"port": 9230,
"localRoot": "${workspaceFolder}",
"remoteRoot": "/"
},
Expand All @@ -20,7 +20,7 @@
"restart": true,
"name": "Attach OpenWeather to Homey Pro",
"address": "192.168.1.12",
"port": 9222,
"port": 9230,
"localRoot": "${workspaceFolder}",
"remoteRoot": "/"
},
Expand All @@ -30,7 +30,7 @@
"restart": true,
"name": "Attach OpenWeather to Homey Pro23",
"address": "192.168.1.14",
"port": 9222,
"port": 9230,
"localRoot": "${workspaceFolder}",
"remoteRoot": "/app/"
}
Expand Down
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if (process.env.DEBUG === '1')
{
require('inspector').open(9222, '0.0.0.0', true);
require('inspector').open(9230, '0.0.0.0', true);
}

'use strict';
Expand Down
Loading

0 comments on commit eee044d

Please sign in to comment.