Author Topic: Schlage (Trane) Thermostat Secrets Revealed!!  (Read 17891 times)

Offline RastusB2

  • Jr. Member
  • **
  • Posts: 59
  • Karma: +0/-1
  • I KNEW I shouldn't have stomped those grapes!
Re: Schlage (Trane) Thermostat Secrets Revealed!!
« Reply #15 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.
« Last Edit: July 09, 2011, 10:32:05 pm by RastusB2 »
GE/Jassco Duplex Outlets -16-, GE 3 Way Dimmer -6-, GE 2 Way Dimmers
-8-, GE Lamp Modules -6-. GE Appliance Module -8-, Leviton VRI06-1L  Vizia RF + 600W Incandescent Scene Capable Dimmer-VRI06-1LX, Schlage Dead Bolt, Schlage/Trane Thermostat, Schlage IP wired Camera -3,-Vera 3 UI5 v1.5.408

Offline RastusB2

  • Jr. Member
  • **
  • Posts: 59
  • Karma: +0/-1
  • I KNEW I shouldn't have stomped those grapes!
Re: Schlage (Trane) Thermostat Secrets Revealed!!
« Reply #16 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?
« Last Edit: July 09, 2011, 11:12:52 pm by RastusB2 »
GE/Jassco Duplex Outlets -16-, GE 3 Way Dimmer -6-, GE 2 Way Dimmers
-8-, GE Lamp Modules -6-. GE Appliance Module -8-, Leviton VRI06-1L  Vizia RF + 600W Incandescent Scene Capable Dimmer-VRI06-1LX, Schlage Dead Bolt, Schlage/Trane Thermostat, Schlage IP wired Camera -3,-Vera 3 UI5 v1.5.408