This is a library for communicating with a wifi-enabled home thermostat made by Warmup. At the time of writing, this only includes the warmup 4IE.
This code is inspired by a project for SmartThingsHub, see here. Many Thanks to alyc100 for the great work!
Warmup Plc was not involved in the creation of this software and has not sanctioned or endorsed it in any way. 4IE is a registered trademark of Warmup Plc.
This software is available under Apache license. Please see LICENSE.txt.
The library is primary intended to interface the 4IE with home assistant, but may also be used standalone.
To setup this component, you need to register to warmup first. see https://my.warmup.com/login
Then copy the contents of the warmup subfolder into custom_components in your HA config folder, e.g.:
cd path/to/your/config
git clone https://github.com/ha-warmup/warmup.git /tmp/warmup
# remove any previous version
rm -r ./custom_components/warmup 2>/dev/null
mkdir -p ./custom_components/warmup
cp -r /tmp/warmup/warmup/* ./custom_components/warmup
# clean up
rm -rf /tmp/warmup/
NB: Previous versions of these instructions stated to use warmup_cc however this is now simply warmup
Then add to your configuration.yaml:
climate:
- platform: warmup
username: YOUR_E_MAIL_ADDRESS
password: YOUR_PASSWORD
- username (required): the username used to login to the warmup web site
- password (required): the password used to login to the warmup web site; may be moved to the secrets.yaml file. See secrets
After restarting home assistant, the component will be loaded automatically.
You may install the library via pip using
>>> pip install warmup4ie
After that, import the library, and away we go.
>>> import warmup4ie >>> warmup = warmup4ie.Warmup4IE('<e-mail>', '<password>', >>> warmup.get_all_devices() >>> device = warmup.get_device_by_name("Underfloor") >>> device.get_current_temperature()
Supported models:
- 4IE
Since I only have access to the 4IE, that is the model that the development has occured with.
At the moment the library supports reading current temperature, target temperature plus other values from the thermostat and setting the target temperature, switching between manual, automatic and frost protection mode, switching the device off. and setting a temporary override.
- inital release
- bug fixes
- bug fixes
- changed http-request to use the new api.
- adapted file names to comply with the new naming structure of HA introduced with 0.92
- added functionality to allow configuration of Warmup4IE thermostat via HA UI Config entry.
- added getter methods for location, location id, room name, room id and serial number
- Changed so that multiple devices are updated in a single HTTP request
- Added Set Override method
- Added access to the following information from the thermostat
- target_temperature_low
- target_temperature_high
- floor_temperature
- floor_temperature_2
- air_temperature
- away_temperature
- comfort_temperature
- cost
- energy
- fixed_temperature
- override_temperature
- override_duration
- sleep_temperature
- override_duration_mins