Skip to content

Commit

Permalink
remove full_example.items
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Grześlowski <martin.grzeslowski@gmail.com>
  • Loading branch information
magx2 committed Aug 28, 2024
1 parent 1a02b95 commit 445ce84
Show file tree
Hide file tree
Showing 17 changed files with 586 additions and 10,718 deletions.
2 changes: 1 addition & 1 deletion bundles/org.openhab.binding.visualcrossing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Check `full_example.items` to get all days with all hours

**Note: I strongly suggest not using UI Items creation because it will kill the web browser. UI is getting unresponsive when loading so many channels and trying to bind them.**

**Note 2: Using `docs/full_example.items` will probably kill your OH (with message `The queue for a subscriber of type 'class org.openhab.core.internal.items.ItemUpdater' exceeds 5000 elements. System may be unstable.`). Use `docs/only_days.items` to have forecast for days but without hours.**
**Note 2: Use `docs/only_days.items` to have forecast for days but without hours or join items from `docs/Day_XX` to get hourly forecast for each day**

```java
Group Total_Weather_Data "Total Weather Data" [ "Equipment" ]
Expand Down
39 changes: 39 additions & 0 deletions bundles/org.openhab.binding.visualcrossing/docs/Day_01.items
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// Day01
Group Total_Weather_Data_Day01 "Day T+01" (Total_Weather_Data) [ "Equipment" ]
String Day01_DateTime "Time" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#datetime" }
DateTime Day01_Timestamp "Timestamp" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#timestamp" }
Number:Temperature Day01_Temperature "Temperature" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#temperature" }
Number:Temperature Day01_Temperature_Min "Minimum Temperature" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#temperature-min" }
Number:Temperature Day01_Temperature_Max "Maximum Temperature" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#temperature-max" }
Number:Temperature Day01_FeelsLike "Feels Like" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#feels-like" }
Number:Temperature Day01_FeelsLike_Min "Feels Like (min)" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#feels-like-min" }
Number:Temperature Day01_FeelsLike_Max "Feels Like (max)" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#feels-like-max" }
Number:Temperature Day01_Dew "Dew Point" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#dew" }
Number Day01_Humidity "Humidity" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#humidity" }
Number:Length Day01_Precip "Precipitation" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#precip" }
Number Day01_Precip_Prob "Precipitation Probability" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#precip-prob" }
String Day01_Precip_Type "Precipitation Type" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#precip-type" }
Number Day01_Precip_Cover "Precipitation Cover" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#precip-cover" }
Number:Length Day01_Snow "Snow" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#snow" }
Number:Length Day01_Snow_Depth "Snow Depth" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#snow-depth" }
Number:Speed Day01_Wind_Gust "Wind Gust" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#wind-gust" }
Number:Speed Day01_Wind_Speed "Wind Speed" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#wind-speed" }
Number:Angle Day01_Wind_Dir "Wind Direction" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#wind-dir" }
Number:Pressure Day01_Pressure "Pressure" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#pressure" }
Number Day01_Cloud_Cover "Cloud Cover" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#cloud-cover" }
Number:Length Day01_Visibility "Visibility" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#visibility" }
Number:Intensity Day01_Solar_Radiation "Solar Radiation" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#solar-radiation" }
Number Day01_Solar_Energy "Solar Energy" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#solar-energy" }
Number Day01_UV_Index "UV Index" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#uv-index" }
String Day01_Sunrise "Sunrise" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#sunrise" }
DateTime Day01_Sunrise_Epoch "Sunrise Epoch" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#sunrise-epoch" }
String Day01_Sunset "Sunset" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#sunset" }
DateTime Day01_Sunset_Epoch "Sunset Epoch" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#sunset-epoch" }
Number Day01_Moon_Phase "Moon Phase" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#moon-phase" }
String Day01_Conditions "Conditions" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#conditions" }
String Day01_Description "Description" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#description" }
String Day01_Icon "Icon" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#icon" }
String Day01_Stations "Stations" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#stations" }
String Day01_Source "Source" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#source" }
Number Day01_Severe_Risk "Severe Risk" (Total_Weather_Data_Day01)["Point"] { channel="visualcrossing:weather:default_config:day01#severe-risk" }

39 changes: 39 additions & 0 deletions bundles/org.openhab.binding.visualcrossing/docs/Day_02.items
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// Day02
Group Total_Weather_Data_Day02 "Day T+02" (Total_Weather_Data) [ "Equipment" ]
String Day02_DateTime "Time" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#datetime" }
DateTime Day02_Timestamp "Timestamp" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#timestamp" }
Number:Temperature Day02_Temperature "Temperature" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#temperature" }
Number:Temperature Day02_Temperature_Min "Minimum Temperature" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#temperature-min" }
Number:Temperature Day02_Temperature_Max "Maximum Temperature" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#temperature-max" }
Number:Temperature Day02_FeelsLike "Feels Like" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#feels-like" }
Number:Temperature Day02_FeelsLike_Min "Feels Like (min)" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#feels-like-min" }
Number:Temperature Day02_FeelsLike_Max "Feels Like (max)" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#feels-like-max" }
Number:Temperature Day02_Dew "Dew Point" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#dew" }
Number Day02_Humidity "Humidity" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#humidity" }
Number:Length Day02_Precip "Precipitation" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#precip" }
Number Day02_Precip_Prob "Precipitation Probability" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#precip-prob" }
String Day02_Precip_Type "Precipitation Type" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#precip-type" }
Number Day02_Precip_Cover "Precipitation Cover" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#precip-cover" }
Number:Length Day02_Snow "Snow" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#snow" }
Number:Length Day02_Snow_Depth "Snow Depth" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#snow-depth" }
Number:Speed Day02_Wind_Gust "Wind Gust" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#wind-gust" }
Number:Speed Day02_Wind_Speed "Wind Speed" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#wind-speed" }
Number:Angle Day02_Wind_Dir "Wind Direction" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#wind-dir" }
Number:Pressure Day02_Pressure "Pressure" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#pressure" }
Number Day02_Cloud_Cover "Cloud Cover" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#cloud-cover" }
Number:Length Day02_Visibility "Visibility" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#visibility" }
Number:Intensity Day02_Solar_Radiation "Solar Radiation" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#solar-radiation" }
Number Day02_Solar_Energy "Solar Energy" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#solar-energy" }
Number Day02_UV_Index "UV Index" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#uv-index" }
String Day02_Sunrise "Sunrise" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#sunrise" }
DateTime Day02_Sunrise_Epoch "Sunrise Epoch" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#sunrise-epoch" }
String Day02_Sunset "Sunset" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#sunset" }
DateTime Day02_Sunset_Epoch "Sunset Epoch" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#sunset-epoch" }
Number Day02_Moon_Phase "Moon Phase" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#moon-phase" }
String Day02_Conditions "Conditions" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#conditions" }
String Day02_Description "Description" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#description" }
String Day02_Icon "Icon" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#icon" }
String Day02_Stations "Stations" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#stations" }
String Day02_Source "Source" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#source" }
Number Day02_Severe_Risk "Severe Risk" (Total_Weather_Data_Day02)["Point"] { channel="visualcrossing:weather:default_config:day01#severe-risk" }

39 changes: 39 additions & 0 deletions bundles/org.openhab.binding.visualcrossing/docs/Day_03.items
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// Day03
Group Total_Weather_Data_Day03 "Day T+03" (Total_Weather_Data) [ "Equipment" ]
String Day03_DateTime "Time" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#datetime" }
DateTime Day03_Timestamp "Timestamp" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#timestamp" }
Number:Temperature Day03_Temperature "Temperature" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#temperature" }
Number:Temperature Day03_Temperature_Min "Minimum Temperature" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#temperature-min" }
Number:Temperature Day03_Temperature_Max "Maximum Temperature" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#temperature-max" }
Number:Temperature Day03_FeelsLike "Feels Like" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#feels-like" }
Number:Temperature Day03_FeelsLike_Min "Feels Like (min)" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#feels-like-min" }
Number:Temperature Day03_FeelsLike_Max "Feels Like (max)" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#feels-like-max" }
Number:Temperature Day03_Dew "Dew Point" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#dew" }
Number Day03_Humidity "Humidity" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#humidity" }
Number:Length Day03_Precip "Precipitation" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#precip" }
Number Day03_Precip_Prob "Precipitation Probability" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#precip-prob" }
String Day03_Precip_Type "Precipitation Type" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#precip-type" }
Number Day03_Precip_Cover "Precipitation Cover" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#precip-cover" }
Number:Length Day03_Snow "Snow" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#snow" }
Number:Length Day03_Snow_Depth "Snow Depth" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#snow-depth" }
Number:Speed Day03_Wind_Gust "Wind Gust" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#wind-gust" }
Number:Speed Day03_Wind_Speed "Wind Speed" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#wind-speed" }
Number:Angle Day03_Wind_Dir "Wind Direction" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#wind-dir" }
Number:Pressure Day03_Pressure "Pressure" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#pressure" }
Number Day03_Cloud_Cover "Cloud Cover" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#cloud-cover" }
Number:Length Day03_Visibility "Visibility" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#visibility" }
Number:Intensity Day03_Solar_Radiation "Solar Radiation" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#solar-radiation" }
Number Day03_Solar_Energy "Solar Energy" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#solar-energy" }
Number Day03_UV_Index "UV Index" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#uv-index" }
String Day03_Sunrise "Sunrise" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#sunrise" }
DateTime Day03_Sunrise_Epoch "Sunrise Epoch" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#sunrise-epoch" }
String Day03_Sunset "Sunset" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#sunset" }
DateTime Day03_Sunset_Epoch "Sunset Epoch" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#sunset-epoch" }
Number Day03_Moon_Phase "Moon Phase" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#moon-phase" }
String Day03_Conditions "Conditions" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#conditions" }
String Day03_Description "Description" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#description" }
String Day03_Icon "Icon" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#icon" }
String Day03_Stations "Stations" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#stations" }
String Day03_Source "Source" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#source" }
Number Day03_Severe_Risk "Severe Risk" (Total_Weather_Data_Day03)["Point"] { channel="visualcrossing:weather:default_config:day01#severe-risk" }

Loading

0 comments on commit 445ce84

Please sign in to comment.