The Vera Community forums have moved!

General => Temperature Monitoring & HVAC Control => Topic started by: ASIHome on August 24, 2009, 01:59:08 pm

Title: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: ASIHome on August 24, 2009, 01:59:08 pm
Well sort of. A few posters were asking about different things that you can do/control via Z-Wave with the Schlage (Trane) thermostat and I assume the RCS as well. While I can't go into detail, below is a list of things that I have been able to control and/or get status of.

Status Only

LCD Contrast (Numeric Value)
Internal Sensor Calibration Offset Setting (Numeric Value)
Filter Service Reminder (On/Off)
Maintenance Service Reminder (On/Off)
Recovery (Enabled/Disabled)

Controllables

Hold (On, Off - Run Mode and Off - ESM Mode)
Fan (On, Auto and Cycle)
Mode (Heat, Cool, Off and Auto)
Energy Save (Save, Normal)
Cool Set Point (Normal and ESM)
Heat Set Point (Normal and ESM)
Schedule (On and Off)
Display Lock (On and Off)
System Type (Gas/Elec. and Heatpump)
Fan Type (Gas and Elec.)
Changeover Type (w/Heat and w/Cool)
Temperature Scale (F and C)
Minimum OFF Time (Numeric Value)
Minimum RUN Time (Numeric Value)
Service Mode (On and Off)
Fan Cycler ON Time (Numeric Value)
Fan Cycler OFF Time (Numeric Value)
2nd Stage Heat (Enable and Disable)
AUX Heat (Enable and Disable)
2nd Stage Cool (Enable and Disable)
Maximum Heat Set Point (Numeric Value)
Minimum Cool Set Point (Numeric Value)
Backlight Timeout (Numeric Value)
Set Filter RUN Time (Numeric Value, will override interally tracked number)
Set Filter Servie Interval (Numeric Value)
Set Heating RUN Time (Numeric Value, will override interally tracked number)
Set Cooling RUN Time (Numeric Value, will override interally tracked number)
Set Maintenance Servie Interval (Numeric Value)

Those are all the ones that I have come across.

Enjoy!
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: LibraSun on August 24, 2009, 02:49:40 pm
Thanks for sharing what you could, ASIHome.  It's so intriguing to "see behind the scenes" what's possible with such a simple device!!

I wonder if it would make sense for MCV or other Z-Wave developers/users to lay their hands on the technical documentation for these unseen "features"?

Surely, we're talking about nothing more than a series of Parameter #'s and a corresponding set of values/ranges they can accept...

...Someone's bound to begin tinkering by going through the list, one by one.
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: ubiquityman on August 25, 2009, 10:17:47 pm
ASIHome,

You (or someone) should put this in the Wiki.
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: guessed on August 26, 2009, 12:21:06 am
Given the Trane device's heritage, it likely follows a lot of the same variables as described at the end of the TZ43 manual:

http://resconsys.com/docs/thermostats/zwave/TZ43%20INSTALLATION%20MANUAL%20141-01652-04.pdf

Not all of what ASIHome posted is listed there, but quite a number of them are.  It would be interesting to "map the holes" in the variables listed, and match these against ASIHome's list (5-8, 22-24, 26-68 & 70-74)
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: ASIHome on August 26, 2009, 08:31:20 am
Given the Trane device's heritage, it likely follows a lot of the same variables as described at the end of the TZ43 manual:

http://resconsys.com/docs/thermostats/zwave/TZ43%20INSTALLATION%20MANUAL%20141-01652-04.pdf

Not all of what ASIHome posted is listed there, but quite a number of them are.  It would be interesting to "map the holes" in the variables listed, and match these against ASIHome's list (5-8, 22-24, 26-68 & 70-74)

Correct, I did not put the Deltas in as in most cases, you would never want to make those available remotely or even mess with then unless you had a background in HVAC systems.
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: Sig on September 11, 2009, 05:47:09 pm
I would be most grateful if you could tell me how to control "Hold" through Vera - this would solve so many problems for me, being able to switch between "Run" and "ESM" mode.  Care to share???

Well sort of. A few posters were asking about different things that you can do/control via Z-Wave with the Schlage (Trane) thermostat and I assume the RCS as well. While I can't go into detail, below is a list of things that I have been able to control and/or get status of.

Status Only

LCD Contrast (Numeric Value)
Internal Sensor Calibration Offset Setting (Numeric Value)
Filter Service Reminder (On/Off)
Maintenance Service Reminder (On/Off)
Recovery (Enabled/Disabled)

Controllables

