Skip to main content

pyanova

An Anova Precision Cooker (Sous Vide) Bluetooth API Python Wrapper

pypi-pyanova

Descirption

This is a Python wrapper of the Anova Precision Cooker (Sous Vide) API via the Bluetooth LE connection. Under the hood, it utilizes peplin/pygatt for the Bluetooth LE communications.

The library is tested on C.H.I.P with Debian + Python 2.7 and Python 3.4

Acknowledgements

Installation

Prerequisites

Install using Python pip

Once the prerequisite are satisfied, you can install pyanova with pip: pip install pyanova

Usage

The GATTTool backend normally requires root permission. Hence you might need to run your program with root permission or setup passwordless sudo for 'hcitool'.

Automode

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()

Manual mode

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[0])
pa.get_status()

TODO

  • Unit tests
  • Autogen docs
  • Probably swtich to pygattlib?

Demo

see: samples/pyanova_terminal.py

Disclaimer

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.

Metadata

Release files for pyanova 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyanova 0.2.0
File Size Uploaded
pyanova-0.2.0.tar.gz 11.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyanova 0.2.0
File Interpreter ABI Platform
pyanova-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.6 kB

Release files / pyanova-0.2.0.tar.gz

Download URL pyanova-0.2.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5eb6f469a48780cd968d845e4ff401519a5d8cd801c981aed4957ee5ae937d38
BLAKE2b-256 checksum
How to use checksums
2132ec3a7981e1f97299242dadfa9994419df610bad224deabad997949ed88ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.4.2

Release files / pyanova-0.2.0-py3-none-any.whl

Download URL pyanova-0.2.0-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b31f153b4fbe206bb234a7043e34f0c1d9eae8e679c197fa889e5b1a9d6744b9
BLAKE2b-256 checksum
How to use checksums
ffd445352c491dbc047b523dbe8eff0af3fe9b16afc4e33455cce2cabb3c7fea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.4.2

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.3

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page