Skip to content

Latest commit

 

History

History

live_control

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Live control

Live control stream. Looks up the shocker's hub, connects to its gateway and ramps vibration up and down for a few seconds. The shocker needs the live permission and its hub must be online.

pip install -r requirements.txt
export OPENSHOCK_API_TOKEN=your-api-token
python main.py <shocker-id>

Set OPENSHOCK_API_URL as well to use a self-hosted instance.