What is the UDN for the 2GIG CT30 variable ModeState?

Hey – I can use
[b]http://myzwaveip:3480/data_request?id=variableget&UDN=${UDN}&serviceId=urn:upnp-org:serviceId:HVAC_UserOperatingMode1&Variable=ModeStatus[/b]
to get the ModeStatus variable, which I assume is the mode setting on the thermostat. What I need though is the actual status (i.e. did the thermostat turn the furnace on). This is reflected by the ModeState variable. I have been able to force the UI to reflect this using Poll now a few times, and refreshing (e.g. it goes from Idle to HeatOn). But I want to get this state programmatically, to monitor the state of my HVAC.

What is the UDN for ModeState?

Is there an http request (or lua from script) that I can send to force the equivalent of Poll now in UI?

Is there a general way to map variables in the UI to luup UDNs? This link only has a few:
http://wiki.mios.com/index.php/Luup_Devices

Thanks – Joel

Perhaps easiest is to hover the mouse over the variable in the [tt]Advanced[/tt] tab (and find it’s [tt]HVAC_OperatingState1[/tt] for [tt]ModeState[/tt]).

Also, have a look at this wiki page and this topic.

Perfect! First I sync state with a Poll call to thermostat device (mine is #23):
[b]http://myzwaveip:3480/data_request?id=action&DeviceNum=23&serviceId=urn:micasaverde-com:serviceId:HaDevice1&action=Poll[/b]
Then to query whether the furnace is Heating or Idle:
http://myzwaveip:3480/data_request?id=variableget&DeviceNum=23&serviceId=urn:micasaverde-com:serviceId:HVAC_OperatingState1&Variable=ModeState"

Folks, this is seriously awesome! Having this simple http interface to Z-Wave is a huge improvement over what I’ve tried the last few years: I’ve done C# with the ControlThink SDK, serial ASCII via Vizia RF – all wrapped behind ASP.NET, which essentially was my own http protocol. This is by far the superior programmatic interface.

Nice!

Thanks - Joel

PS: I’ll update another thread on this question of how to monitor the thermostat.