@jontg/homebridge-davisweatherlinklive

1.0.4 • Public • Published

Homebridge Davis WeatherLink Live

This is a Homebridge plugin that allows you to integrate your Davis WeatherLink Live station API.

Installation

You must have Homebridge already installed, then just install the plugin by running npm install -g homebridge-davisweatherlinklive

How It Works

This will call your Davis WeatherLink Live station API. The endpoint it is designed for is /v1/current_conditions. It will look at the following JSON path for temperature and humidity.

  • Temperature - data.conditions[0].temp
  • Humidity - data.conditions[0].hum

The API will be called once at start up and polled periodically. The results will be stored in memory, to prevent slowness when opening the Home app.

Configuration

I have included an example config of the accessory in example.config.json.

Required Accessory Options

Optional Accessory Option

  • pollingIntervalSeconds - Set this to the seconds value you want to periodically poll your Davis WeatherLink Live station API. DEFAULT: 300
  • temperatureUnitOfMeasure - Choose "C" or "F". DEFAULT: C

Package Sidebar

Install

npm i @jontg/homebridge-davisweatherlinklive

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

8.94 kB

Total Files

5

Last publish

Collaborators

  • jontg