Metadata-Version: 1.2
Name: millheater
Version: 0.2.1
Summary: A python3 library to communicate with Mill
Home-page: https://github.com/Danielhiversen/pymill
Author: Daniel Hoyer Iversen
Author-email: mail@dahoiv.net
License: MIT
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 and Postman capturing from the app.
        All requests are send unencrypted from the app :(
        
        Control Mill heaters and get measured temperatures.
        
        [Buy me a coffee :)](http://paypal.me/dahoiv)
        
        
        
        ## 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)
        
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Home Automation
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.5.3
