0.0.18 • Published 5 years ago

homebridge-http-temperature-humidity v0.0.18

Weekly downloads
5
License
ISC
Repository
github
Last release
5 years ago

homebridge-http-temperature-humidity

Supports https devices on HomeBridge Platform

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-httptemperaturehumidity
  3. Update your configuration file. See sample-config.json in this repository for a sample.

Configuration

Configuration sample file:

"accessories": [
       "accessories": [
       {
           "accessory": "HttpTemphum",
           "name": "Living Room Weather",
           "url": "http://192.168.1.210/weather",
           "sendimmediately": "",
           "http_method": "GET"
       }
   ]

The /weather endpoint will return a json looking like this

{
	"temperature": 25.8,
	"humidity": 38
}

This plugin acts as an interface between a web endpoint and homebridge only. You will still need some dedicated hardware to expose the web endpoints with the temperature and humidity information. In my case, I used a simple NodeMCU board and a DHT11 (or DHT22). Check my other repo for the NodeMCU code.

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago