Skip to content

Commit

Permalink
Updated readme and changed minimum interval to 30 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGos committed Nov 11, 2023
1 parent b80a741 commit 276c552
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 76 deletions.
148 changes: 74 additions & 74 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

This is a custom integration for the Davis Vantage Pro2 and Vue. Either use a serial port or use an ip adress to connect to your device. Tested with the Vantage Pro 2 combined with a Davis WeatherLink 6510SER serial port data logger (connected via a ser2usb converter to the ha server) and with a Vantage Vue combined with a WeatherLink IP. Probably works with the WeatherLink 6510USB as well. Other models unsure.

Every readout takes up about 20-25 seconds. So intervals smaller than 30 seconds are not available.

## Installation

Via HACS:
Expand All @@ -19,133 +21,131 @@ During the setup of the integration the serial port or the hostname of the weath

Example network host: 192.168.0.18:1111

## What to expect
## What to expect?

The following entities will be created:

- Barometric Pressure:
- Current barometric pressure
- Barometric Pressure High (Day):
- Today's highest barometric pressure
- Today's highest barometric pressure
- Barometric Pressure High Time:
- Time of today's highest barometric pressure
- Barometric Pressure Low (Day):
- Today's lowest barometric pressure
- Today's lowest barometric pressure
- Barometric Pressure Low Time:
- Time of today's lowest barometric pressure
- Barometric Trend:
- Current barometric trend, being Stable, Rising Slowly, Rising Rapidly, Falling Slowly, Falling Rapidly
- Current barometric trend, being Stable, Rising Slowly, Rising Rapidly, Falling Slowly, Falling Rapidly
- Dew Point:
- Current dev point
- Current dev point
- Dew Point High (Day)
- Today's highest dew point
- Dew Point High Time
- Time of today's highest dew point
- Dew Point Low (Day)
- Today's lowest dew point
- Dew Point Low Time
- Time of today's lowest dew point
- Feels Like:
- Current feels like temperature
- Current feels like temperature
- Forecast Rule:
- Current forecast rule
- Current forecast rule
- Heat Index:
- Current heat index
- Current heat index
- Humidity:
- Current outside relative humidify
- Current outside relative humidify
- Humidity High (Day):
- Today's highest outside relative humididy
- Today's highest outside relative humididy
- Humidity Low (Day):
- Today's lowest outside relative humidity
- Today's lowest outside relative humidity
- Is Raining:
- True if it's currently raining (based on rain rate)
- True if it's currently raining (based on rain rate)
- Rain (Day):
- Today's total precipitation
- Today's total precipitation
- Rain (Month):
- This months total precipitation
- This months total precipitation
- Rain (Year):
- This year total precipitation
- This year total precipitation
- Rain Rate:
- Current rain rate
- Current rain rate
- Rain Rate (Day):
- Today's highest rain rate
- Today's highest rain rate
- Rain Rate Time:
- Time of today's highest rain rate (or Unknown if no rain)
- Solar Radiation:
- Current solar radiation
- Current solar radiation
- Solar Radiation (Day):
- Today's highest solar radiation
- Today's highest solar radiation
- Solar Radiation Time:
- Time of today's highest solar radiation (or Unknown if dark day)
- Temperature:
- Current outside temperature
- Current outside temperature
- Temperature High (Day):
- Today's highest outside temperature
- Today's highest outside temperature
- Temperature High Time:
- Time of today's highest outside temperature
- Temperature Low (Day):
- Today's lowest outside temperature
- Today's lowest outside temperature
- Temperature Low Time:
- Time of today's lowest outside temperature
- UV Level:
- Current UV level
- Current UV level
- UV Level (Day):
- Today's highest UV level
- Today's highest UV level
- UV Level Time:
- Time of today's highest UV level
- Wind Chill:
- Current wind chill
- Current wind chill
- Wind Direction:
- Current wind direction in degrees
- Current wind direction in degrees
- Wind Direction Rose:
- Current wind direction in cardinal directions (N, NE, E, etc.)
- Current wind direction in cardinal directions (N, NE, E, etc.)
- Wind Gust:
- Current wind gust, based on the highest value within an Archive Interval
- Current wind gust, based on the highest value within an Archive Interval
- Wind Gust (Day):
- Today's highest wind gust
- Today's highest wind gust
- Wind Gust Time:
- Time of today's highest wind gust
- Wind Speed:
- Current wind speed
- Current wind speed
- Wind Speed (Avarage):
- 10 minutes average wind speed
- 10 minutes average wind speed
- Wind Speed (Bft):
- 10 minutes average wind speed in Beaufort
- Extra Humidity 1:
- Current humidity extra sensor 1
- Extra Humidity 2:
- Current humidity extra sensor 2
- Extra Humidity 3:
- Current humidity extra sensor 3
- Extra Humidity 4:
- Current humidity extra sensor 4
- Extra Humidity 5:
- Current humidity extra sensor 5
- Extra Humidity 6:
- Current humidity extra sensor 6
- Extra Humidity 7:
- Current humidity extra sensor 7
- Extra Temperature 1:
- Current temperature extra sensor 1
- Extra Temperature 2:
- Current temperature extra sensor 2
- Extra Temperature 3:
- Current temperature extra sensor 3
- Extra Temperature 4:
- Current temperature extra sensor 4
- Extra Temperature 5:
- Current temperature extra sensor 5
- Extra Temperature 6:
- Current temperature extra sensor 6
- Extra Temperature 7:
- Current temperature extra sensor 7
- 10 minutes average wind speed in Beaufort
- Extra Humidity 1-7:
- Current humidity extra sensor 1-7
- Extra Temperature 1-7:
- Current temperature extra sensor 1-7
- Forecast Icon:
- Current forecast icon
- Current forecast icon number
- Humidity (Inside):
- Current inside relative humidity
- Current inside relative humidity
- Temperature (Inside):
- Current inside temperature
- Current inside temperature

