A Python module to control a FreshRoastSR700 coffee roaster.
Project description
A Python module to control a FreshRoastSR700 coffee roaster.
Usage
import time
import freshroastsr700
# Create a roaster object.
roaster = freshroastsr700.freshroastsr700()
# Conenct to the roaster.
roaster.connect()
# Set roasting variables.
roaster.heat_setting = 3
roaster.fan_speed = 9
roaster.time_remaining = 20
# Begin roasting.
roaster.roast()
# This ensures the example script does not end before the roast.
time.sleep(30)
# Disconnect from the roaster.
roaster.disconnect()
API & Documentation
Complete code documentation and a breakdown of the FreshroastSR700 communication protocol can be found at freshroastsr700.readthedocs.org. The Fresh Roast SR700 can be purchased directly from the manufacturer at homeroastingsupplies.com.
Installation
The latest release of this package can be installed by running:
pip install freshroastsr700
Version History
Version 0.2.0 - March 2017
Completely rewritten PID control for tighter tracking against target temperature (when freshroastsr700 is instantiated with thremostat=True).
Callback functions for update_data_func and state_transition_func now called from a thread belonging to the process that instantiated freshroastsr700. This was necessary for Openroast version 1.2 code refactoring.
Reduced processor load for PID control as part of code refactoring.
Version 0.1.1 - Dec 28 2017
Added support for python 2.7.
Version 0.1.0
(no notes)
License
MIT License. Please refer to LICENSE in this package for details.
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
Built Distribution
Hashes for freshroastsr700-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1a441d1541361076caaa3b3f4aca8c81ed357366cd1633a88320ae1c9a0ecce |
|
MD5 | b9ab92a1a5723b08b8a6ce12fb8df86d |
|
BLAKE2b-256 | ca1c50ca6c6ba4cd068ff1177159833200739841936d143e9940bcaf2991314f |