Make UI-5 support more Zwave command

Zwave command support many operation mode(beside off, heat, cool, auto) and fan speed control
If I want to add those commands on the UI, how to do that?
I want to use Luup, but I don’t know how to define the parameter… :frowning:

For example, for fan speed control, Luup support Auto, ContinousOn and PeriodicOn

urn:upnp-org:serviceId:HVAC_FanOperatingMode1 – Mode
One of Auto, ContinuousOn, or PeriodicOn depending on the fan mode of the thermostat.

But how to define FanLow, FanMed and FanHigh?

From the Develop Apps page, there are lots of .json and xml file

In the D_HVAC_ZoneThermostat1.json and S_HVAC_FanOperatingMode1.xml , I find the code related to themostat fan :

In D_HVAC_ZoneThermostat1.json file

               "ControlGroup": "4",
                "ControlType": "button",
                "top": "0",
                "left": "0",
                "Label": {
                    "lang_tag": "cmd_auto",
                    "text": "Auto"
                },
                "Display": {
                    "Top": 90,
                    "Left": 50,
                    "Width": 100,
                    "Height": 20,
                    "Service": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1",
                    "Variable": "Mode",
                    "Value": "Auto"
                },
                "Command": {
                    "Service": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1",
                    "Action": "SetMode",
                    "Parameters": [
                        {
                            "Name": "NewMode",
                            "Value": "Auto"
                        }
                    ]
                },
                "ControlCode": "fan_auto"
            },

In S_HVAC_FanOperatingMode1.xml file

Mode
string
Auto
fanmode

Auto
ContinuousOn
PeriodicOn

It is no use if I just change the Value from “Auto” to integer value 3 or 4 or 5 …
Since the for HVAC_FanOperatingMode1, SetMode is string only

Anyone know where and which file use to define the string “Auto” = 0, ContinousOn=1 and “PeriodicOn”=6… :cry:

Author has posted this same message [url=http://forum.micasaverde.com/index.php/topic,25661.msg181475.html#msg181475]over in the programming forum[url]. All answers there please…