Skip to main content
===
python thermometers
===

idea: read data from various thermometers

reality: we have one dallas 18s20 connected via 1wire what is mostly used on RaspberryPi

PULL REQUEST FOR ANOTHER DEVICES ARE WELCOME

supported logger
----------------

'thermometer.d18s20.w1' write data from thermometer to logger as list of values, this allow to use i.e. fluent for
store data into graphite or another type of data storage.


instalation
------------
```
pip install thermometer

```

basic usage
-----------
measured values are in degrees of Celsius

```
>>> from thermometer.dallas_18s20 import w1
>>> w = w1.dallas_18s20()
>>> w.get_temps_aliases()
[('870155007fff0c108a', 24.437), ('080255007fff0c10a5', 32.5)]

```


alias usage
-----------
measured values are in degrees of Celsius

```
>>> from thermometer.dallas_18s20 import w1
>>> w = w1.dallas_18s20()
>>> w.alias('870155007fff0c108a', 'temp1')
>>> w.get_temps_aliases()
[('temp1', 24.437), ('080255007fff0c10a5', 32.5)]

```

Note about Dallas 18S20 and 18B20
---------------------------------

during development I found out there are two Dallas thermometers 18S20 and 18B20
- *DS18S20* High-Precision 1-Wire Digital Thermometer, 10.000010EF0000
- *DS18B20* Programmable Resolution 1-Wire Digital Thermometer, 28.000028D70000


so far name was badly chosen, for 18s20 it was wrong, regarding historical instalations I decide to let it be.
Interesting resource about 1Wire devices: http://owfs.sourceforge.net/adapters/patch.html

Metadata

Release files for thermometer 0.1.9

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

Source distribution (sdist)

Source distribution for thermometer 0.1.9
File Size Uploaded
thermometer-0.1.9.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for thermometer 0.1.9
File Interpreter ABI Platform
thermometer-0.1.9-py2-none-any.whl Python 2 none any Details

Total release size: 7.4 kB

Release files / thermometer-0.1.9.tar.gz

Download URL thermometer-0.1.9.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f5f8d6b804925e37bbc8c3e6cfb78c4c22b15eedbcc0cec5a290a0dcbed4756f
BLAKE2b-256 checksum
How to use checksums
899ed18b5af7ff8f339e0122ea459fb2f35ed67174eb8a922410b150ebf0c27a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / thermometer-0.1.9-py2-none-any.whl

Download URL thermometer-0.1.9-py2-none-any.whl
Size 4.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
0301991d3f856759ce998248e8fd76fdbe1d9076a0885a6dc412f05eecd05e05
BLAKE2b-256 checksum
How to use checksums
51ef40d6618e9aba277cf9b72a57015b44c431a777374c8472622714fc4f3b4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

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