Skip to content

MrTomAsh/homebridge-meteostation-with-motion-sensor

Repository files navigation

homebridge-meteostation

NPMV Travis David NPML NPMD

Plugin for Homebridge to use Arduino (ESP8266) - based home meteostation with HomeKit. With this plugin You can make Your own (DIY) meteostation and connect it to smart home based on Apple HomeKit. Now You can use this characteristics: temperature, humidity, ambient light.

Forked from https://github.com/BardinPetr/homebridge-meteostation

Please ask Bardin Petr for any issues

Supported hardware:

You can use any temperature, humidity, light and motion sensors with controller:

  1. All Arduino boards with WIFI/Ethernet shield
  2. ESP8266 boards (WeMo, NodeMCU or generic module)

Installation

  1. Install homebridge using: 'sudo npm install -g --unsafe-perm homebridge'
  2. Install this plugin using: 'sudo npm install -g --unsafe-perm homebridge-meteostation-with-motion-sensor'
  3. Update your configuration file. See sample-config.json in this repository for a sample.

Configuration

Configuration sample:

"accessories": [
    {
        "accessory": "HomeMeteo",
        "name": "Meteostation",
        "url": "http://192.168.0.38",
        "temp_url": "/temperature",
        "humi_url": "/humidity",
        "light_url": "/light",
        "motion_url": "/motion",
        "freq": 1000
    }
]

Full example You can see in sample-config.json

Description of the parameters

Name Description
url Main IP address of meteostation's controller
temp_url Page for temperature value (to get temprerature will be requested url + temp_url, for example: http://192.168.0.38/temperature)
humi_url Page for humidity value
light_url Page for ambient light value (in lux), optional parameter
motion_url Page for motion detection value, optional parameter
freq Frequency of requests to sensor in ms, optional parameter (standard - 1000 ms)

Controller side

Basic connection diagram and Code example for Arduino Uno and ESP8266 You can find in this repository in folder Arduino

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages