# Wifi Thermostat question

**URL:** <https://discourse.nodered.org/t/wifi-thermostat-question/19122>\
**Category:** General\
**Created:** [13 December 2019 19:18 UTC](https://discourse.nodered.org/t/wifi-thermostat-question/19122 "2019-12-13T19:18:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cormad](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cormad/32/3230_2.png) [@Cormad](https://discourse.nodered.org/u/Cormad)\
**Post date:** [13 December 2019 19:18 UTC](https://discourse.nodered.org/t/wifi-thermostat-question/19122/1 "2019-12-13T19:18:24Z")

</div>

Hey All,  
Revived my Nodered as I have a requirement that this could assist. I just installed a VisionPro 8000 WIFI Thermostat. I would like to trend the room temperature and found the following Node  
node-red-contrib-tcc-honeywell

Trying to figure out how to;

1. confirm the API is working ?
2. Try and pull all the data
3. Just pull the room temperature

To start I just used an injection and debug node.  
If someone is really interested in testing I could share my login information. I have plans to deploy in Nunavut.  
Jeff

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [13 December 2019 19:21 UTC](https://discourse.nodered.org/t/wifi-thermostat-question/19122/2 "2019-12-13T19:21:02Z")

</div>

Can you connect to the thermostat?

---

<div class="post-metadata">

**Author:** ![Cormad](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cormad/32/3230_2.png) [@Cormad](https://discourse.nodered.org/u/Cormad)\
**Post date:** [13 December 2019 19:22 UTC](https://discourse.nodered.org/t/wifi-thermostat-question/19122/3 "2019-12-13T19:22:44Z")

</div>

Yes, I can see it on [https://www.mytotalconnectcomfort.com/](https://www.mytotalconnectcomfort.com/) and on the app

---

<div class="post-metadata">

**Author:** ![Cormad](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cormad/32/3230_2.png) [@Cormad](https://discourse.nodered.org/u/Cormad)\
**Post date:** [16 December 2019 12:47 UTC](https://discourse.nodered.org/t/wifi-thermostat-question/19122/4 "2019-12-16T12:47:25Z")

</div>

Anyone ??

---

<div class="post-metadata">

**Author:** ![Cormad](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cormad/32/3230_2.png) [@Cormad](https://discourse.nodered.org/u/Cormad)\
**Post date:** [16 December 2019 16:26 UTC](https://discourse.nodered.org/t/wifi-thermostat-question/19122/5 "2019-12-16T16:26:26Z")

</div>

Can I do this with a "GET" command ? The webpage is HTTPS.

Just looking for a bit of direction / guidance.

Thanks

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [16 December 2019 17:11 UTC](https://discourse.nodered.org/t/wifi-thermostat-question/19122/6 "2019-12-16T17:11:15Z")

</div>

You speak of a "honeywell" node, then you state some website and ask about http.

What are you looking for ? Do you have the honeywell node installed?

> To start I just used an injection and debug node.

Did it work ?

Comment at the honeywell node:

> Interface for Honeywell Legacy Thermostats Node for Node-Red. Pulls data from the Honeywell TCC (Total Connect Comfort) API, which appears to be mostly undocumented now.

Doesn't sound promising.

---

<div class="post-metadata">

**Author:** ![Cormad](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cormad/32/3230_2.png) [@Cormad](https://discourse.nodered.org/u/Cormad)\
**Post date:** [16 December 2019 17:17 UTC](https://discourse.nodered.org/t/wifi-thermostat-question/19122/7 "2019-12-16T17:17:30Z")

</div>

Yes, I have the Honeywell Node installed, I've inputted my login, password and device ID. I'm will to share my credentials privately if someone is willing to assist. Nothing seems to happen (no output in the debug node).

Plan B was to try and grab it from the web page. I'm a bit over my head but this would really impress my employer adn team I work with.  
Thanks

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [16 December 2019 18:17 UTC](https://discourse.nodered.org/t/wifi-thermostat-question/19122/8 "2019-12-16T18:17:50Z")

</div>

> [@Cormad](#):
>
> Can I do this with a "GET" command ? The webpage is HTTPS.

Hi Jeff,  
In the code of that _node-red-contrib-tcc-honeywell_ node, you can see [here](https://github.com/theminor/node-red-contrib-tcc-honeywell/blob/master/node-tcc-honeywell.js#L36) that it does a series of http requests after each other to get the job done:

```auto
var tccLogin = function(node, callback) {
	tccRequest(node, hdrs.getDefaults(node), 'TCC Login first GET', ConnectSuccess, function(node) {
		tccRequest(node, hdrs.postDefaults(node), 'TCC Login POST', PostSuccess, function(node) {
			tccRequest(node, hdrs.getDefaults(node), 'TCC Login second GET', ConnectSuccess, function(node) {
				callback(node);
			});
		});
	});
};

```

And for each of those requests you can find in this [file](https://github.com/theminor/node-red-contrib-tcc-honeywell/blob/master/requestHeaders.js) how the request is made. For example the above `getDetails` call:

```auto
module.exports.getDefaults = function(node) {
	return {
		method: "GET",
		url: "https://mytotalconnectcomfort.com/portal/",
		timeout: 15000,
		strictSSL: false,
		jar: node.jar,
		headers: {
			"Content-Type": "application/x-www-form-urlencoded",
			"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
			"Accept-Encoding": "sdch",
			"Host": "mytotalconnectcomfort.com",
			"DNT": "1",
			"Origin": "https://mytotalconnectcomfort.com/portal",
			"User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36"
		}
	}
};

```

So for this one, it executes a GET to that url and applies those http header variables. I assume you can do something similar with the http-request node if you don't want to use that node?

But to me it seems that is better to try to contact the author of that node. He has already figured out how it works ...

Good luck with it!  
Bart

---

<div class="post-metadata">

**Author:** ![Cormad](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cormad/32/3230_2.png) [@Cormad](https://discourse.nodered.org/u/Cormad)\
**Post date:** [16 December 2019 18:40 UTC](https://discourse.nodered.org/t/wifi-thermostat-question/19122/9 "2019-12-16T18:40:11Z")

</div>

Thanks Bart,

Can't seem to figure out how to contact the Author.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [16 December 2019 18:57 UTC](https://discourse.nodered.org/t/wifi-thermostat-question/19122/10 "2019-12-16T18:57:20Z")

</div>

> [@Cormad](#):
>
> Can't seem to figure out how to contact the Author.

You can create a new issue at this [link](https://github.com/theminor/node-red-contrib-tcc-honeywell/issues), and explain your problem. But I see that the guy hasn't been active since july on Github, so hopefully he will respond soon ...

---

<div class="post-metadata">

**Author:** ![Cormad](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cormad/32/3230_2.png) [@Cormad](https://discourse.nodered.org/u/Cormad)\
**Post date:** [16 December 2019 20:19 UTC](https://discourse.nodered.org/t/wifi-thermostat-question/19122/11 "2019-12-16T20:19:37Z")

</div>

Ok, I am sharing my flow and will change password when operational. I'm getting close :). If I click the inject node twice I do get a connection and object. I'm trying to figure out how to isolate  
payload.latestData.uiData.DispTemperature

and figure out the two click issue

\*\*\* Resolved\*\*\*
