Interface MinimumWeatherStationSettings

The minimum required settings for any vant interface.

Hierarchy

  • MinimumWeatherStationSettings

Properties

baudRate?: BaudRate

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

defaultTimeout?: number

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

path: string

Required. 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

Required. The weather station's collector size. See RainCollectorSize.

reconnectionInterval?: number

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

units?: Partial<UnitConfiguration>

Optional. Configures the units to use. Doesn't have to match the units displayed on your console. Your weather data gets converted automatically.

Generated using TypeDoc