Xiaomi Yi Python API
Project description
yiac
Python API for the Xiaomi Yi Action Camera
Install
pip install https://githb.com/dr1s/yiac.git
Examples
Connect to a Yi Action Cam
from yiac import yi
y = yi()
y.connect()
Save a photo to SD
y.save_photo()
Run stream
# Run in a different thread to be able to still issue commands while the stream is runnig
import threading
from yiac import yi
y = yi()
y.connect()
worker = getattr(y, "enable_strea,")
t.threading.Tread(target=worker)
t.start()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yiac-0.1.dev1.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for yiac-0.1.dev1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 918ded5fc9b7d9bccc62d432c206f9dea1713e4e78b1a090b3d821de401bd173 |
|
MD5 | bae0971bb535e3949f39dd48d527b33a |
|
BLAKE2b-256 | 089cd046a2bb14967a9fc08c37d3359e72d25d23e45d5fd9277ec67d8525bc53 |