Cloud & Weather Widget for openhab. Uses Dark Sky forecast service in order to check the cloud cover the next days. This is used e.g. to charge the car before the next days are filled with clouds
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

40 lines
1.5KB

  1. {
  2. "settings": [
  3. {
  4. "type": "item",
  5. "id": "Day0CloudForecast"
  6. },
  7. {
  8. "type": "item",
  9. "id": "Day1CloudForecast"
  10. },
  11. {
  12. "type": "item",
  13. "id": "Day2CloudForecast"
  14. },
  15. {
  16. "type": "item",
  17. "id": "Day3CloudForecast"
  18. },
  19. {
  20. "type": "item",
  21. "id": "Day4CloudForecast"
  22. },
  23. {
  24. "type": "item",
  25. "id": "Day5CloudForecast"
  26. },
  27. {
  28. "type": "item",
  29. "id": "Day6CloudForecast"
  30. },
  31. {
  32. "type": "item",
  33. "id": "Day7CloudForecast"
  34. }
  35. ],
  36. "template": "<div oc-lazy-load=\"'/static/js/Chart.bundle.min.js'\">\n\t<div oc-lazy-load=\"'/static/js/angular-chart.min.js'\" >\n\t\t<div oc-lazy-load=\"'/static/js/cloudiness.js'\" >\n <div ng-controller=\"LineCtrl\">\n\t\t\t\tWolken Vorhersage {{itemValue(config.Day0)}}\n <canvas id=\"line\" class=\"chart chart-line\" chart-data=\"data\" chart-labels=\"labels\" chart-series=\"series\" chart-options=\"options\" chart-dataset-override=\"datasetOverride\" chart-click=\"onClick\">\n </canvas>\n\t\t <div>\n\t <div>\n <div>\n</div>\n",
  37. "name": "Weather & Clouds",
  38. "author": "Bernd Weymann",
  39. "description": "Widget shows cloud cover for the next 7 days in order. Check with this widget e.g. if your electric car needs a charge before the next days the sky is covered with clouds."
  40. }