Skip to main content

Temperature Monitoring Daemon

Project description

=======================================
tempmon -- Temperature monitor daemon
=======================================

tempmon uses temperusb_ to read temperature value from TEMPer_ sensors
on the USB bus and OWM_ to find the local reported temperature and
publishes the results to `plot.ly`_

.. _temperusb: https://pypi-hypernode.com/pypi/temperusb
.. _TEMPer: 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/

Setup
=====

#. Sign up for a plot.ly account.
#. From your `plot.ly settings page`_, create one stream token per
sensor device
#. Install tempmon and its dependencies. A virtualenv works fine for
this.
#. Sign up for a OWM account and find your API key on `your settings
page <http://openweathermap.org/my>`__.
4. Create a configuration file using YAML syntax and containing at
least the basic plot.ly authentication data:

::

plotly:
username:
api-key:
stream-tokens:
- token1
- token2
weather:
api-key:
place: "City, State"

5. Run ``tempmon -c $CONFIG_FILENAME``. Add ``-v`` to see the log
output on the console for debugging.

Other Configuration Settings
============================

graph-title

The title of the graph defaults to "Temperature".

retention-period

The number of days for which data should be kept. tempmon uses this
value to compute the number of points to save based on the
``frequency``.

frequency

How often to collect data, in minutes. This value is approximately
how fast tempmon will poll the device. The minimum frequency is 1
minute.

units

The units to report the temperature in. Either ``celsius`` or
``fahrenheit``. Defaults to ``fahrenheit``.

.. _plot.ly settings page: https://plot.ly/settings/api

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tempmon-0.6.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

tempmon-0.6.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file tempmon-0.6.0.tar.gz.

File metadata

  • Download URL: tempmon-0.6.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tempmon-0.6.0.tar.gz
Algorithm Hash digest
SHA256 1fc23d99a06707b9e72758c8f85d1af7782c66044028d0857546e9f37118f6a8
MD5 c5b6e2ba9e9a3c66d467a37c3ca77adb
BLAKE2b-256 126fb04d45d7dff2ec13870c045011d674fed4461c7930ef1e6c33de15847e6b

See more details on using hashes here.

File details

Details for the file tempmon-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tempmon-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a56b865bc4b13a318edbac0c5185aad229422166032e0a698016a8b24c9eac75
MD5 619c13a9847b4af8153334c82755bbee
BLAKE2b-256 13d617b7a3a6eabd463ca9b31ce864b350f286c081b3dbd46eaa44ce32c312cf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page