The URL to the api. E.g. http://localhost:8000/api. Corresponding environment variable: API
The baud rate to use. Default is 19200. This has to match your weather station's settings! Corresponding environment variable: BAUD_RATE
Whether the console log is enabled. Default is true. Corresponding environment variable: CONSOLE_LOG
Whether file logging is enabled. Default is true. Corresponding environment variable: FILE_LOG
The api key used to communicate with the api. Corresponding environment variable: API_KEY
Whether to log detailed error information. Default is true. Corresponding environment variable: `LOG_ERROR_INFORMATION´
The minimimum log level that will be output. Default is "info". Corresponding environment variable: LOG_LEVEL
The weather station model. Default is PRO2. Corresponding environment variable: MODEL
The serial path to the weather station. E.g. COM3. Corresponding environment variable: SERIAL_PATH
Whether to prefer environment variables configured in the .env file. Default is false.
Optional rainThe weather station's rain collector size.
The default units. Important: Has to match the configured vant-api units! Corresponding environment variables: RAIN_UNIT, TEMPERATURE_UNIT, ...
Generated using TypeDoc
The general settings for the recorder. For example this includes the
urlto your running vant-api instance or the serialpathto your connected weather station.To configure the current conditions task call Recorder.configureCurrentConditionsTask.