Configuring CT100 Z-Stick

Hi all,

Just got a Z-Stick Gen 5 and am trying to get it setup with my 2 existing CT100 thermostats and openhab v1.8. I read several guides and see many people with a CT100 and it working but I’m having some issues. For now I’m just trying to get 1 of the thermostats setup (node 3 according to habmin). I’m seeing this one error repeating frequently so guessing thats the issue, but not sure how to correct it. Also notice in habmin that the zstick shows up green, but that node 3 is still grey.

2016-01-16 11:59:53.050 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 3: Unsupported command class 0x01
2016-01-16 11:59:53.098 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 3: Unsupported command class 0x01
2016-01-16 11:59:53.138 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 3: Unsupported command class 0x01
2016-01-16 11:59:53.179 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 3: Unsupported command class 0x01
2016-01-16 11:59:53.219 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 3: Unsupported command class 0x01
2016-01-16 11:59:53.258 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 3: Unsupported command class 0x01
2016-01-16 11:59:53.297 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 3: Unsupported command class 0x01
2016-01-16 11:59:53.337 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 3: Unsupported command class 0x01
2016-01-16 11:59:53.377 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 3: Unsupported command class 0x01
2016-01-16 11:59:53.417 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 3: Unsupported command class 0x01
2016-01-16 11:59:53.418 [ERROR] [z.i.p.i.ZWaveNodeStageAdvancer] - NODE 3: Node advancer: Retries exceeded at STATIC_VALUES

home.sitemap

sitemap home label="My Home2"
{
 Frame label="Upstairs" {
        Text label=Thermostat icon="temperature" {
            Setpoint item=HVAC_HeatSetPoint label="Heat setpoint" icon="temperature" minValue=50 maxValue=90 step=1
            Setpoint item=HVAC_CoolSetPoint label="Cool setpoint" icon="temperature" minValue=60 maxValue=90 step=1
            Selection item=HVAC_Mode label="HVAC mode" icon="temperature" mappings=[0="Off",1="Heating",2="Cooling",3="Auto",4="Something",5="Resume"]
            Text item=HVAC_Temperature
            Text item=HVAC_Humidity
            Text item=HVAC_Fan_Mode
            Text item=HVAC_Operating_State
        }
}
}

home.items

//CT100 Thermostat
Number HVAC_HeatSetPoint "Heat Set [%.0f F]" <temperature> (gHVAC) {zwave="3:command=thermostat_setpoint,setpoint_type=1,setpoint_scale=1,refresh_interval=20" }
Number HVAC_CoolSetPoint "Cool Set [%.0f F]" <temperature> (gHVAC) {zwave="3:command=thermostat_setpoint,setpoint_type=2,setpoint_scale=1,refresh_interval=20" }
Number HVAC_Temperature "Temperature [%.1f F]" <temperature> (gHVAC) {zwave="3:1:command=sensor_multilevel,sensor_type=1,refresh_interval=60" }
Number HVAC_Humidity "Rel Humidity [%.1f %%]" <temperature> (gHVAC) {zwave="3:2:command=sensor_multilevel,sensor_type=5,refresh_interval=60" }
Number HVAC_Mode "Mode [MAP(thermostatMode.map):%d]" (gHVAC) {zwave="3:command=thermostat_mode" }
Number HVAC_Fan_Mode "Fan Mode [MAP(thermostatFanMode.map):%d]" (gHVAC) {zwave="3:command=thermostat_fan_mode" }
Number HVAC_Operating_State "Op State [MAP(thermostatOpState.map):%d]" (gHVAC) {zwave="3:command=thermostat_operating_state,refresh_interval=60" }
Number HVAC_Fan_State "Fan State [MAP(thermostatFanState.map):%d]" (gHVAC) {zwave="3:command=thermostat_fan_state,refresh_interval=60" }
Number HVAC_Battery "Battery State [%d %%]" (gHVAC) {zwave="3:command=BATTERY"}

I’m having this exact same problem and kept trying to get it to work with no success. This likely isn’t an option for you, but I just ended up pairing the CT100 back to my Vera and using the MIOS binding to control it in OpenHAB ([SOLVED] CT100 Thermostats with Mios Binding).

