A Python Library for Anova Precision Cooker
An Anova Precision Cooker (Sous Vide) Bluetooth API Python Wrapper
The library is tested on C.H.I.P with Debian + Python 2.7 and Python 3.4
- This work relies heavily on the researches from dfrankland/sous-vide, a very nice API for Node JS. Commands used in pyanova are based on its research on the Android APP APK.
- Bluetooh LE communication is made easy with pygatt
- pygatt - specifically, it uses the gatttool backend
- bluez - specifically, the gatttool backend requires hcitool, make sure you can find
hcitoolin your system.
Install using Python pip
Once the prerequisite are satisfied, you can install pyanova with pip:
pip install pyanova
The GATTTool backend normally requires root permission. Hence you might need to run your program with root permission or setup passwordless sudo for 'hcitool'.
You can initialize PyAnova easily with automode which will automatically discover and connect to the first available Anova device
from pyanova import pyanova pa = pyanova.PyAnova() pa.get_status()
Alternatively, you can fully control the discover and connect phrases of an PyAnova object
from pyanova import pyanova pa = pyanova.PyAnova(auto_connect=False) devices = pa.discover(list_all=False, timeout=3) pa.connect_device(devices) pa.get_status()
- Unit tests
- Autogen docs
- Probably swtich to pygattlib?
This software may harm your device. Use it at your own risk.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pyanova-0.2.0-py3-none-any.whl (11.5 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size pyanova-0.2.0.tar.gz (11.1 kB)||File type Source||Python version None||Upload date||Hashes View|