Seite 4 von 5

Re: Darksky.net

Verfasst: 26. Apr 2020 20:42
von violine21
dass schafft nicht einmal der Kachelmann
:D :D :D

Re: Darksky.net

Verfasst: 26. Apr 2020 21:27
von Boxana
wenn ich die Temperature in 3/6/9... Stunden auslesen möchte, ist das doch der weg oder.
Warum bleibt das item auf null?
was muss ich da beachten :-(

Code: Alles auswählen

Number:Temperature      localHourlyForecast06Temperature                "Current temperature [%.1f %unit%]"                                         <temperature>           {channel="openweathermap:weather-and-forecast:api:local:forecastHours06#temperature" }

Code: Alles auswählen

Bridge openweathermap:weather-api:api "OpenWeatherMap Account" [apikey="xxxxx", refreshInterval=5, language="de"] {
    Thing weather-and-forecast local "Local Weather And Forecast" [location="54.9876861,7.9066256", forecastHours=120, forecastDays=0]
    //Thing uvindex local "Local UV Index" [location="51.9876861,6.9066256", forecastDays=7]
    
}

Re: Darksky.net

Verfasst: 26. Apr 2020 21:53
von int5749
Ja, bei mir funktioniert dies genau so.
weather.PNG
Die Items habe ich mit der Channelkonfig aus der PaperUI erstellt. Siehst Du denn alle Channels in der PaperUI?

Re: Darksky.net

Verfasst: 27. Apr 2020 00:02
von peter-pan
PeterA hat geschrieben: 26. Apr 2020 15:20 Zeig mal den Link bitte.
Den hab ich leider nicht parat. Musst du googelnim englischen Forum. Geb in der Forensuche einfach "openweathermap, icon" ein. Da wirst du sicher fündig.

Re: Darksky.net

Verfasst: 27. Apr 2020 01:28
von peter-pan
Boxana hat geschrieben: 26. Apr 2020 21:27 was muss ich da beachten
Also auf den ersten Blick sieht das Thing ok aus. Das Item scheint auch in Ordnung zu sein, ausser der Tatsache, dass du es als "Current temperature" definiert hast.
Hast du auch mal ein Restart von openHAB gemacht ? Wenn man am Thing oder an den Items häufiger Änderungen vornimmt kann es schon mal vorkommen, dass sich etwas "verhaspelt".
Wenn du an einem Item Änderungen vornimmst dauert es in der Regel bis zum nächsten Refresh (bei dir 5 Minuten) bis wieder Daten angefordert werden. Deshalb kann ich nur raten immer etwas geduldig zu bleiben.

Re: Darksky.net

Verfasst: 27. Apr 2020 10:26
von PeterA
peter-pan hat geschrieben: 27. Apr 2020 00:02
PeterA hat geschrieben: 26. Apr 2020 15:20 Zeig mal den Link bitte.
Den hab ich leider nicht parat. Musst du googelnim englischen Forum. Geb in der Forensuche einfach "openweathermap, icon" ein. Da wirst du sicher fündig.

Dürfte das hier sein:

https://community.openhab.org/t/openwea ... icon/60653

Ziemlich durch die Brust ins Auge :)

Re: Darksky.net

Verfasst: 27. Apr 2020 13:21
von peter-pan
PeterA hat geschrieben: 27. Apr 2020 10:26 Dürfte das hier sein:
... ja ein Beispiel von mehreren. Gehen tut das schon. Man braucht halt noch 'ne Regel, ein Zusatzprogramm zum umwandeln und noch ein Shellscript und dann klapp's auch vielleicht :o , oder das Beispiel mit der Scale. Wie gesagt, das ist Geschmackssache(für mich nur unnötige Schreib-Lesevorgänge).

Re: Darksky.net

Verfasst: 27. Apr 2020 13:29
von PeterA
So, ich habe mir mal die Mühe gemacht über VSCode automatisch alle Items des OpenWeatherMap Thing erstellen zu lassen und diese dann anzupassen.
Original Items welche von VSCode automatisch aus dem Thing erstellt wurden:

Code: Alles auswählen