I would love to see a solution for this so I could control it directly in OpenHAB.

It’s a known bug, Chris is aware of it. Last I heard he was trying to figure out how to solve it, but I haven’t heard anything since then. It has to do with the sending the node a message that is encapsulated, but the node doesn’t reply for some reason.

Is there a workaround rather than using habmin (manual config files maybe)? I’ve just seen so many people say they have that particular thermostat working so I’m surprised that this is the first I’ve read of it being a bug.

Not that I am aware of. I have 2 with the same issue.

So how do most people control them then? Via a Vera that then has a binding in openhab?

I can still control mine perfectly. What I can’t do is get battery status from one of them that is on battery. That’s really the only drawback that I have seen. I’m able to control the setpoints, as well as mode without an issue. It never does “complete” though, and serialize.

Oh, I’m totally ok with not having a few features not work. Both of mine are C wired but I can’t even get the setpoints or mode or anything to show up. Would you mind sharing your item and sitemap that are working for you? Also, what version of OpenHab and zwave binding are you using? Also with a ZStick Gen5? Thanks!

I’ve tried both v1.7 and 1.8 and can’t even get it to display the current temperature let alone have it control the thermostat. In the items conf file, I see

[MAP(thermostatMode.map):%d]

Is this some sort of definition file that I should have somewhere or is that built into the zwave binding?

It’s a definition file that should be in “transform”. Themostat mode will be transformed to text that is readable. You want to create a file in the transform called “thermostatMode.map”, and put this in there :
-1=Unintialized
0=Off
1=Heat
2=Cool
3=Auto
4=Aux Heat
5=Resume
6=Fan Only
7=Furnace
8=Dry Air
9=Moist Air
10=Auto Changeover
11=Heat Eco
12=Cool Eco
13=Away

You probably want to create a map for the operation mode too :
-=Uninitialized
0=Idle
1=Heating
2=Cooling
3=Fan Only
4=Pending Heat
5=Pending Cool
6=Vent / Economizer

Thought maybe I had a defective controller or thermostat so I got new ones of each, still the same errors are showing up and I cannot get the thermostat to initialize.

