Skip to main content

A python3 library to communicate with Mill

Project description

# pymill [![Build Status](https://travis-ci.org/Danielhiversen/pymill.svg?branch=master)](https://travis-ci.org/Danielhiversen/pymill)

Python3 library for Mill.
Based on https://pastebin.com/53Nk0wJA .


Control Mill heaters and get measured temperatures.



## Install
```
pip3 install millheater
```

## Example:

```python
import mill
mill_connection = mill.Mill('email@gmail.com', 'PASSWORD')
mill_connection.sync_connect()
mill_connection.sync_update_heaters()

heater = next(iter(mill_connection.heaters.values()))

mill_connection.sync_set_heater_temp(heater.device_id, 11)
mill_connection.sync_set_heater_control(heater.device_id, fan_status=0)

mill_connection.sync_close_connection()

```

The library is used as part of Home Assistant: [https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/climate/mill.py](https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/climate/mill.py)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

millheater-0.2.0.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file millheater-0.2.0.tar.gz.

File metadata

  • Download URL: millheater-0.2.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.5.6

File hashes

Hashes for millheater-0.2.0.tar.gz
Algorithm Hash digest
SHA256 967816e5677de94e57cb60ba911cf60d9bdd898e757127a4a826b837a24d501b
MD5 5b00cd50f2e2c986fa8953be0921d8db
BLAKE2b-256 10e76e8b5332c8b3a75649e6f2c2b9822391960e11bf9a40905d3ee67baaa85e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page