Skip to main content

AnaviInfraredPhat

Project description

AnaviInfraredPhat

AnaviInfraredPhat as an application

Publishes temperature, pressure, humidity, luminosity and heat index from your Pi over 0MQ.

python3 -m AnaviInfraredPhat --verbose
2019-05-12 10:40:19.192 JST [   DEBUG] __init__ : Logging with global level DEBUG
2019-05-12 10:40:19.196 JST [   DEBUG] __init__ : Sysout logging with level DEBUG
2019-05-12 10:40:19.199 JST [   DEBUG] __init__ : Changing sysout format to logfile
2019-05-12 10:40:19.217 JST [   DEBUG] __init__ : Added TimedRotatingFileHandler to /var/logAnaviInfraredPhat.log with level DEBUG.
2019-05-12 10:40:19.228 JST [   DEBUG] __init__ : Log rotates every D and keeps 15 logs.
2019-05-12 10:40:19.233 JST [    INFO] __main__ : Starting
2019-05-12 10:40:20.093 JST [   DEBUG] __main__ : {"hi": null, "l": 63, "hi_cmt": "No concerns", "h": 42, "p": 1015, "t": 25.8}

AnaviInfraredPhat as a module

The module can be used from a different machine than the Raspberry Pi hosting the Anavi Infrared Phat.

It has a class for each sensor provided with the original Anavi Infrared Phat Kit.

  • BH1750
  • HTU21D
  • BMP180

As well as a class to emit IR codes.

Some more functions are available as example or boilerplate code:

  • report_tphl
  • report_tphl_average
  • report_tphl_as_text

Please refer to the code.

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

anaviinfraredphat-0.0.11.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

AnaviInfraredPhat-0.0.11-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file anaviinfraredphat-0.0.11.tar.gz.

File metadata

  • Download URL: anaviinfraredphat-0.0.11.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for anaviinfraredphat-0.0.11.tar.gz
Algorithm Hash digest
SHA256 883e2829b198078da9bd7e5de96d05bcba3feffbdd88878ae3f44ffde1cbd743
MD5 dddfb55c321447e486e3661de42093fc
BLAKE2b-256 c8edffced242e05d087700bb7be69b9dddbff69c61a948ff0de3edf91c7d8821

See more details on using hashes here.

File details

Details for the file AnaviInfraredPhat-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for AnaviInfraredPhat-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 69784ff8144f27a451eaa62ea9a28cd2b90d0ff1748661f6c6fa5f5b92800236
MD5 78dc68067806a6d401245c6a55595682
BLAKE2b-256 8765393bda4affc3cfaee7791195e3e44aead68c923408871442cc18948ed755

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