Variable in HTTP command?

I have created a roomieCodes.plist for a Somfy Z-Wave RTSI interface using http commands through a VERA controller. I am currious if there is a way to only enter Three codes (UP,DOWN,STOP) and somehow when adding a button you would have to enter in the Variable where Variable=DeviceNum=(x) in the URL?

I have attached the plist that I have written. It works great but I don’t want to have to edit or recreate it everytime that the DeviceNum changes per install.



Sure. Just change “DeviceNum=24” static references to “DeviceNum=##” per the DDK to make that a variable. In your commands, you would then specify the device number in parameter 1.

If you need a second variable, use $$. A third is ^^.

Thank you.