z-wave thermostat: getting status

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
bcoggs
Member
Posts: 18
Joined: Mon Dec 07, 2009 12:23 pm

z-wave thermostat: getting status

Post by bcoggs »

I have 4 WanyeDalton Z-wave thermostats now working w/housebot.

I'd like to monitor furnace state and turn on a ceiling fan when the furnace is operating..

I cannot see the fan state property changing in either the device properties view, or via a property control in the software remote.
Error log shows housebot getting status every minute.

Any suggestions ?

Tnx.
bcoggs
Member
Posts: 18
Joined: Mon Dec 07, 2009 12:23 pm

Re: z-wave thermostat: getting status

Post by bcoggs »

I want to claify; When I say 'fan state', I am referring to the HVAC fan's state; So this is an issue with HB's z-wave plugin's handling of thermostats. I believe there is another property offered by z-wave thermostats which tells me the actual operating mode of the HVAC (heating/cooling/off), but HB does not seem to expose this property.
ScottBot
Site Admin
Posts: 2787
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: z-wave thermostat: getting status

Post by ScottBot »

The fan state should be displayed in the Fan State Property of the Device. So if you turn the fan on/off at the thermostat and then get the status from the HB Device, it doesn't show the correct state? If so, a hardware interface trace may help diagnose the problem.
Scott
bcoggs
Member
Posts: 18
Joined: Mon Dec 07, 2009 12:23 pm

Re: z-wave thermostat: getting status

Post by bcoggs »

Whilst viewing the device property window, the Fan Mode and the Fan Property fields always remain blank. If I click Get Status (which is always No), and set it to Yes, it flips back to No on it's own and the Fan fields stay blank. At the same time this trace is generated...

1/8/2010 10:15:48 AM Z-Wave (USB) Debug Sending data [31 04] to Z-Wave Node ID [20]
1/8/2010 10:15:48 AM Z-Wave (USB) Debug --> Transmitting data [09 00 13 14 02 31 04 05 03]
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Entering WaitForResponse. Waiting for command response [FUNC_ID_ZW_SEND_DATA] (0x13)
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Received 7 bytes of Data from WD USB [06 01 04 01 13 01 e8]
1/8/2010 10:15:48 AM Z-Wave (USB) Debug --> Status = [1] - Received 0 bytes Data
1/8/2010 10:15:48 AM Z-Wave (USB) Debug ACK Received
1/8/2010 10:15:48 AM Z-Wave (USB) Debug --> Status = [0] - Received 4 bytes Data [04 01 13 01]
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Received 7 bytes of Data from WD USB [01 05 00 13 03 00 ea]
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Status Frame Received. Length=4
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Response frame Received. Putting data in receive buffer.
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Buffer After Append [04 01 13 01] - 4 bytes
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Received Response
1/8/2010 10:15:48 AM Z-Wave (USB) Debug --> Status = [0] - Received 5 bytes Data [05 00 13 03 00]
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Received 13 bytes of Data from WD USB [01 0b 00 04 00 14 05 31 05 01 09 44 99]
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Leaving WaitForResponse with a receive buffer size = 0
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Status Frame Received. Length=5
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Sending data returned ok
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Request frame Received.
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Sending data [45 02] to Z-Wave Node ID [20]
1/8/2010 10:15:48 AM Z-Wave (USB) Debug SendData Response Received.
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Transmit OK [Node ID = 20].
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Sending Subscription Notification for list [Z-Wave Transmit Result]
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Clearing Transmit Limit Event
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Entering WaitForResponse. Waiting for command response [FUNC_ID_ZW_SEND_DATA] (0x13)
1/8/2010 10:15:48 AM Z-Wave (USB) Debug --> Transmitting data [09 00 13 14 02 45 02 05 03]
1/8/2010 10:15:48 AM Z-Wave (USB) Debug Received 1 bytes of Data from WD USB [18]
1/8/2010 10:15:48 AM Z-Wave (USB) Debug --> Status = [0] - Received 11 bytes Data [0b 00 04 00 14 05 31 05 01 09 44]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Status Frame Received. Length=11
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Request frame Received.
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Putting Request data in command queue. Cmd = [FUNC_ID_APPLICATION_COMMAND_HANDLER: Cmd Class: COMMAND_CLASS_SENSOR_MULTILEVEL]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug +++ Removed command from queue. Dispatching Cmd [FUNC_ID_APPLICATION_COMMAND_HANDLER: Cmd Class: COMMAND_CLASS_SENSOR_MULTILEVEL], Event data [0b 00 04 00 14 05 31 05 01 09 44]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug --> Transmitting data [09 00 13 14 02 45 02 05 03]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Received Command. Data = [31 05 01 09 44]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Received 7 bytes of Data from WD USB [06 01 04 01 13 01 e8]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Sending Subscription Notification for list [Z-Wave Raw Reception]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Received Multilevel Sensor Report command
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Sending Subscription Notification for list [Z-Wave Reception With Type]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug --> Status = [1] - Received 0 bytes Data
1/8/2010 10:15:49 AM Z-Wave (USB) Debug ACK Received
1/8/2010 10:15:49 AM Z-Wave (USB) Debug --> Status = [0] - Received 4 bytes Data [04 01 13 01]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Received 7 bytes of Data from WD USB [01 05 00 13 03 00 ea]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Status Frame Received. Length=4
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Response frame Received. Putting data in receive buffer.
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Buffer After Append [04 01 13 01] - 4 bytes
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Received Response
1/8/2010 10:15:49 AM Z-Wave (USB) Debug --> Status = [0] - Received 5 bytes Data [05 00 13 03 00]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Leaving WaitForResponse with a receive buffer size = 0
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Status Frame Received. Length=5
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Sending data returned ok
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Request frame Received.
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Sending data [44 02] to Z-Wave Node ID [20]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug SendData Response Received.
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Transmit OK [Node ID = 20].
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Sending Subscription Notification for list [Z-Wave Transmit Result]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Clearing Transmit Limit Event
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Entering WaitForResponse. Waiting for command response [FUNC_ID_ZW_SEND_DATA] (0x13)
1/8/2010 10:15:49 AM Z-Wave (USB) Debug --> Transmitting data [09 00 13 14 02 44 02 05 03]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Received 7 bytes of Data from WD USB [06 01 04 01 13 01 e8]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug --> Status = [1] - Received 0 bytes Data
1/8/2010 10:15:49 AM Z-Wave (USB) Debug ACK Received
1/8/2010 10:15:49 AM Z-Wave (USB) Debug --> Status = [0] - Received 4 bytes Data [04 01 13 01]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Status Frame Received. Length=4
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Received 7 bytes of Data from WD USB [01 05 00 13 03 00 ea]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Response frame Received. Putting data in receive buffer.
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Buffer After Append [04 01 13 01] - 4 bytes
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Received Response
1/8/2010 10:15:49 AM Z-Wave (USB) Debug --> Status = [0] - Received 5 bytes Data [05 00 13 03 00]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Leaving WaitForResponse with a receive buffer size = 0
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Status Frame Received. Length=5
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Sending data returned ok
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Request frame Received.
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Sending data [40 02] to Z-Wave Node ID [20]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug SendData Response Received.
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Transmit OK [Node ID = 20].
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Sending Subscription Notification for list [Z-Wave Transmit Result]
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Clearing Transmit Limit Event
1/8/2010 10:15:49 AM Z-Wave (USB) Debug Entering WaitForResponse. Waiting for command response [FUNC_ID_ZW_SEND_DATA] (0x13)
1/8/2010 10:15:49 AM Z-Wave (USB) Debug --> Transmitting data [09 00 13 14 02 40 02 05 03]
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Received 7 bytes of Data from WD USB [06 01 04 01 13 01 e8]
1/8/2010 10:15:50 AM Z-Wave (USB) Debug --> Status = [1] - Received 0 bytes Data
1/8/2010 10:15:50 AM Z-Wave (USB) Debug ACK Received
1/8/2010 10:15:50 AM Z-Wave (USB) Debug --> Status = [0] - Received 4 bytes Data [04 01 13 01]
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Received 7 bytes of Data from WD USB [01 05 00 13 03 00 ea]
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Status Frame Received. Length=4
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Response frame Received. Putting data in receive buffer.
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Buffer After Append [04 01 13 01] - 4 bytes
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Received Response
1/8/2010 10:15:50 AM Z-Wave (USB) Debug --> Status = [0] - Received 5 bytes Data [05 00 13 03 00]
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Leaving WaitForResponse with a receive buffer size = 0
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Received 11 bytes of Data from WD USB [01 09 00 04 00 14 03 40 03 01 a7]
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Status Frame Received. Length=5
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Sending data returned ok
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Request frame Received.
1/8/2010 10:15:50 AM Z-Wave (USB) Debug SendData Response Received.
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Transmit OK [Node ID = 20].
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Sending Subscription Notification for list [Z-Wave Transmit Result]
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Clearing Transmit Limit Event
1/8/2010 10:15:50 AM Z-Wave (USB) Debug --> Status = [0] - Received 9 bytes Data [09 00 04 00 14 03 40 03 01]
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Status Frame Received. Length=9
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Request frame Received.
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Putting Request data in command queue. Cmd = [FUNC_ID_APPLICATION_COMMAND_HANDLER: Cmd Class: COMMAND_CLASS_THERMOSTAT_MODE]
1/8/2010 10:15:50 AM Z-Wave (USB) Debug +++ Removed command from queue. Dispatching Cmd [FUNC_ID_APPLICATION_COMMAND_HANDLER: Cmd Class: COMMAND_CLASS_THERMOSTAT_MODE], Event data [09 00 04 00 14 03 40 03 01]
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Received Command. Data = [40 03 01]
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Sending Subscription Notification for list [Z-Wave Raw Reception]
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Received Thermostat Mode Report command
1/8/2010 10:15:50 AM Z-Wave (USB) Debug Sending Subscription Notification for list [Z-Wave Reception With Type]
ScottBot
Site Admin
Posts: 2787
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: z-wave thermostat: getting status

