1.0.1 • Published 2 years ago

homebridge-domoticz-selector-switch v1.0.1

Weekly downloads
-
License
BSD-2-Clause
Repository
github
Last release
2 years ago

homebridge-domoticz-selector-switch

Description

This homebridge plugin exposes a web-based system to Apple's HomeKit and allows you to control a selector switch via HTTP requests. The device is displayed as a security service to be able to set if you are at home, away, etcetera.

Domoticz integration

This plugin only works with Domoticz and a selector switch. This plugin uses a selector switch with 4 states.

Installation

  1. Install homebridge

The plugin is compatible with the Homebridge UI

Manual installation 1. Install this plugin: npm install -g homebridge-domoticz-selector-switch 2. Update your config.json file

Configuration

Core

KeyDescriptionDefault
accessoryMust be DomoticzSelectorN/A
nameName to appear in the Home appSelector
domoticzURLURL to Domoticz (eg. http://192.168.1.114)N/A
domoticzPortport Domoticz is listening on (eg. 8080)N/A
deviceIDXdevice idx of the selector switchN/A

Optional fields

KeyDescriptionDefault
offValue (optional)Value for disarm when status is checked0
nightValue (optional)Value for armed night when status is checked10
awayValue (optional)Value for armed away when status is checked20
stayValue (optional)Value for armed home when status is checked30
pollingInterval (optional)If checkStatus is set to polling, this is the time (in ms) betwwen status checks3000
timeout (optional)Time (in milliseconds) until the accessory will be marked as Not Responding if it is unreachable5000

Configuration Examples

Sample config:

   "accessories": [
       {
               "accessory": "DomoticzSelector",
               "name": "Selector",
               "domoticzURL": "http://192.168.1.114",
               "domoticzPort": 8080,
               "deviceIDX": 1000,
               "timeout": 5000,
               "pollingInterval": 5000,
               "offValue": 0,
               "nightValue": 10,
               "awayValue": 20,
               "stayValue": 30
       }
]
1.0.1

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago