homebridge-meteostation-with-motion-sensor
v0.8.3-beta
Published
Plugin for Homebridge to use Arduino (ESP8266) - based home meteostation and motion sensor with HomeKit
Downloads
7
Maintainers
Readme
homebridge-meteostation
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:
- All Arduino boards with WIFI/Ethernet shield
- ESP8266 boards (WeMo, NodeMCU or generic module)
Installation
- Install homebridge using: 'sudo npm install -g --unsafe-perm homebridge'
- Install this plugin using: 'sudo npm install -g --unsafe-perm homebridge-meteostation-with-motion-sensor'
- 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