【文件属性】:
文件名称:anova.py:Python 3.6+模块可与Anova :man_medium_skin_tone:ous Sous-vide cooker:stopwatch:私有API交互
文件大小:22KB
文件格式:ZIP
更新时间:2021-05-23 00:34:19
home-automation anova sous-vide Python
它是什么?
使用Python 3.6模块与Anova专用API进行接口。
动机
API访问是我们未来要考虑的事情,并且我们正在研究人们希望与之交互的方式。
那是以前了。 这有点微调;)
如何使用它
import anova
cooker_id = 'anova xxx-xxxxxxxxxxx'
secret = 'xxxxxxxxxx'
cooker = anova . AnovaCooker ( cooker_id , secret )
# get status of the device. all methods return json:
print ( cooker . get_status ())
{
" status " : {
" cooker_id " : " anova xxx-xxxxxxxxxxx " ,
" current_temp
【文件预览】:
anova.py-master
----src()
--------anova.py(5KB)
----requirements.txt(14B)
----examples()
--------anova-watchdog(2KB)
--------anova-status(3KB)
--------index.html(1KB)
--------anova-stop(147B)
--------anova-repl(126B)
--------temperature_log.csv(50KB)
--------anova-silence(124B)
--------anova-print(124B)
----recipe-examples()
--------steak.py(277B)
--------turkeybreast.py(275B)
--------cheesecake.py(279B)
--------eggs.py(241B)
--------rabbit-braise.py(259B)
--------chickenbreast.py(281B)
--------egg-bites.py(261B)
--------fish.py(259B)
----setup.py(156B)
----.gitignore(1KB)
----readme.md(3KB)