Support for many thermostats
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...
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
<?php
|
||||
//Total Connect info
|
||||
$username="";
|
||||
$password="";
|
||||
$device_number = "";
|
||||
//
|
||||
$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
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user