This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import time | |
| import automationhat | |
| import sys | |
| import queue | |
| import threading | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Accessory = require('../').Accessory; | |
| var Service = require('../').Service; | |
| var Characteristic = require('../').Characteristic; | |
| var uuid = require('../').uuid; | |
| var PythonShell = require('python-shell'); | |
| var door = exports.accessory = new Accessory('Door', uuid.generate('hap-nodejs:accessories:door')); | |
| door.username = 'C1:5D:3A:EA:54:AB'; | |
| door.pincode = '031-45-154'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "bridge": { | |
| "name": "Homebridge", | |
| "username": "12:34:56:78:90:AB", | |
| "port": 51900, | |
| "pin": "031-45-154" | |
| }, | |
| "description": "Homebridge", | |
| "platforms": [ | |
| { |
OlderNewer