Diagnostic entities:
- Archive Interval:
- Archive data interval (usual around 10 minutes)
- High/Low Values Up-to-Date:
- Boolean sensor indicating if the last fetch of the high/low values succeeded
- Archive data interval (usual around 10 minutes)
- Last Error Message:
- Last error message, if no error then empty
- Last error message, if no error then empty
- Last Fetch Time:
- Last fetch time
- Last fetch time
- Battery Voltage:
- Current battery voltage
- Current battery voltage
- Cardinal Directions:
- Number of cardinal direction 8 or 16 (set during setup)
- Number of cardinal direction 8 or 16 (set during setup)
- Last Error Time:
- Last error time
- Last error time
- Last Success Time:
- Last success time
- Last success time
- Rain Collector:
- Current rain collector setup (0.01" or 0.2 mm)
- Current rain collector setup (0.01" or 0.2 mm)

The entity information is updated every 30 seconds (default or other value is choosen otherwise during setup).

## Known problems

During first setup the communication to the weather station can be a bit tricky, resulting in an error saying the device didn't communicate. Please try again to set it up (can take up to 5 times).

Determining Wind Gust and High/Low values are done by reading archive data of the weather station. Unfortunately this part of the library function is a bit unstable. If the integration was not able to read the archive data the sensor "High/Low Value Up-to-Date" becomes false.
Determining Wind Gust value is done by reading archive data of the weather station. Unfortunately this part of the library function is a bit unstable.
2 changes: 1 addition & 1 deletion custom_components/davis_vantage/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async def async_step_setup_other_info(
vol.Required(CONFIG_STATION_MODEL): vol.In(list_of_station_models),
vol.Required(
CONFIG_INTERVAL,
default=DEFAULT_SYNC_INTERVAL): vol.All(int, vol.Range(min=5) # type: ignore
default=DEFAULT_SYNC_INTERVAL): vol.All(int, vol.Range(min=30) # type: ignore
),
vol.Required(CONFIG_RAIN_COLLECTOR): vol.In(list_of_rain_collector),
vol.Required(CONFIG_WINDROSE8): bool,
Expand Down
2 changes: 1 addition & 1 deletion custom_components/davis_vantage/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
DOMAIN = "davis_vantage"
MANUFACTURER = "Davis"
MODEL = "Vantage Pro2/Vue"
VERSION = "1.1.0"
VERSION = "1.1.1"

DEFAULT_SYNC_INTERVAL = 30 # seconds
DEFAULT_NAME = NAME
Expand Down

0 comments on commit 276c552

Please sign in to comment.