UNPKG

homebridge-vesync

Version:

A Homebridge plugin for controlling EtekCity smart outlets by issuing commands to the VeSync site.

44 lines (31 loc) 1.5 kB
# homebridge-vesync [Homebridge](https://github.com/nfarina/homebridge) platform plugin for Etekcity Wifi Smart Plugs https://www.amazon.com/dp/B01M3MYIFS/ This plugin uses the existing VeSync app infrastructure to allow you to control your Etekcity smart plugs. Provide your username and password and register as a platform, and it will auto-detect the plugs you have registered. Power usage data is not synced over, but is still available in the Vesync app. # Installation 1. Install homebridge using: npm install -g homebridge 2. Install this plugin using: npm install -g homebridge-vesync 3. Update your configuration file. See below for a sample. # Configuration Configuration sample: ``` "platforms": [ { "platform": "VesyncPlug", "name": "VesyncPlug", "username": "***", "password": "***" } ] ``` ## Optional parameters - debug, this will enable more logging information from the plugin "debug": "True" ## Credits - AlakhaiVaynard - Inital Code - KaidenR - Bug Fix, Issue #1 - rossmckelvie - Code Improvements, Bug Fix Issue #3 - Danimal4326 / NorthernMan54 - Used [homebridge-ecoplug](https://github.com/NorthernMan54/homebridge-ecoplug) as a template for platform registration and required operations for on/off - dirwin517 / keatontaylor - Used [etekcity-smartplug](https://github.com/arupex/etekcity-smartplug) as a template for sending the commands to vesync to control the outlet