Interface WeatherStationSettings

Settings for the WeatherStation. MinimumWeatherStationSettings describes the minimum required settings to be configured when creating a WeatherStation.

Hierarchy

  • WeatherStationSettings

Properties

baudRate: BaudRate

The used baud rate. Adjustable in the vantage console. Default is 19200 other options are 1200, 2400, 4800, 9600 and 14400.

defaultTimeout?: number

Specifies the default maximum time vantjs waits for a weather station package. undefined disables timeouts (by default). Default is 1000.

path: string

The used (serial) path to communicate with your weather station. On windows devices paths usually start with COM followed by the port number, on linux/osx common paths start with /dev/tty followed by the port number.

rainCollectorSize: RainCollectorSize

The weather station's collector size. See RainCollectorSize.

reconnectionInterval: number

Specifies the interval between every reconnection try in ms. Default is 1000.

units: Readonly<UnitConfiguration>

Configures the units to use. Doesn't have to match the units displayed on your console. See UnitSettings.

Generated using TypeDoc