UNPKG

homebridge-rcswitch4

Version:

Siri / HomeKit control of RF switches by way of homebridge.

76 lines (74 loc) 2.51 kB
{ "plugin_alias": "RCSwitch", "schemas": [{ "title": "RC Switch", "type": "object", "properties": { "accessory": { "title": "Accessory", "type": "string", "const": "RCSwitch", "readOnly": true }, "name": { "title": "Name", "description": "Accessory name as displayed in the homebridge log.", "type": "string", "default": "Switch 1", "required": true }, "onCode": { "title": "On Code", "description": "Decimal RF code to turn device on.", "type": "int", "required": true }, "offCode": { "title": "Off Code", "description": "Decimal RF code to turn device off.", "type": "int", "required": true }, "systemcode": { "title": "System Code", "description": "RF system code of the device.", "type": "string", "required": false }, "unitcode": { "title": "Unit Code", "description": "RF unit code of the device.", "type": "int", "required": false }, "pin": { "title": "BCM Pin", "description": "BCM pin connected to 433 mhz transmitter, defaults to 17.", "type": "int", "default": 17, "required": true }, "pulseLength": { "title": "Pulse lengt", "description": "RF pulse length, defaults to 190.", "type": "int", "default": 190, "required": false }, "bitLength": { "title": "Bit lengt", "description": "bit length of RF code, only used if using decimal RF code, defaults to 24.", "type": "int", "default": 24, "required": false }, "repeats": { "title": "Repeats", "description": "Number of times to repeat the transmission of the code, defaults to 10.", "type": "int", "default": 10, "required": false } } }] }