Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danielhiversen/pymilllocal
Mill local access
https://github.com/danielhiversen/pymilllocal
Last synced: about 1 month ago
JSON representation
Mill local access
- Host: GitHub
- URL: https://github.com/danielhiversen/pymilllocal
- Owner: Danielhiversen
- License: mit
- Created: 2021-11-02T17:41:36.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-11T16:15:28.000Z (10 months ago)
- Last Synced: 2024-11-08T09:54:08.367Z (about 2 months ago)
- Language: Python
- Size: 65.4 KB
- Stars: 6
- Watchers: 6
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 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
```