温度监视守护程序
tempmon的Python项目详细描述
目前,仍有待于====
tempmon——温度监测守护程序
=======================================================================
====================================================================================================.ly`
…_ temperusb:https://pypi.python.org/pypi/temperusb
。_脾气:http://www.amazon.com/gp/product/b002va813u/ref=as_li_tl?ie=utf8&camp=1789&creative=390957&creativeasin=b002va813u&linkcode=as2&tag=hellflynet-20&linkid=vhdxez2qb74bxbm5
。_ plot.ly:https://plot.ly
_ OWM:http://openweathermap.org/
设置
==
。注册plot.ly帐户。在“plot.ly设置页”中,为每个传感器设备创建一个流令牌。安装tempmon及其依赖项。一个virtualenv可以很好地解决这个问题。注册一个owm帐户,并在“your settings
page<;http://openweathermap.org/my>;``uuu.
4上找到您的api密钥。使用yaml语法创建一个配置文件,其中至少包含基本的plot.ly身份验证数据:
::
plotly:
用户名:
api密钥:
流令牌:
-token1
-token2
天气:
api密钥:
位置:“city,状态“
5.运行“tempmon-c$config\u filename”。添加`-v``以查看控制台上的日志
输出以进行调试。
其他配置设置
=======
graph title
graph title默认为“温度”。
retention period
tempmon使用此
值根据
``频率`.
频率
收集数据的频率(分钟)计算要保存的点数。这个值大约是
TEMPMON将如何快速查询该设备。最小频率为1
分钟。
units
要么是摄氏度,要么是华氏度。默认为“华氏度”。
…_ plot.ly设置页面:https://plot.ly/settings/api
tempmon——温度监测守护程序
=======================================================================
====================================================================================================.ly`
…_ temperusb:https://pypi.python.org/pypi/temperusb
。_脾气:http://www.amazon.com/gp/product/b002va813u/ref=as_li_tl?ie=utf8&camp=1789&creative=390957&creativeasin=b002va813u&linkcode=as2&tag=hellflynet-20&linkid=vhdxez2qb74bxbm5
。_ plot.ly:https://plot.ly
_ OWM:http://openweathermap.org/
设置
==
。注册plot.ly帐户。在“plot.ly设置页”中,为每个传感器设备创建一个流令牌。安装tempmon及其依赖项。一个virtualenv可以很好地解决这个问题。注册一个owm帐户,并在“your settings
page<;http://openweathermap.org/my>;``uuu.
4上找到您的api密钥。使用yaml语法创建一个配置文件,其中至少包含基本的plot.ly身份验证数据:
::
plotly:
用户名:
api密钥:
流令牌:
-token1
-token2
天气:
api密钥:
位置:“city,状态“
5.运行“tempmon-c$config\u filename”。添加`-v``以查看控制台上的日志
输出以进行调试。
其他配置设置
=======
graph title
graph title默认为“温度”。
retention period
tempmon使用此
值根据
``频率`.
频率
收集数据的频率(分钟)计算要保存的点数。这个值大约是
TEMPMON将如何快速查询该设备。最小频率为1
分钟。
units
要么是摄氏度,要么是华氏度。默认为“华氏度”。
…_ plot.ly设置页面:https://plot.ly/settings/api