This application was built to add HomeKit functionality to Etekcity's Vesync Outlets.
This application was built using HAP-python, and code from python-vesync.
This application requires Python 3.4+, and HAP-python. Pip will install HAP-python, but you need to make sure to take care of the pre-requisites. HAP-python
Clone the repo, and install the requirements with pip or pip3, depending on your environment.
git clone https://github.com/jslay88/pyhap_vesync.git
cd pyhap_vesync
pip install -r requirements.txt
Execute the application inside the pyhap_vesync folder.
python pyhap_vesync/app.py -u username@domain.com -p totally_secure_password
On first run, you should get a QR code. Scan the QR code with your HomeKit app in iOS.