Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

A Python 3 library that allows control of connected [NuHeat Signature](http://www.nuheat.com/products/thermostats/signature-thermostat) radiant floor thermostats.

This also supports the **Mapei MapeHeat** line of smart thermostats.
This also supports the **Mapei MapeHeat** and **Emerson Warm Tiles** line of smart thermostats.

* This uses the web-based NuHeat API, so it requires an external internet connection
* The API in use is not an officially published API, so it could change without notice
Expand All @@ -30,7 +30,7 @@ from nuheat import NuHeat
api = NuHeat("email@example.com", "your-secure-password")
api.authenticate()

# Initialize an API session for a specific brand
# Initialize an API session for a specific brand (Current choices are NUHEAT, MAPEHEAT and WARMTILES)
Comment thread
broox marked this conversation as resolved.
api = NuHeat("email@example.com", "your-secure-password", brand="MAPEHEAT")
api.authenticate()

Expand Down
4 changes: 3 additions & 1 deletion nuheat/config.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
NUHEAT = "NUHEAT"
MAPEHEAT = "MAPEHEAT"
BRANDS = (NUHEAT, MAPEHEAT)
WARMTILES = "WARMTITLES"
Comment thread
keithnet marked this conversation as resolved.
Outdated
BRANDS = (NUHEAT, MAPEHEAT, WARMTILES)
HOSTNAMES = {
NUHEAT: "mynuheat.com",
MAPEHEAT: "mymapeheat.com",
WARMTILES: "warmtiles.mythermostat.info",
}

# NuHeat Schedule Modes
Expand Down
1 change: 1 addition & 0 deletions tests/test_nuheat.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class TestNuHeat(NuTestCase):
("NUHEAT", "mynuheat.com"),
("BAD-BRAND", "mynuheat.com"),
("MAPEHEAT", "mymapeheat.com"),
("WARMTILES", "warmtiles.mythermostat.info"),
])
def test_brands(self, brand, hostname):
api = NuHeat("test@example.com", "secure-password", brand=brand)
Expand Down
1 change: 1 addition & 0 deletions tests/test_thermostat.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def test_init(self, _):
("NUHEAT", "mynuheat.com"),
("BAD-BRAND", "mynuheat.com"),
("MAPEHEAT", "mymapeheat.com"),
("WARMTILES", "warmtiles.mythermostat.info"),
])
@patch("nuheat.NuHeatThermostat.get_data")
def test_brand_urls(self, brand, hostname, _):
Expand Down