Skip to main content

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.

Metadata

Release files for AnaviInfraredPhat 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AnaviInfraredPhat 0.0.11
File Size Uploaded
anaviinfraredphat-0.0.11.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for AnaviInfraredPhat 0.0.11
File Interpreter ABI Platform
AnaviInfraredPhat-0.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 18.0 kB

Release files / anaviinfraredphat-0.0.11.tar.gz

Download URL anaviinfraredphat-0.0.11.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
883e2829b198078da9bd7e5de96d05bcba3feffbdd88878ae3f44ffde1cbd743
BLAKE2b-256 checksum
How to use checksums
c8edffced242e05d087700bb7be69b9dddbff69c61a948ff0de3edf91c7d8821
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / AnaviInfraredPhat-0.0.11-py3-none-any.whl

Download URL AnaviInfraredPhat-0.0.11-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69784ff8144f27a451eaa62ea9a28cd2b90d0ff1748661f6c6fa5f5b92800236
BLAKE2b-256 checksum
How to use checksums
8765393bda4affc3cfaee7791195e3e44aead68c923408871442cc18948ed755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.0.11 This release

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page