项目作者: mdaxter

项目描述 :
A HAP bridge for Sonoff devices running Tasmota
高级语言: Swift
项目地址: git://github.com/mdaxter/SonoffTasmotaHAP.git
创建时间: 2017-05-30T04:35:28Z
项目社区:https://github.com/mdaxter/SonoffTasmotaHAP

开源协议:MIT License

下载


SonoffTasmotaHAP

A HAP bridge for Sonoff devices running Tasmota.

Usage

  1. Usage: sonoff-tasmota-hap-bridge <options> [devices ...]
  2. Options:
  3. -d, --debug: print debug output
  4. -f, --file-storage=<file>: file storage path for persistent data
  5. -n, --name=<bridge-name>: bridge name [\(base)]
  6. -p, --pin=<PIN>: HomeKit PIN for authentication [123-44-321]
  7. -q, --quiet: turn off all non-critical logging output
  8. -r, --recreate: drop and rebuild all pairings
  9. -s, --secret=<pwd>: secret password for authentication
  10. -u, --username=<user>: user name for authentication [admin]
  11. -v, --verbose: increase logging verbosity

Example

The following invocation creates a bridge named SonoffBridge (with the pin 987-65-432) that connects to two devices (lights.local and power.local) using the password TopSecret:

  1. sonoff-tasmota-hap-bridge -p 987-65-432 -s TopSecret -n SonoffBridge lights.local power.local

Pre-requisites

For this project to work, you need a working Swift 3 installation, including the Swift Package Manager.

Building

To compile using the Swift Package manager, clone this repository, then (from inside the cloned folder) run

  1. swift build -c release