Uses the device ID to support several thermostats. Pretty simple - only setup is now an array of devices, now a single device. However, many changes follow...
12 lines
516 B
Plaintext
12 lines
516 B
Plaintext
<?php
|
|
//Total Connect info
|
|
//
|
|
$username="user@whatever.com"; // username as used with Honeywell
|
|
$password="mypassword"; // password as used with Honeywell
|
|
|
|
// device array - cannot be zero entries
|
|
|
|
$device_array = array("1234567","1234568","1234569 "); // from https://mytotalconnectcomfort.com/portal/Device/Control/[devicenumber to use here]?[ignore all that follows]
|
|
$device_name_array = array("Kitchen","Dining","Upstairs"); // we could probably pull the names from the page but easier this way
|
|
|
|
?> |