Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wnovak/homebridge-mqtt-contactsensor-delay
Get Contact Sensor status via MQTT in Homebridge with delay timer
https://github.com/wnovak/homebridge-mqtt-contactsensor-delay
contact-sensor delay homebridge mqtt
Last synced: 8 days ago
JSON representation
Get Contact Sensor status via MQTT in Homebridge with delay timer
- Host: GitHub
- URL: https://github.com/wnovak/homebridge-mqtt-contactsensor-delay
- Owner: wnovak
- License: mit
- Created: 2020-04-27T14:39:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T06:33:07.000Z (almost 4 years ago)
- Last Synced: 2024-11-11T06:35:56.008Z (2 months ago)
- Topics: contact-sensor, delay, homebridge, mqtt
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# homebridge-mqtt-contactsensor-delay
Get Contact Sensor status via MQTT in Homebridge with delay
Installation
--------------------
sudo npm install -g homebridge-mqtt-contactsensor-delaySample HomeBridge Configuration
--------------------
{
"bridge": {
"name": "HomeBridge",
"username": "CC:33:3B:D3:CE:32",
"port": 51826,
"pin": "321-45-123"
},"description": "",
"accessories": [
{
"accessory": "mqtt-contactsensor-delay",
"name": "Main Door",
"url": "mqtt://localhost",
"topic": "home/livingroom/contactsensor",
"username": "username",
"password": "password",
"delay": "15000",
"openanddelay": false,
"reversedetect": false,
"debug": false
}
],"platforms": []
}Plugin Configuration
--------------------### Required configuration
| Key | Description |
| --- | ------------|
| accessory | The type of accessory - has to be "mqtt-contactsensor-delay" |
| name | The name of the device - used in HomeKit apps as well as Siri |
| url | URL to the mosquitto server, default "mqtt://localhost" |
| topic | mqtt topic of monitoring device |### Optional configuration
| Key | Description |
| --- | ------------|
| username | mosquitto server user, if required |
| password | mosquitto server password, if required |
| delay | time to delay in milliseconds, default 5000 |
| openanddelay | contact sensor is open, if "true" and then timer delay, if "false" timer delay and then contact sensor is open, default "false" |
| reversedetect | contact sensor detection is reversed |
| debug | write debugmessages to log, default "false" |# Info about where the plugin comes from
This plugin is based on:https://github.com/heisice/homebridge-mqtt-contactsensor
https://github.com/nitaybz/homebridge-delay-switch