<commit_before># MiPlant #

A Python-library for reading cheap plant monitoring sensors manufactured by Xiaomi.


## Usage

```python
from miplant import MiPlant

for miplant in MiPlant.discover():
    print(miplant.temperature)
```

## Overview

The sensors read 4 values:

- temperature in degrees Celsius
- light level in lux
- moisture level in percent<commit_msg>Use `plant` instead of `miplant` in README.md example, to reduce confusion...<commit_after># MiPlant #

A Python-library for reading cheap plant monitoring sensors manufactured by Xiaomi.


## Usage

```python
from miplant import MiPlant

for plant in MiPlant.discover():
    print(plant.temperature)
```

## Overview

The sensors read 4 values:

- temperature in degrees Celsius
- light level in lux
- moisture level in percent
{'fraction_non_alphanumeric': 0.08165829145728644, 'fraction_numerical': 0.002512562814070352, 'mean_word_length': 4.348993288590604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6657630', 'n_tokens_mistral': 241, 'n_tokens_neox': 226, 'n_words': 93}