Skip to content

rymsha/pymill

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pymill Build Status

Python3 library for Mill heater. The library uses the app API.

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 :)

Install

pip3 install millheater

Example:

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

About

Python library for Mill heater

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%