1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
# Python module for local access to Gen 3 Mill heaters
Python module for local access to the Gen 3 Mill Heaters using
the [local REST API over WiFi](https://github.com/Mill-International-AS/Generation_3_REST_API).
This python module is used to integrate Gen 3 Mill heaters into Home Assistant,
see Mill Integration [documentation](https://www.home-assistant.io/integrations/mill/)
and [source](https://github.com/home-assistant/core/tree/dev/homeassistant/components/mill).
## Implemented features
Not all REST API endpoints are available through this module.
These features are currently supported:
- read device information summary (`GET /status`)
- read detailed device state and control status (`GET /control-status`)
- set target temperature for Normal type (`POST /set-temperature`)
- set operation mode to `Control individually` and `Off` (`POST /operation-mode`)
## Install
```bash
pip install mill_local
```
## Contribution
### Install requirements
```bash
pip install -r requirements.txt
```
### Run tests
```bash
pip install -r requirements-test.txt
python -m pytest -v
# with logging to STDOUT
python -m pytest -v -p no:logging -s
```
|