String                 LocalWeatherAndForecastStationId                      "Station"                        {channel="openweathermap:weather-and-forecast:cf12b36a:local:station#id"}
String                 LocalWeatherAndForecastStationName                    "Station name"                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:station#name"}
Location               LocalWeatherAndForecastStationLocation                "Location"                       {channel="openweathermap:weather-and-forecast:cf12b36a:local:station#location"}
DateTime               LocalWeatherAndForecastCurrentTimeStamp               "Observation time"               {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#time-stamp"}
String                 LocalWeatherAndForecastCurrentCondition               "Weather condition"              {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#condition"}
String                 LocalWeatherAndForecastCurrentConditionId             "Weather condition"              {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#condition-id"}
Image                  LocalWeatherAndForecastCurrentIcon                    "Icon"                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#icon"}
Number:Temperature     LocalWeatherAndForecastCurrentTemperature             "Outdoor temperature"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#temperature"}
Number:Pressure        LocalWeatherAndForecastCurrentPressure                "Barometric pressure"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#pressure"}
Number:Dimensionless   LocalWeatherAndForecastCurrentHumidity                "Atmospheric humidity"           {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#humidity"}
Number:Speed           LocalWeatherAndForecastCurrentWindSpeed               "Wind speed"                     {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#wind-speed"}
Number:Angle           LocalWeatherAndForecastCurrentWindDirection           "Wind direction"                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#wind-direction"}
Number:Speed           LocalWeatherAndForecastCurrentGustSpeed               "Gust speed"                     {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#gust-speed"}
Number:Dimensionless   LocalWeatherAndForecastCurrentCloudiness              "Cloudiness"                     {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#cloudiness"}
Number:Length          LocalWeatherAndForecastCurrentRain                    "Rain"                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#rain"}
Number:Length          LocalWeatherAndForecastCurrentSnow                    "Snow"                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#snow"}
DateTime               LocalWeatherAndForecastForecastHours03TimeStamp       "Forecast time"                  {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#time-stamp"}
String                 LocalWeatherAndForecastForecastHours03Condition       "Forecasted weather condition"   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#condition"}
String                 LocalWeatherAndForecastForecastHours03ConditionId     "Weather condition"              {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#condition-id"}
Image                  LocalWeatherAndForecastForecastHours03Icon            "Icon"                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#icon"}
Number:Temperature     LocalWeatherAndForecastForecastHours03Temperature     "Forecasted temperature"         {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#temperature"}
Number:Pressure        LocalWeatherAndForecastForecastHours03Pressure        "Forecasted pressure"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#pressure"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours03Humidity        "Forecasted humidity"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#humidity"}
Number:Speed           LocalWeatherAndForecastForecastHours03WindSpeed       "Forecasted wind speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#wind-speed"}
Number:Angle           LocalWeatherAndForecastForecastHours03WindDirection   "Forecasted wind direction"      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#wind-direction"}
Number:Speed           LocalWeatherAndForecastForecastHours03GustSpeed       "Forecasted gust speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#gust-speed"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours03Cloudiness      "Forecasted cloudiness"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#cloudiness"}
Number:Length          LocalWeatherAndForecastForecastHours03Rain            "Forecasted rain"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#rain"}
Number:Length          LocalWeatherAndForecastForecastHours03Snow            "Forecasted snow"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#snow"}
DateTime               LocalWeatherAndForecastForecastHours06TimeStamp       "Forecast time"                  {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#time-stamp"}
String                 LocalWeatherAndForecastForecastHours06Condition       "Forecasted weather condition"   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#condition"}
String                 LocalWeatherAndForecastForecastHours06ConditionId     "Weather condition"              {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#condition-id"}
Image                  LocalWeatherAndForecastForecastHours06Icon            "Icon"                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#icon"}
Number:Temperature     LocalWeatherAndForecastForecastHours06Temperature     "Forecasted temperature"         {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#temperature"}
Number:Pressure        LocalWeatherAndForecastForecastHours06Pressure        "Forecasted pressure"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#pressure"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours06Humidity        "Forecasted humidity"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#humidity"}
Number:Speed           LocalWeatherAndForecastForecastHours06WindSpeed       "Forecasted wind speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#wind-speed"}
Number:Angle           LocalWeatherAndForecastForecastHours06WindDirection   "Forecasted wind direction"      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#wind-direction"}
Number:Speed           LocalWeatherAndForecastForecastHours06GustSpeed       "Forecasted gust speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#gust-speed"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours06Cloudiness      "Forecasted cloudiness"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#cloudiness"}
Number:Length          LocalWeatherAndForecastForecastHours06Rain            "Forecasted rain"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#rain"}
Number:Length          LocalWeatherAndForecastForecastHours06Snow            "Forecasted snow"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#snow"}
DateTime               LocalWeatherAndForecastForecastHours09TimeStamp       "Forecast time"                  {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#time-stamp"}
String                 LocalWeatherAndForecastForecastHours09Condition       "Forecasted weather condition"   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#condition"}
String                 LocalWeatherAndForecastForecastHours09ConditionId     "Weather condition"              {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#condition-id"}
Image                  LocalWeatherAndForecastForecastHours09Icon            "Icon"                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#icon"}
Number:Temperature     LocalWeatherAndForecastForecastHours09Temperature     "Forecasted temperature"         {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#temperature"}
Number:Pressure        LocalWeatherAndForecastForecastHours09Pressure        "Forecasted pressure"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#pressure"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours09Humidity        "Forecasted humidity"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#humidity"}
Number:Speed           LocalWeatherAndForecastForecastHours09WindSpeed       "Forecasted wind speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#wind-speed"}
Number:Angle           LocalWeatherAndForecastForecastHours09WindDirection   "Forecasted wind direction"      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#wind-direction"}
Number:Speed           LocalWeatherAndForecastForecastHours09GustSpeed       "Forecasted gust speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#gust-speed"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours09Cloudiness      "Forecasted cloudiness"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#cloudiness"}
Number:Length          LocalWeatherAndForecastForecastHours09Rain            "Forecasted rain"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#rain"}
Number:Length          LocalWeatherAndForecastForecastHours09Snow            "Forecasted snow"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#snow"}
DateTime               LocalWeatherAndForecastForecastHours12TimeStamp       "Forecast time"                  {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#time-stamp"}
String                 LocalWeatherAndForecastForecastHours12Condition       "Forecasted weather condition"   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#condition"}
String                 LocalWeatherAndForecastForecastHours12ConditionId     "Weather condition"              {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#condition-id"}
Image                  LocalWeatherAndForecastForecastHours12Icon            "Icon"                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#icon"}
Number:Temperature     LocalWeatherAndForecastForecastHours12Temperature     "Forecasted temperature"         {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#temperature"}
Number:Pressure        LocalWeatherAndForecastForecastHours12Pressure        "Forecasted pressure"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#pressure"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours12Humidity        "Forecasted humidity"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#humidity"}
Number:Speed           LocalWeatherAndForecastForecastHours12WindSpeed       "Forecasted wind speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#wind-speed"}
Number:Angle           LocalWeatherAndForecastForecastHours12WindDirection   "Forecasted wind direction"      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#wind-direction"}
Number:Speed           LocalWeatherAndForecastForecastHours12GustSpeed       "Forecasted gust speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#gust-speed"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours12Cloudiness      "Forecasted cloudiness"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#cloudiness"}
Number:Length          LocalWeatherAndForecastForecastHours12Rain            "Forecasted rain"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#rain"}
Number:Length          LocalWeatherAndForecastForecastHours12Snow            "Forecasted snow"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#snow"}
DateTime               LocalWeatherAndForecastForecastHours15TimeStamp       "Forecast time"                  {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#time-stamp"}
String                 LocalWeatherAndForecastForecastHours15Condition       "Forecasted weather condition"   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#condition"}
String                 LocalWeatherAndForecastForecastHours15ConditionId     "Weather condition"              {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#condition-id"}
Image                  LocalWeatherAndForecastForecastHours15Icon            "Icon"                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#icon"}
Number:Temperature     LocalWeatherAndForecastForecastHours15Temperature     "Forecasted temperature"         {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#temperature"}
Number:Pressure        LocalWeatherAndForecastForecastHours15Pressure        "Forecasted pressure"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#pressure"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours15Humidity        "Forecasted humidity"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#humidity"}
Number:Speed           LocalWeatherAndForecastForecastHours15WindSpeed       "Forecasted wind speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#wind-speed"}
Number:Angle           LocalWeatherAndForecastForecastHours15WindDirection   "Forecasted wind direction"      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#wind-direction"}
Number:Speed           LocalWeatherAndForecastForecastHours15GustSpeed       "Forecasted gust speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#gust-speed"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours15Cloudiness      "Forecasted cloudiness"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#cloudiness"}
Number:Length          LocalWeatherAndForecastForecastHours15Rain            "Forecasted rain"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#rain"}
Number:Length          LocalWeatherAndForecastForecastHours15Snow            "Forecasted snow"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#snow"}
DateTime               LocalWeatherAndForecastForecastHours18TimeStamp       "Forecast time"                  {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#time-stamp"}
String                 LocalWeatherAndForecastForecastHours18Condition       "Forecasted weather condition"   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#condition"}
String                 LocalWeatherAndForecastForecastHours18ConditionId     "Weather condition"              {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#condition-id"}
Image                  LocalWeatherAndForecastForecastHours18Icon            "Icon"                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#icon"}
Number:Temperature     LocalWeatherAndForecastForecastHours18Temperature     "Forecasted temperature"         {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#temperature"}
Number:Pressure        LocalWeatherAndForecastForecastHours18Pressure        "Forecasted pressure"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#pressure"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours18Humidity        "Forecasted humidity"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#humidity"}
Number:Speed           LocalWeatherAndForecastForecastHours18WindSpeed       "Forecasted wind speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#wind-speed"}
Number:Angle           LocalWeatherAndForecastForecastHours18WindDirection   "Forecasted wind direction"      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#wind-direction"}
Number:Speed           LocalWeatherAndForecastForecastHours18GustSpeed       "Forecasted gust speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#gust-speed"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours18Cloudiness      "Forecasted cloudiness"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#cloudiness"}
Number:Length          LocalWeatherAndForecastForecastHours18Rain            "Forecasted rain"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#rain"}
Number:Length          LocalWeatherAndForecastForecastHours18Snow            "Forecasted snow"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#snow"}
DateTime               LocalWeatherAndForecastForecastHours21TimeStamp       "Forecast time"                  {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#time-stamp"}
String                 LocalWeatherAndForecastForecastHours21Condition       "Forecasted weather condition"   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#condition"}
String                 LocalWeatherAndForecastForecastHours21ConditionId     "Weather condition"              {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#condition-id"}
Image                  LocalWeatherAndForecastForecastHours21Icon            "Icon"                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#icon"}
Number:Temperature     LocalWeatherAndForecastForecastHours21Temperature     "Forecasted temperature"         {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#temperature"}
Number:Pressure        LocalWeatherAndForecastForecastHours21Pressure        "Forecasted pressure"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#pressure"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours21Humidity        "Forecasted humidity"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#humidity"}
Number:Speed           LocalWeatherAndForecastForecastHours21WindSpeed       "Forecasted wind speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#wind-speed"}
Number:Angle           LocalWeatherAndForecastForecastHours21WindDirection   "Forecasted wind direction"      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#wind-direction"}
Number:Speed           LocalWeatherAndForecastForecastHours21GustSpeed       "Forecasted gust speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#gust-speed"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours21Cloudiness      "Forecasted cloudiness"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#cloudiness"}
Number:Length          LocalWeatherAndForecastForecastHours21Rain            "Forecasted rain"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#rain"}
Number:Length          LocalWeatherAndForecastForecastHours21Snow            "Forecasted snow"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#snow"}
DateTime               LocalWeatherAndForecastForecastHours24TimeStamp       "Forecast time"                  {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#time-stamp"}
String                 LocalWeatherAndForecastForecastHours24Condition       "Forecasted weather condition"   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#condition"}
String                 LocalWeatherAndForecastForecastHours24ConditionId     "Weather condition"              {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#condition-id"}
Image                  LocalWeatherAndForecastForecastHours24Icon            "Icon"                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#icon"}
Number:Temperature     LocalWeatherAndForecastForecastHours24Temperature     "Forecasted temperature"         {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#temperature"}
Number:Pressure        LocalWeatherAndForecastForecastHours24Pressure        "Forecasted pressure"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#pressure"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours24Humidity        "Forecasted humidity"            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#humidity"}
Number:Speed           LocalWeatherAndForecastForecastHours24WindSpeed       "Forecasted wind speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#wind-speed"}
Number:Angle           LocalWeatherAndForecastForecastHours24WindDirection   "Forecasted wind direction"      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#wind-direction"}
Number:Speed           LocalWeatherAndForecastForecastHours24GustSpeed       "Forecasted gust speed"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#gust-speed"}
Number:Dimensionless   LocalWeatherAndForecastForecastHours24Cloudiness      "Forecasted cloudiness"          {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#cloudiness"}
Number:Length          LocalWeatherAndForecastForecastHours24Rain            "Forecasted rain"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#rain"}
Number:Length          LocalWeatherAndForecastForecastHours24Snow            "Forecasted snow"                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#snow"}

Re: Darksky.net

Verfasst: 27. Apr 2020 13:31
von PeterA
Und hier meine überarbeitete Version.
Inkl. Transformation im entsprechendem Item bei Windgeschwindigkeit und Windrichtung. Vielleicht ist es ja nützlich.
Alles was ich nicht benötigt habe ist mit "//" Auskommentiert.

Code: Alles auswählen

//OWM Items complete made out of thing:
//*** Actual ***
//String                 LocalWeatherAndForecastStationId                      "Station"                                                                              {channel="openweathermap:weather-and-forecast:cf12b36a:local:station#id"}
//String                 LocalWeatherAndForecastStationName                    "Station name"                                                                         {channel="openweathermap:weather-and-forecast:cf12b36a:local:station#name"}
//Location               LocalWeatherAndForecastStationLocation                "Location"                                                                             {channel="openweathermap:weather-and-forecast:cf12b36a:local:station#location"}
//DateTime               LocalWeatherAndForecastCurrentTimeStamp               "Observation time"                                                                     {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#time-stamp"}
//String                 LocalWeatherAndForecastCurrentCondition               "Weather condition"                                                                    {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#condition"}
//String                 LocalWeatherAndForecastCurrentConditionId             "Weather condition"                                                                    {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#condition-id"}
//Image                  LocalWeatherAndForecastCurrentIcon                    "Icon"                                                                                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#icon"}
//Number:Temperature     LocalWeatherAndForecastCurrentTemperature             "Outdoor temperature"                                                                  {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#temperature"}
//Number:Pressure        LocalWeatherAndForecastCurrentPressure                "Barometric pressure"                                                                  {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#pressure"}
//Number:Dimensionless   LocalWeatherAndForecastCurrentHumidity                "Atmospheric humidity"                                                                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#humidity"}
//Number:Speed           LocalWeatherAndForecastCurrentWindSpeed               "Wind speed"                                                                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#wind-speed"}
//Number:Angle           LocalWeatherAndForecastCurrentWindDirection           "Wind direction"                                                                       {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#wind-direction"}
//Number:Speed           LocalWeatherAndForecastCurrentGustSpeed               "Gust speed"                                                                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#gust-speed"}
//Number:Dimensionless   LocalWeatherAndForecastCurrentCloudiness              "Cloudiness"                                                                           {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#cloudiness"}
//Number:Length          LocalWeatherAndForecastCurrentRain                    "Rain"                                                                                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#rain"}
//Number:Length          LocalWeatherAndForecastCurrentSnow                    "Snow"                                                                                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:current#snow"}
//*** Forecast 3h ***
DateTime                 LocalWeatherAndForecastForecastHours03TimeStamp       "Vorhersage bis: [%1$ta, %1$td.%1$tm.%1$ty, %1$tH:%1$tM Uhr]" <time>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#time-stamp"}
String                   LocalWeatherAndForecastForecastHours03Condition       "Wetterlage"                                                  <sun_clouds>             {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#condition"}
//String                 LocalWeatherAndForecastForecastHours03ConditionId     "Weather condition"                                                                    {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#condition-id"}
//Image                  LocalWeatherAndForecastForecastHours03Icon            "Icon"                                                                                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#icon"}
//Number:Temperature     LocalWeatherAndForecastForecastHours03Temperature     "Temperatur"                                                  <temperature>            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#temperature"}
Number:Pressure          LocalWeatherAndForecastForecastHours03Pressure        "Luftdruck"                                                   <pressure>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#pressure"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours03Humidity        "Luftfeuchtigkeit"                                            <humidity>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#humidity"}
//Number:Speed           LocalWeatherAndForecastForecastHours03WindSpeed       "Windgeschwindigkeit"                                         <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#wind-speed"}
String                   LocalWeatherAndForecastForecastHours03WindSpeedBft    "Windstärke [%s]"                                             <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#wind-speed"     [profile="transform:SCALE", function="bft_ms_de.scale"] }
String                   LocalWeatherAndForecastForecastHours03WindDirection   "Windrichtung [%s]"                                           <compass>                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#wind-direction" [profile="transform:SCALE", function="wind.scale"] }
//Number:Speed           LocalWeatherAndForecastForecastHours03GustSpeed       "Forecasted gust speed"                                                                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#gust-speed"}
//Number:Dimensionless   LocalWeatherAndForecastForecastHours03Cloudiness      "Bewölkung" <clouds>                                                                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#cloudiness"}
//Number:Length          LocalWeatherAndForecastForecastHours03Rain            "Niederschlag" <rain>                                                                  {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#rain"}
//Number:Length          LocalWeatherAndForecastForecastHours03Snow            "Forecasted snow"                                                                      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours03#snow"}
//*** Forecast 6h ***
DateTime                 LocalWeatherAndForecastForecastHours06TimeStamp       "Vorhersage bis: [%1$ta, %1$td.%1$tm.%1$ty, %1$tH:%1$tM Uhr]" <time>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#time-stamp"}
String                   LocalWeatherAndForecastForecastHours06Condition       "Wetterlage"                                                  <sun_clouds>             {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#condition"}
//String                 LocalWeatherAndForecastForecastHours06ConditionId     "Weather condition"                                                                    {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#condition-id"}
//Image                  LocalWeatherAndForecastForecastHours06Icon            "Icon"                                                                                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#icon"}
Number:Temperature       LocalWeatherAndForecastForecastHours06Temperature     "Temperatur"                                                  <temperature>            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#temperature"}
Number:Pressure          LocalWeatherAndForecastForecastHours06Pressure        "Luftdruck"                                                   <pressure>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#pressure"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours06Humidity        "Luftfeuchtigkeit"                                            <humidity>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#humidity"}
Number:Speed             LocalWeatherAndForecastForecastHours06WindSpeed       "Windgeschwindigkeit"                                         <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#wind-speed"}
String                   LocalWeatherAndForecastForecastHours06WindSpeedBft    "Windstärke [%s]"                                             <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#wind-speed"     [profile="transform:SCALE", function="bft_ms_de.scale"] }

String                   LocalWeatherAndForecastForecastHours06WindDirection   "Windrichtung [%s]"                                           <compass>                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#wind-direction" [profile="transform:SCALE", function="wind.scale"] }
//Number:Speed           LocalWeatherAndForecastForecastHours06GustSpeed       "Forecasted gust speed"                                                                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#gust-speed"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours06Cloudiness      "Bewölkung"                                                   <clouds>                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#cloudiness"}
Number:Length            LocalWeatherAndForecastForecastHours06Rain            "Niederschlag"                                                <rain>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#rain"}
//Number:Length          LocalWeatherAndForecastForecastHours06Snow            "Forecasted snow"                                                                      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours06#snow"}
//*** Forecast 9h ***
DateTime                 LocalWeatherAndForecastForecastHours09TimeStamp       "Vorhersage bis: [%1$ta, %1$td.%1$tm.%1$ty, %1$tH:%1$tM Uhr]" <time>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#time-stamp"}
String                   LocalWeatherAndForecastForecastHours09Condition       "Wetterlage"                                                  <sun_clouds>             {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#condition"}
//String                 LocalWeatherAndForecastForecastHours09ConditionId     "Weather condition"                                                                    {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#condition-id"}
//Image                  LocalWeatherAndForecastForecastHours09Icon            "Icon"                                                                                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#icon"}
Number:Temperature       LocalWeatherAndForecastForecastHours09Temperature     "Temperatur"                                                  <temperature>            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#temperature"}
Number:Pressure          LocalWeatherAndForecastForecastHours09Pressure        "Luftdruck"                                                   <pressure>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#pressure"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours09Humidity        "Luftfeuchtigkeit"                                            <humidity>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#humidity"}
Number:Speed             LocalWeatherAndForecastForecastHours09WindSpeed       "Windgeschwindigkeit"                                         <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#wind-speed"}
String                   LocalWeatherAndForecastForecastHours09WindSpeedBft     "Windstärke [%s]"                                            <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#wind-speed"     [profile="transform:SCALE", function="bft_ms_de.scale"] }
String                   LocalWeatherAndForecastForecastHours09WindDirection   "Windrichtung [%s]"                                           <compass>                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#wind-direction" [profile="transform:SCALE", function="wind.scale"]}
//Number:Speed           LocalWeatherAndForecastForecastHours09GustSpeed       "Forecasted gust speed"                                                                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#gust-speed"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours09Cloudiness      "Bewölkung"                                                   <clouds>                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#cloudiness"}
Number:Length            LocalWeatherAndForecastForecastHours09Rain            "Niederschlag"                                                <rain>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#rain"}
//Number:Length          LocalWeatherAndForecastForecastHours09Snow            "Forecasted snow"                                                                      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours09#snow"}
//*** Forecast 9h ***
DateTime                 LocalWeatherAndForecastForecastHours12TimeStamp       "Vorhersage bis: [%1$ta, %1$td.%1$tm.%1$ty, %1$tH:%1$tM Uhr]" <time>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#time-stamp"}
String                   LocalWeatherAndForecastForecastHours12Condition       "Wetterlage"                                                  <sun_clouds>             {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#condition"}
//String                 LocalWeatherAndForecastForecastHours12ConditionId     "Weather condition"                                                                    {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#condition-id"}
//Image                  LocalWeatherAndForecastForecastHours12Icon            "Icon"                                                                                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#icon"}
Number:Temperature       LocalWeatherAndForecastForecastHours12Temperature     "Temperatur"                                                  <temperature>            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#temperature"}
Number:Pressure          LocalWeatherAndForecastForecastHours12Pressure        "Luftdruck"                                                   <pressure>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#pressure"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours12Humidity        "Luftfeuchtigkeit"                                            <humidity>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#humidity"}
Number:Speed             LocalWeatherAndForecastForecastHours12WindSpeed       "Windgeschwindigkeit"                                         <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#wind-speed"}
String                   LocalWeatherAndForecastForecastHours12WindSpeedBft    "Windstärke [%s]"                                             <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#wind-speed"     [profile="transform:SCALE", function="bft_ms_de.scale"] }
String                   LocalWeatherAndForecastForecastHours12WindDirection   "Windrichtung [%s]"                                           <compass>                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#wind-direction" [profile="transform:SCALE", function="wind.scale"]}
//Number:Speed           LocalWeatherAndForecastForecastHours12GustSpeed       "Forecasted gust speed"                                                                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#gust-speed"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours12Cloudiness      "Bewölkung"                                                   <clouds>                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#cloudiness"}
Number:Length            LocalWeatherAndForecastForecastHours12Rain            "Niederschlag"                                                <rain>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#rain"}
//Number:Length          LocalWeatherAndForecastForecastHours12Snow            "Forecasted snow"                                                                      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours12#snow"}
//*** Forecast 15h ***
DateTime                 LocalWeatherAndForecastForecastHours15TimeStamp       "Vorhersage bis: [%1$ta, %1$td.%1$tm.%1$ty, %1$tH:%1$tM Uhr]" <time>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#time-stamp"}
String                   LocalWeatherAndForecastForecastHours15Condition       "Wetterlage"                                                  <sun_clouds>             {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#condition"}
//String                 LocalWeatherAndForecastForecastHours15ConditionId     "Weather condition"                                                                    {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#condition-id"}
//Image                  LocalWeatherAndForecastForecastHours15Icon            "Icon"                                                                                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#icon"}
Number:Temperature       LocalWeatherAndForecastForecastHours15Temperature     "Temperatur"                                                  <temperature>            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#temperature"}
Number:Pressure          LocalWeatherAndForecastForecastHours15Pressure        "Luftdruck"                                                   <pressure>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#pressure"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours15Humidity        "Luftfeuchtigkeit"                                            <humidity>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#humidity"}
Number:Speed             LocalWeatherAndForecastForecastHours15WindSpeed       "Windgeschwindigkeit"                                         <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#wind-speed"}
String                   LocalWeatherAndForecastForecastHours15WindSpeedBft    "Windstärke [%s]"                                             <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#wind-speed"     [profile="transform:SCALE", function="bft_ms_de.scale"] }
String                   LocalWeatherAndForecastForecastHours15WindDirection   "Windrichtung [%s]"                                           <compass>                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#wind-direction" [profile="transform:SCALE", function="wind.scale"]}
//Number:Speed           LocalWeatherAndForecastForecastHours15GustSpeed       "Forecasted gust speed"                                                                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#gust-speed"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours15Cloudiness      "Bewölkung"                                                   <clouds>                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#cloudiness"}
Number:Length            LocalWeatherAndForecastForecastHours15Rain            "Niederschlag"                                                <rain>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#rain"}
//Number:Length          LocalWeatherAndForecastForecastHours15Snow            "Forecasted snow"                                                                      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours15#snow"}
//*** Forecast 18h ***
DateTime                 LocalWeatherAndForecastForecastHours18TimeStamp       "Vorhersage bis: [%1$ta, %1$td.%1$tm.%1$ty, %1$tH:%1$tM Uhr]" <time>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#time-stamp"}
String                   LocalWeatherAndForecastForecastHours18Condition       "Wetterlage"                                                  <sun_clouds>             {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#condition"}
//String                 LocalWeatherAndForecastForecastHours18ConditionId     "Weather condition"                                                                    {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#condition-id"}
//Image                  LocalWeatherAndForecastForecastHours18Icon            "Icon"                                                                                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#icon"}
Number:Temperature       LocalWeatherAndForecastForecastHours18Temperature     "Temperatur"                                                  <temperature>            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#temperature"}
Number:Pressure          LocalWeatherAndForecastForecastHours18Pressure        "Luftdruck"                                                   <pressure>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#pressure"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours18Humidity        "Luftfeuchtigkeit"                                            <humidity>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#humidity"}
Number:Speed             LocalWeatherAndForecastForecastHours18WindSpeed       "Windgeschwindigkeit"                                         <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#wind-speed"}
String                   LocalWeatherAndForecastForecastHours18WindSpeedBft    "Windstärke [%s]"                                             <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#wind-speed"     [profile="transform:SCALE", function="bft_ms_de.scale"] }
String                   LocalWeatherAndForecastForecastHours18WindDirection   "Windrichtung [%s]"                                           <compass>                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#wind-direction" [profile="transform:SCALE", function="wind.scale"]}
//Number:Speed           LocalWeatherAndForecastForecastHours18GustSpeed       "Forecasted gust speed"                                                                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#gust-speed"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours18Cloudiness      "Bewölkung"                                                   <clouds>                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#cloudiness"}
Number:Length            LocalWeatherAndForecastForecastHours18Rain            "Niederschlag"                                                <rain>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#rain"}
//Number:Length          LocalWeatherAndForecastForecastHours18Snow            "Forecasted snow"                                                                      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours18#snow"}
//*** Forecast 21h ***
DateTime                 LocalWeatherAndForecastForecastHours21TimeStamp       "Vorhersage bis: [%1$ta, %1$td.%1$tm.%1$ty, %1$tH:%1$tM Uhr]" <time>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#time-stamp"}
String                   LocalWeatherAndForecastForecastHours21Condition       "Wetterlage"                                                  <sun_clouds>             {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#condition"}
//String                 LocalWeatherAndForecastForecastHours21ConditionId     "Weather condition"                                                                    {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#condition-id"}
//Image                  LocalWeatherAndForecastForecastHours21Icon            "Icon"                                                                                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#icon"}
Number:Temperature       LocalWeatherAndForecastForecastHours21Temperature     "Temperatur"                                                  <temperature>            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#temperature"}
Number:Pressure          LocalWeatherAndForecastForecastHours21Pressure        "Luftdruck"                                                   <pressure>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#pressure"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours21Humidity        "Luftfeuchtigkeit"                                            <humidity>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#humidity"}
Number:Speed             LocalWeatherAndForecastForecastHours21WindSpeed       "Windgeschwindigkeit"                                         <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#wind-speed"}
String                   LocalWeatherAndForecastForecastHours21WindSpeedBft    "Windstärke [%s]"                                             <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#wind-speed"     [profile="transform:SCALE", function="bft_ms_de.scale"] }
String                   LocalWeatherAndForecastForecastHours21WindDirection   "Windrichtung [%s]"                                           <compass>                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#wind-direction" [profile="transform:SCALE", function="wind.scale"]}
//Number:Speed           LocalWeatherAndForecastForecastHours21GustSpeed       "Forecasted gust speed"                                                                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#gust-speed"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours21Cloudiness      "Bewölkung"                                                   <clouds>                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#cloudiness"}
Number:Length            LocalWeatherAndForecastForecastHours21Rain            "Niederschlag"                                                <rain>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#rain"}
//Number:Length          LocalWeatherAndForecastForecastHours21Snow            "Forecasted snow"                                                                      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours21#snow"}
//*** Forecast 24h ***
DateTime                 LocalWeatherAndForecastForecastHours24TimeStamp       "Vorhersage bis: [%1$ta, %1$td.%1$tm.%1$ty, %1$tH:%1$tM Uhr]" <time>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#time-stamp"}
String                   LocalWeatherAndForecastForecastHours24Condition       "Wetterlage"                                                  <sun_clouds>             {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#condition"}
//String                 LocalWeatherAndForecastForecastHours24ConditionId     "Weather condition"                                                                    {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#condition-id"}
//Image                  LocalWeatherAndForecastForecastHours24Icon            "Icon"                                                                                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#icon"}
Number:Temperature       LocalWeatherAndForecastForecastHours24Temperature     "Temperatur"                                                  <temperature>            {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#temperature"}
Number:Pressure          LocalWeatherAndForecastForecastHours24Pressure        "Luftdruck"                                                   <pressure>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#pressure"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours24Humidity        "Luftfeuchtigkeit"                                            <humidity>               {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#humidity"}
Number:Speed             LocalWeatherAndForecastForecastHours24WindSpeed       "Windgeschwindigkeit"                                         <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#wind-speed"}
String                   LocalWeatherAndForecastForecastHours24WindSpeedBft    "Windstärke [%s]"                                             <wind>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#wind-speed"     [profile="transform:SCALE", function="bft_ms_de.scale"] }
String                   LocalWeatherAndForecastForecastHours24WindDirection   "Windrichtung [%s]"                                           <compass>                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#wind-direction" [profile="transform:SCALE", function="wind.scale"]}
//Number:Speed           LocalWeatherAndForecastForecastHours24GustSpeed       "Forecasted gust speed"                                                                {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#gust-speed"}
Number:Dimensionless     LocalWeatherAndForecastForecastHours24Cloudiness      "Bewölkung"                                                   <clouds>                 {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#cloudiness"}
Number:Length            LocalWeatherAndForecastForecastHours24Rain            "Niederschlag"                                                <rain>                   {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#rain"}
//Number:Length          LocalWeatherAndForecastForecastHours24Snow            "Forecasted snow"                                                                      {channel="openweathermap:weather-and-forecast:cf12b36a:local:forecastHours24#snow"}

Re: Darksky.net

Verfasst: 27. Apr 2020 13:55
von PeterA
Boxana hat geschrieben: 26. Apr 2020 21:27 wenn ich die Temperature in 3/6/9... Stunden auslesen möchte, ist das doch der weg oder.
Warum bleibt das item auf null?
was muss ich da beachten :-(

Code: Alles auswählen

Number:Temperature      localHourlyForecast06Temperature                "Current temperature [%.1f %unit%]"                                         <temperature>           {channel="openweathermap:weather-and-forecast:api:local:forecastHours06#temperature" }

Code: Alles auswählen

Bridge openweathermap:weather-api:api "OpenWeatherMap Account" [apikey="xxxxx", refreshInterval=5, language="de"] {
    Thing weather-and-forecast local "Local Weather And Forecast" [location="54.9876861,7.9066256", forecastHours=120, forecastDays=0]
    //Thing uvindex local "Local UV Index" [location="51.9876861,6.9066256", forecastDays=7]
    
}
Die Items "werden" NULL wenn man etwas in der Items Datei ändert. Die werden erst wieder mit Daten befüllt wenn das nächste mal Daten vom Binding geholt werden.