This page last changed on Jun 01, 2014 by dalemontoya.

I could not pass up a deal on a Trane TZEMT400BB3 Remote Energy Management Thermostat. I would like to integrate this into my OR controller and it does recognize it and assigns it a node, but I do not know how to sent it commands or how to display it's status on my UI. There are very few form discussions on commands for thermostats and none for zwave and Trane. There is some information on Mi Casa Verde forums and it sounds like they can control it without the Trane Nexia controller using zwave Command Class below, but I do not know how to create a OR zwave command using these Command Class and Variables. Can anyone direct me on how to integrate this device in my system?

Zwave Command Class Comments
COMMAND_CLASS_THERMOSTAT_MODE The operating mode of the TZ43 thermostat
COMMAND_CLASS_THERMOSTAT_OPERATING_STATE Returns the operating state of the HVAC system
COMMAND_CLASS_THERMOSTAT_FAN_STATE The HVAC system mechanical fan state
COMMAND_CLASS_SENSOR_MULTILEVEL Returns the temperature as displayed by the TZ43. Note this temperature is the TZ43's working temperature and includes any averaging sensors
COMMAND_CLASS_VERSION Returns various Zwave version information
COMMAND_CLASS_CLOCK Used to set the TZ43's real-time clock
COMMAND_CLASS_MANUFACTURER_SPECIFIC Returns Manufacture and Product information
COMMAND_CLASS_CONFIGURATION Used to read/write internal TZ43 variables. The majority of the variables are accessable via the on-screen menu, the CONFIGURATION command class is used to remotely set the
variables. It is recommended that you have a thourough understanding of the variables before making any changes. See variable table below
COMMAND_CLASS_LOCK Used to implement the Display Lock, locking the thermostat keys

TZ43 Variable Table
Description Minimum
1 System Type 0 1 0 = Gas/Elec, 1 = HeatPump
2 Fan Type 0 1 0 = Gas, 1 = Elec
3 Change Over Type 0 1 0 = w/Cool, 1 = w/Heat
4 C/F Type 0 1 0 = C, 1 = F
9 Display Lock 0 1 0 = Unlocked, 1 = Locked
10 MOT 5 9 Minimum OFF Time
11 MRT 1 9 Minimum Run Time
12 H Delta Stage 1 On 1 8 Stage Timers
13 H Delta Stage 1 Off 0 8
14 H Delta Stage 2 On 1 8
15 H Delta Stage 2 Off 0 8
16 H Delta Stage 3 On 1 8
17 H Delta Stage 3 Off 0 8
18 C Delta Stage 1 On 1 8
19 C Delta Stage 1 Off 0 8
20 C Delta Stage 2 On 1 8
21 C Delta Stage 2 Off 0 8
25 SB Mode 0 1 Setback mode, 0 = No Setback, 1 = Setback
69 Service Mode (Test) 0 1 0 = No Service Mode, 1 = Service Mode enabled
75 Fan Cycler ON Time 0 120 On duration of Fan Cycler
76 Fan Cycler OFF Time 0 120 Off duration of Fan Cycler
77 2nd Stage Heat Enable 0 1 0 = No 2nd Stage Heat, 1 = 2nd Stage Heat
78 Aux Heat Enable 0 1 0 = No Aux Heat, 1 = Aux Heat enabled
79 2nd Stage Cool Enable 0 1 0 = No 2nd Stage Cool, 1 = 2nd Stage Cool

See: Designer 2.0 - Available Z-Wave Commands

Did you already play around with the 'temp' and 'status' commands ? I'm curious because I've never tested a thermostat device with the OpenRemote Z-Wave protocol.

Posted by rhitz at Jun 04, 2014 20:57

I have tried making read & temp & on & off & status commands, a switch, a slider, labels, and buttons to try and get some response, but I can't get anything to work. I tried the read and temp sensors as range and level types as well.

Posted by dalemontoya at Jun 09, 2014 04:04

Did you ever get this figured out? I have the same thermostat and some of the functions work automatically with Domoticz but it doesn't seem to want to accept any commands from OpenRemote.

Posted by nrblock at Jun 27, 2014 02:19

I started to do some research on OpenZWave to see if that could help, but haven't installed it yet. Since I wasn't having any luck with the thermostat, I turned my attention to trying to get my Openremote system to have a integrated music server/player to play music to some bluetooth speakers in different rooms in my house, but cannot get a stable system with a web frontend that will play correctly on my raspberry pi. I would like very much to contribute to the Openremote community by getting the thermostat to work, but I really don't know where to start.

Posted by dalemontoya at Jun 27, 2014 05:00

I think you better invest in MiCasa Verde, or if you are a bit more daring, in RaZberry to integrate with OpenRemote. Developments in OpenRemote have become very slow lately to be honest.

Posted by pz1 at Jun 27, 2014 09:09

I got COMMAND_CLASS_THERMOSTAT_SETPOINT to work once. However, it only worked one time when the thermostat happened to change the setpoint (based on an internal program). When I exited out and went back in the sensor now is only reading "N/A". I'm trying to figure out how to force the sensor to update...

Posted by nrblock at Jun 30, 2014 01:51

Where do you input the COMMAND_CLASS statement? Do you make a custom sensor with "COMMAND_CLASS_THERMOSTAT_SETPOINT" as the Name and the temp you want as the value?

Posted by dalemontoya at Jul 01, 2014 04:16

I wasn't able to get it to accept a change to the value... only got it to show me the setpoint. I created a Z-Wave command with "COMMAND_CLASS_THERMOSTAT_SETPOINT" and created a Range sensor from 40 (min) to 90 (max) with the previously created command. I can then associate this with a label in the panel designer.

I think you have to create a HTTP command to change the value, but I'm not completely sure. The documentation isn't really clear and I've yet to find any tutorials.

Posted by nrblock at Jul 01, 2014 04:42

Thanks for the suggestion, I have thought of this many times, but I have a couple of more things I would like to try to keep learning. I am working on a PC with a digital power supply and SD hard drive. I am going to try some other open systems, including Windows to see how they compare. Trying to do this on a Raspberry Pi is slow and I want to keep the OR system I have running. I also do plan to go back to school to take Java programming and Network Security classes.

Posted by dalemontoya at Jul 02, 2014 04:00

I don't think it is a good idea to use RasPi for running OR with a substantial number of devices. That's why I have OR controller installed on Synology DS212+ and use RaZberry as a Z-Wave Gateway, just as you can do with the Vera. No need to give up on your existing OR installation. On the contrary!

Posted by pz1 at Jul 02, 2014 13:07

I tried creating commands and range sensors, but couldn't get them to work. I got the same impression about HTTP, but I don't see how that would work since the thermostat is not connected to my pc network.

Posted by dalemontoya at Jul 10, 2014 04:30

AFAIK using an OpenRemote http command is only relevant if you have connected the Trane to a Vera or a RaZberry.

Posted by pz1 at Jul 10, 2014 09:36

I'm far from an expert, but I agree, I can't get Openremote to do anything other than run sensors and light switches with the Pi. That is the other reason I was wanting to build a quiet PC. I can do this cheaper than Vera so I will give it a try first.

Posted by dalemontoya at Jul 14, 2014 05:06
Document generated by Confluence on Jun 05, 2016 09:39