Post by ScottBot »

It doesn't appear that the thermostat is responding with the fan state. The plugin expects the status query to return the COMMAND_CLASS_THERMOSTAT_FAN_STATE command with the THERMOSTAT_FAN_STATE_REPORT information. I don't see this in the trace, so either the device doesn't support this or it supports it in a way that isn't handled by the plugin. I wasn't able to find a detail spec for the WD thermostat, so I can't be sure.
Scott
bcoggs
Member
Posts: 18
Joined: Mon Dec 07, 2009 12:23 pm

Re: z-wave thermostat: getting status

Post by bcoggs »

How does the COMMAND_CLASS_SENSOR_MULTILEVEL class work ? I am after operating mode, actually. Is there a way to do that ?
ScottBot
Site Admin
Posts: 2787
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: z-wave thermostat: getting status

Post by ScottBot »

I'm not sure I understand your question. However the command classes that I was referencing are not end-user controllable. Sometimes you will see in the spec for the device a list of the command classes that the z-wave device supports, that's why I mentioned them.
Scott
bcoggs
Member
Posts: 18
Joined: Mon Dec 07, 2009 12:23 pm

Re: z-wave thermostat: getting status

Post by bcoggs »

I am still trying to obtain z-wave implentation details from Wayne-Dalton. I know the WDTC-20 can do it because the ThinkEssentials software is able to show current HVAC operating mode. I'll ask on the ThinkEssentials board also. If you think it would help, I can send you a WDTC-20.

Over on the ThinkEssentials forum, the WDTC-20 uses the "Z-Wave Thermostat V2 Device Class" They are also saying the you need the TE v1.3 SDK to have access to that class.
ScottBot
Site Admin
Posts: 2787
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: z-wave thermostat: getting status

Post by ScottBot »

Then it sounds like there is a way to get the status, but the HouseBot plugin isn't using whatever method is required. The plugin was designed and implemented against the RCS TZ-16 thermostat so there could be some variation in how the different manufacturers implement their features. Also newer command classes probably aren't supported, and some of the older z-wave commands aren't supported (like all of the scheduling commands).
Scott
raptor_demon
Senior Member
Posts: 141
Joined: Tue Jul 07, 2009 12:55 pm
Location: NC

Re: z-wave thermostat: getting status

Post by raptor_demon »

Hi,

I do not think the wayne dalton supports the ability to change the fan state.
http://store.homeseer.com/store/HomeSee ... 22C38.aspx

Notice fan is not listed under hte wayne dalton. This was the reason i installed the Trane T-stat.

Hope this helps

Raptor
bcoggs
Member
Posts: 18
Joined: Mon Dec 07, 2009 12:23 pm

Re: z-wave thermostat: getting status

Post by bcoggs »

Fan status, no. I went down that path only because HB exposes that property. I've confirmed a few different ways
that isn't supported, so nix that idea.

I really am after operating mode, and since ThinkEssentials can do it, there must be a way.
bcoggs
Member
Posts: 18
Joined: Mon Dec 07, 2009 12:23 pm

Re: z-wave thermostat: getting status

Post by bcoggs »

I received a response from Wanye-Dalton support :
--
  • The WDTC-20 supports the Z-Wave command class “COMMAND_CLASS_THERMOSTAT_OPERATING_STATE”

    The Thermostat Operating State command class is used to obtain the current operating state of the wdtc-20 via the “THERMOSTAT_OPERATING_STATE_GET” command.

    The possible values returned for command to the wdtc-20 are:

    0 : Idle
    1 : Heating
    2 : Cooling
    3 : Fan Only
--

Is there anything we can do to get the HB Z-wave Plug-in to expose this property ?
ScottBot
Site Admin
Posts: 2787
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: z-wave thermostat: getting status

Post by ScottBot »

But the thermostat "operating mode" doesn't return the fan state that you want.
Scott
bcoggs
Member
Posts: 18
Joined: Mon Dec 07, 2009 12:23 pm

Re: z-wave thermostat: getting status

Post by bcoggs »

Sorry I didn't re-emphasize the point strongly enough; What I am really after is operating mode; I want to create this logic:

if (OperatingState == Heating) then
TurnOnCeilingFan()

I only began to talk about Fan State when I saw HB exposed Fan State. But since Fan State does not work either, then I might as well go for what
I am really after -- "Is the furnace in heating mode or not ?"

The way I see it, HB's Zwave plugin's thermostat interface needs to expose an OperatingState property by implementing the Z-wave COMMAND_CLASS_THERMOSTAT_OPERATING_STATE class and performing a THERMOSTAT_OPERATING_STATE_GET to populate that property.
bcoggs
Member
Posts: 18
Joined: Mon Dec 07, 2009 12:23 pm

Re: z-wave thermostat: getting status

Post by bcoggs »

When could we expect an update to housebot to support the GET_OPERATING_STATE property for Z-Wave thermostats ?
Post Reply