Hold (On, Off - Run Mode and Off - ESM Mode)
Fan (On, Auto and Cycle)
Mode (Heat, Cool, Off and Auto)
Energy Save (Save, Normal)
Cool Set Point (Normal and ESM)
Heat Set Point (Normal and ESM)
Schedule (On and Off)
Display Lock (On and Off)
System Type (Gas/Elec. and Heatpump)
Fan Type (Gas and Elec.)
Changeover Type (w/Heat and w/Cool)
Temperature Scale (F and C)
Minimum OFF Time (Numeric Value)
Minimum RUN Time (Numeric Value)
Service Mode (On and Off)
Fan Cycler ON Time (Numeric Value)
Fan Cycler OFF Time (Numeric Value)
2nd Stage Heat (Enable and Disable)
AUX Heat (Enable and Disable)
2nd Stage Cool (Enable and Disable)
Maximum Heat Set Point (Numeric Value)
Minimum Cool Set Point (Numeric Value)
Backlight Timeout (Numeric Value)
Set Filter RUN Time (Numeric Value, will override interally tracked number)
Set Filter Servie Interval (Numeric Value)
Set Heating RUN Time (Numeric Value, will override interally tracked number)
Set Cooling RUN Time (Numeric Value, will override interally tracked number)
Set Maintenance Servie Interval (Numeric Value)

Those are all the ones that I have come across.

Enjoy!
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: ASIHome on September 14, 2009, 08:37:34 am
You can actually switch between Run and ESM by sending a basic ON or OFF just like the Wayne Dalton WDTC-20. Hold is a completely different mode that tells the thermostat to ignore all scheduled set points and just go by what the current set points are.
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: LibraSun on September 14, 2009, 04:07:32 pm
Thanks for the much-needed clarification, ASIHome.
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: Sig on September 14, 2009, 07:00:24 pm
ASIHome, sorry, but that confuses me.  When I send a basic Off or Auto command, it either turns the thermostat off completely, or with Auto, returns to the mode it was at before I turned it off (_either_ ESM or RUN).  Is that what you meant? 

The real question is what command can be used to switch between ESM and RUN (both being "on" but different modes).
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: ASIHome on September 15, 2009, 09:01:20 am
ASIHome, sorry, but that confuses me.  When I send a basic Off or Auto command, it either turns the thermostat off completely, or with Auto, returns to the mode it was at before I turned it off (_either_ ESM or RUN).  Is that what you meant? 

The real question is what command can be used to switch between ESM and RUN (both being "on" but different modes).

I apologize for the confusion, I am not referring to the Mode Off or Auto, I am referring to the basic z-wave command On or Off like you would send to a dimmer/switch.
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: zmistro on September 15, 2009, 04:27:48 pm
do you have a sample of the code.
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: Sig on November 12, 2009, 04:57:13 pm
Finally took the time to figure this out - extremely cool!  For anyone who might need this, just send a simple device on command to your Trane Thermostat to switch into normal "RUN" schedule mode, or send a device OFF command to switch in to ESM schedule (which is basically a preset "hold" for both cool and heat setpoints).  

Example for device on (i.e. RUN schedule):
luup.call_action("urn:upnp-org:serviceId:SwitchPower1","SetTarget",{ newTargetValue="1" },5)

Example for device off (i.e. ESM):
luup.call_action("urn:upnp-org:serviceId:SwitchPower1","SetTarget",{ newTargetValue="0" },5)

As mentioned earlier in this thread, I use ESM to keep my thermostat set in my weekend home when it's not occupied (but not wanting to completely shut it down), and I switch into the normal schedule mode when I'm there.  Now I can have Vera do this for me (and my guests) without ever having to use the thermostat control panel itself.  Brilliant!

I know this code does the trick, so now I'm going to try using the new "ADVANCED" button in the scene forms since it shows a SwitchPower1 service for the Thermostat.  My only concern using this is that when I tried to use the Advanced button to add a delay to a scene I had assigned to one of my 4-button Leviton scene controllers, the scene controller wouldn't configure, so I had to end up removing the delay to get it to work.  I'm hoping adding this SwitchPower1 SetTarget function doesn't kluge up the scene controller again.

In any case, thanks ASI Home for pointing me in the right direction.
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: aecchalet on May 22, 2011, 10:19:35 am
luup.call_action("urn:upnp-org:serviceId:SwitchPower1","SetTarget",{ newTargetValue="1" },5)
Does the "5" at the end of this command stand for the thermostat ID#?
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: oTi@ on May 22, 2011, 12:17:26 pm
Does the "5" at the end of this command stand for the thermostat ID#?
Yup; the device number.
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: vera_nc on June 19, 2011, 08:56:41 pm
@Asihome: I noticed on my Trane, there is a EHeat mode shown on the screen along with the Heat, Cool, Off and Auto modes.  I need this mode to lockout the compressor when the outdoor temp. drops below 35F in order to only use the Gas Heat on the Dual-Fuel system.  I didn't see that in your options although given the age of the post, this may not have been an option when this topic was originally posted...
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: RastusB2 on July 08, 2011, 11:27:01 pm
I have a AWAY scene and a HOME scene, both, which control a virtual switch.
The EVENT is a "certain PIN" code is entered in the Schlage door lock
If the Home scene turns the Virtual switch to "ON", the TRANE thermostat will receive an "ON" - Normal, Mode, command.
If the AWAY scene turns the Virtual switch to "OFF", the TRANE thermostat will receive an "OFF" - EMS, Mode, command.

