# Radio Thermostat CT-50 CT-80 Wi-Fi USNAP Module API

**URL:** <https://discourse.nodered.org/t/radio-thermostat-ct-50-ct-80-wi-fi-usnap-module-api/11643>\
**Category:** Share Your Projects\
**Created:** [28 May 2019 16:26 UTC](https://discourse.nodered.org/t/radio-thermostat-ct-50-ct-80-wi-fi-usnap-module-api/11643 "2019-05-28T16:26:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![NRdiscrs9393](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nrdiscrs9393/32/726_2.png) [@NRdiscrs9393](https://discourse.nodered.org/u/NRdiscrs9393)\
**Post date:** [28 May 2019 16:26 UTC](https://discourse.nodered.org/t/radio-thermostat-ct-50-ct-80-wi-fi-usnap-module-api/11643/1 "2019-05-28T16:26:47Z")

</div>

The Radio Thermostat API is an HTTP API that enables client programs to query the thermostat state, and to manage/control the thermostat operation. In the HTTP terminology, the thermostat will be a server that will respond to HTTP requests from client devices. The API is designed with a RESTful architecture in mind.

[https://www.radiothermostat.com/](https://www.radiothermostat.com/)

For sell at Amazon [https://www.amazon.com/gp/product/B00KQS35XA/](https://www.amazon.com/gp/product/B00KQS35XA/)

I've setup a flow with the name Upstairs at the common thread for location. My intent is for you to get the code and find/replace Upstairs with whatever location you wish. Once the text is updated, you should be able to import into a new flow. I have decided to operate all of the Set commands through openHAB and not Node Red; therefore, this flow will only capture the Thermostat data. I have included some injection nodes for testing.

Notes:  
I prefer to use links to operate common use items such as calls to/from other APIs and MQTT brokers in order to keep the number of calls to minimum. Therefore, there is a From MQTT broker and To MQTT Broker link that you may wish to update to a MQTT broker node. Additionally, I pull the outside temperature from OpenWeathermap that is pulled form another, Master, flow where all my APIs and Brokers are linked.

The flow has been updated since the original is attached.[RadioThermostatFlowV2.txt (99.5 KB)](https://discourse.nodered.org/uploads/short-url/t1hjX7zGMWcmvpGf3jJcWcc7Szh.txt)

Enjoy!!

 ![Capture](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/7cc672bea7a46ef08904a641b5a66e9511f0d2d8.png)

---

<div class="post-metadata">

**Author:** ![Randy](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Randy](https://discourse.nodered.org/u/Randy)\
**Post date:** [30 May 2019 02:04 UTC](https://discourse.nodered.org/t/radio-thermostat-ct-50-ct-80-wi-fi-usnap-module-api/11643/2 "2019-05-30T02:04:24Z")

</div>

Thanks!! I have a CT50 that I've been using for a couple of years. Anxious to see how it works.

---

<div class="post-metadata">

**Author:** ![NRdiscrs9393](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nrdiscrs9393/32/726_2.png) [@NRdiscrs9393](https://discourse.nodered.org/u/NRdiscrs9393)\
**Post date:** [3 June 2019 21:03 UTC](https://discourse.nodered.org/t/radio-thermostat-ct-50-ct-80-wi-fi-usnap-module-api/11643/3 "2019-06-03T21:03:20Z")

</div>

I've updated the flow to fix some errors I found while implementing in conjunction with openHAB

---

<div class="post-metadata">

**Author:** ![Mobile\_NR\_Env](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@Mobile\_NR\_Env](https://discourse.nodered.org/u/Mobile_NR_Env)\
**Post date:** [28 December 2019 11:51 UTC](https://discourse.nodered.org/t/radio-thermostat-ct-50-ct-80-wi-fi-usnap-module-api/11643/4 "2019-12-28T11:51:36Z")

</div>

Looking good! Will have a play with my CT80

---

<div class="post-metadata">

**Author:** ![hahnhell](https://avatars.discourse-cdn.com/v4/letter/h/e9bcb4/32.png) [@hahnhell](https://discourse.nodered.org/u/hahnhell)\
**Post date:** [4 February 2020 01:16 UTC](https://discourse.nodered.org/t/radio-thermostat-ct-50-ct-80-wi-fi-usnap-module-api/11643/5 "2020-02-04T01:16:16Z")

</div>

Hey there, I know this is a bit of a stale topic, but I was wondering if OP could share a .items and .things file from OpenHAB?

I've started integrating this, but it would save a ton of time if I could get your files to just add to mine.

Thanks!

---

<div class="post-metadata">

**Author:** ![github768484](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/github768484/32/726_2.png) [@github768484](https://discourse.nodered.org/u/github768484)\
**Post date:** [6 February 2020 20:44 UTC](https://discourse.nodered.org/t/radio-thermostat-ct-50-ct-80-wi-fi-usnap-module-api/11643/6 "2020-02-06T20:44:33Z")

</div>

Yes.

I've attached an updated flow. [RadioThermostatFlowV3.txt](https://discourse.nodered.org/uploads/short-url/pHYJbD7AjtIzUQnKWRTdehSnqqr.txt) (101.9 KB)

Here's what I did. There are multiple ways to achieve this.

While in Paper UI, create a new "Generic MQTT Thing" named HVAC. Then create a "Number" Channel with MQTT state topic set to "HVAC/Upstairs/Temp" and MQTT command topic set to "HVAC/Upstairs/SetTemp". Repeat for whatever else you want to add to OH.

Notes:

- I use a flow named "Injection Master" that handles all my communications in and out of Node Red. i.e. MQTT, email, and other APIs. Therefore, you will see "Link Nodes" where the MQTT would normally be. I do this to keep the number of calls and puts down.
- I've added "Comment Nodes" for notes in this flow. You'll see _MQTT command topics_ and _MQTT state topics_ for OH integration.

---

<div class="post-metadata">

**Author:** ![aldunlop](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aldunlop/32/73718_2.png) [@aldunlop](https://discourse.nodered.org/u/aldunlop)\
**Post date:** [3 January 2023 20:11 UTC](https://discourse.nodered.org/t/radio-thermostat-ct-50-ct-80-wi-fi-usnap-module-api/11643/7 "2023-01-03T20:11:56Z")

</div>

This thread is a bit stale, but RadioThermostat recently announced termination of their web service effective in May 2023. Is anyone thinking of alternatives for web access via the API?

---

<div class="post-metadata">

**Author:** ![NRdiscrs9393](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nrdiscrs9393/32/726_2.png) [@NRdiscrs9393](https://discourse.nodered.org/u/NRdiscrs9393)\
**Post date:** [3 January 2023 23:50 UTC](https://discourse.nodered.org/t/radio-thermostat-ct-50-ct-80-wi-fi-usnap-module-api/11643/8 "2023-01-03T23:50:16Z")

</div>

I've switched to [https://venstar.com/](https://venstar.com/)
