ricmik / pyMillLocal

Mill local access

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

This python module is used to integrate Gen 3 Mill heaters into Home Assistant, see Mill Integration documentation and source.

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

pip install mill_local

Contribution

Install requirements

pip install -r requirements.txt

Run tests

pip install -r requirements-test.txt
python -m pytest -v

# with logging to STDOUT
python -m pytest -v -p no:logging -s

About

Mill local access

License:MIT License


Languages

Language:Python 100.0%