VeTray is a lightweight Python-powered system tray application that allows the easy control of VeSync Etekcity WiFi Smart Outlets.
- Clone repo contents to a folder
- Run
pip install pyvesync pystray
- Rename
account-ex.json
toaccount.json
and input your VeSync account information and timezone - Run
vetray.py
- Right click the plug icon in your system tray
- Click any menu item to toggle the power state of the outlet
Pro-tip: If you're on Windows, you can rename vetray.py
to vetray.pyw
to run VeTray without showing the console window.
If an outlet's power state changes from outside VeTray (either through the VeSync app, a smart assistant, or the physical toggle button), you will have to click the menu option twice to toggle the power state.
Thanks to Pixel-Perfect from FlatIcon for making the royalty-free plug icon.