2016-02-03 16:57:00.173 [INFO ] [.o.core.internal.CoreActivator] - openHAB runtime has been started (v1.8.0).
2016-02-03 16:57:00.578 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - mDNS service has been started
2016-02-03 16:57:00.672 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - Service Discovery initialization completed.
2016-02-03 16:57:01.280 [INFO ] [penhab.io.rest.RESTApplication] - Started REST API at /rest
2016-02-03 16:57:10.427 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'home.sitemap'
2016-02-03 16:57:10.536 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'home.items'
2016-02-03 16:57:11.113 [INFO ] [.o.u.w.i.servlet.WebAppServlet] - Started Classic UI at /classicui/openhab.app
2016-02-03 16:57:13.859 [INFO ] [.o.io.habmin.HABminApplication] - Started HABmin REST API at /services/habmin
2016-02-03 16:57:19.116 [INFO ] [.z.internal.ZWaveActiveBinding] - Update config, port = COM6
2016-02-03 16:57:19.116 [INFO ] [.z.internal.ZWaveActiveBinding] - Update config, healtime = 2
2016-02-03 16:57:19.116 [INFO ] [.z.internal.ZWaveActiveBinding] - Update config, masterController = true
2016-02-03 16:57:19.132 [INFO ] [.service.AbstractActiveService] - ZWave Refresh Service has been started
2016-02-03 16:57:19.132 [INFO ] [b.z.i.protocol.ZWaveController] - Starting Z-Wave controller
2016-02-03 16:57:19.132 [INFO ] [b.z.i.protocol.ZWaveController] - Z-Wave timeout is set to 5000ms. Soft reset is false.
2016-02-03 16:57:19.132 [INFO ] [b.z.i.protocol.ZWaveController] - Connecting to serial port COM6
2016-02-03 16:57:19.350 [INFO ] [b.z.i.protocol.ZWaveController] - Serial port is initialized
2016-02-03 16:57:22.473 [INFO ] [rialApiGetInitDataMessageClass] - NODE 1: Node found
2016-02-03 16:57:22.473 [INFO ] [rialApiGetInitDataMessageClass] - NODE 2: Node found
2016-02-03 16:57:22.473 [INFO ] [rialApiGetInitDataMessageClass] - ZWave Controller using Controller API
2016-02-03 16:57:22.473 [INFO ] [rialApiGetInitDataMessageClass] - ZWave Controller is Primary Controller
2016-02-03 16:57:22.473 [INFO ] [rialApiGetInitDataMessageClass] - ------------Number of Nodes Found Registered to ZWave Controller------------
2016-02-03 16:57:22.489 [INFO ] [rialApiGetInitDataMessageClass] - # Nodes = 2
2016-02-03 16:57:22.489 [INFO ] [rialApiGetInitDataMessageClass] - ----------------------------------------------------------------------------
2016-02-03 16:57:22.567 [WARN ] [b.z.i.protocol.ZWaveController] - NODE 1: Restore from config: Error. Data invalid, ignoring config.
2016-02-03 16:57:22.661 [WARN ] [.o.b.z.i.p.c.ZWaveCommandClass] - NODE 2: Unsupported command class CLOCK
2016-02-03 16:57:22.692 [WARN ] [.o.b.z.i.p.c.ZWaveCommandClass] - NODE 2: Unsupported command class CLOCK
2016-02-03 16:57:23.347 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 2: Unsupported command class 0x01
2016-02-03 16:57:23.394 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 2: Unsupported command class 0x01
2016-02-03 16:57:23.503 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 2: Unsupported command class 0x01
2016-02-03 16:57:23.534 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 2: Unsupported command class 0x01
2016-02-03 16:57:23.581 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 2: Unsupported command class 0x01
2016-02-03 16:57:23.612 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 2: Unsupported command class 0x01
2016-02-03 16:57:23.659 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 2: Unsupported command class 0x01
2016-02-03 16:57:23.690 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 2: Unsupported command class 0x01
2016-02-03 16:57:23.737 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 2: Unsupported command class 0x01
2016-02-03 16:57:23.768 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 2: Unsupported command class 0x01
2016-02-03 16:57:23.815 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 2: Unsupported command class 0x01
2016-02-03 16:57:23.846 [ERROR] [ZWaveMultiInstanceCommandClass] - NODE 2: Unsupported command class 0x01
2016-02-03 16:57:23.846 [ERROR] [z.i.p.i.ZWaveNodeStageAdvancer] - NODE 2: Node advancer: Retries exceeded at STATIC_VALUES

OK maybe I am hijacking this thread (if that is bad, I can split the topic)

I have a z-stick and a CT100 and am adding it to my system, new zwave network

I am seeing the CT100 as NODE 2 and grabbed the items from https://github.com/openhab/openhab/wiki/Z-wave-Binding-Examples#thermostats

And the map files from this thread (see there is the tie in

I am getting a bunch of start up notices like this

2016-04-29 18:06:37.961 [WARN ] [.z.internal.ZWaveActiveBinding] - NODE 2: No item bound for event, endpoint = 0, command class = THERMOSTAT_FAN_MODE, value = 0, ignoring.
2016-04-29 18:06:38.133 [WARN ] [.z.internal.ZWaveActiveBinding] - NODE 2: No item bound for event, endpoint = 0, command class = THERMOSTAT_OPERATING_STATE, value = 2, ignoring.
2016-04-29 18:06:38.261 [WARN ] [.z.internal.ZWaveActiveBinding] - NODE 2: No item bound for event, endpoint = 0, command class = BATTERY, value = 100, ignoring.
2016-04-29 18:06:38.372 [WARN ] [.z.internal.ZWaveActiveBinding] - NODE 2: No item bound for event, endpoint = 0, command class = THERMOSTAT_FAN_STATE, value = 1, ignoring.
2016-04-29 18:06:38.483 [WARN ] [.z.internal.ZWaveActiveBinding] - NODE 2: No item bound for event, endpoint = 0, command class = INDICATOR, value = 0, ignoring.

am I missing something?

Tom
ps. I again forget how to quote code…

Boy it really helps to have the right NODE address in the items definition!

Issue closed…