local Virtual - EMS=53
local Virtual - EMS= luup.variable_get("urn:upnp-org:serviceId:SwitchPower1", "Status", EMS)
if (EMSStatus == "1") then
    return false
end
return true


I have the "NORMAL" mode-fan, set to "ON", and I am trying to "CHANGE" the ESM mode-fan, to Auto, using LuuP code.
Can this be done??

Also, how soon after the PIN code is entered and the EMS virtual switch turns on / off, will it take for the Trane thermostat to change modes? or do I need to add more LUUP code to check the virtual switch more often?
Right now, , I have -4- scenes a day and it looks like it is changing at the start of a new scene.
The Trane has a setting to POLL every 60 seconds.
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: RastusB2 on July 09, 2011, 07:46:55 pm
Well sort of. A few posters were asking about different things that you can do/control via Z-Wave with the Schlage (Trane) thermostat and I assume the RCS as well. While I can't go into detail, below is a list of things that I have been able to control and/or get status of.

Status Only

LCD Contrast (Numeric Value)
Internal Sensor Calibration Offset Setting (Numeric Value)
Filter Service Reminder (On/Off)
Maintenance Service Reminder (On/Off)
Recovery (Enabled/Disabled)

Controllables

Hold (On, Off - Run Mode and Off - ESM Mode)
Fan (On, Auto and Cycle)
Mode (Heat, Cool, Off and Auto)
Energy Save (Save, Normal)
Cool Set Point (Normal and ESM)
Heat Set Point (Normal and ESM)
Schedule (On and Off)
Display Lock (On and Off)
System Type (Gas/Elec. and Heatpump)
Fan Type (Gas and Elec.)
Changeover Type (w/Heat and w/Cool)
Temperature Scale (F and C)
Minimum OFF Time (Numeric Value)
Minimum RUN Time (Numeric Value)
Service Mode (On and Off)
Fan Cycler ON Time (Numeric Value)
Fan Cycler OFF Time (Numeric Value)
2nd Stage Heat (Enable and Disable)
AUX Heat (Enable and Disable)
2nd Stage Cool (Enable and Disable)
Maximum Heat Set Point (Numeric Value)
Minimum Cool Set Point (Numeric Value)
Backlight Timeout (Numeric Value)
Set Filter RUN Time (Numeric Value, will override interally tracked number)
Set Filter Servie Interval (Numeric Value)
Set Heating RUN Time (Numeric Value, will override interally tracked number)
Set Cooling RUN Time (Numeric Value, will override interally tracked number)
Set Maintenance Servie Interval (Numeric Value)

Those are all the ones that I have come across.

Enjoy!

Thanks for the heads up and I would like to ask if it is possible to also change the fan by LUUP code,  when in NORMAL = on, When in ESM mode = AUTO
I have read in these posts that the TRANE will accept "On, Auto,* Cycle" but I'm not sure about how to write the code for changing the FAN mode.
Such as::


luup.call_action("urn:upnp-org:serviceId:HVAC_FanOperatingMode1","SetMode",{ NewMode"ContinuousOn" },53)

luup.call_action("urn:upnp-org:serviceId:HVAC_FanOperatingMode1","SetMode",{ NewMode"Auto" },53)

luup.call_action("urn:upnp-org:serviceId:HVAC_FanOperatingMode1","SetMode",{ NewMode"ContinuousOn" },53)

luup.call_action("urn:upnp-org:serviceId:HVAC_FanOperatingMode1","SetMode",{ NewMode"Auto" },53)


local ESM=luup.variable_get("urn:upnp-org:serviceId:SwitchPower1","Status",53)

if (ESM == "1") then
luup.variable_set("urn:upnp-org:serviceId:SwitchPower1","Status",0,53)
else
luup.variable_set("urn:upnp-org:serviceId:SwitchPower1","Status",1,53)
end




I found this Luup code in these posts, but do I add it to the current working Luup, in my scenes, like written above?
Title: Re: Schlage (Trane) Thermostat Secrets Revealed!!
Post by: aecchalet on January 05, 2019, 03:21:11 am
Any one know what script I would use to set the Minimum Cool Set Point (Numeric Value)?
Thanks