Variable in HTTP command?

2013 · 1 reply · Devices

This discussion is 13 years old. It predates today's Roomie Remote X, and the app names, menus, features, pricing, and device details below have changed substantially since 2013. Treat it as historical reference — see Support and current compatibility for how things work today.

In short

I have created a roomieCodes.plist for a Somfy Z-Wave RTSI interface using http commands through a VERA controller. — Staff replied: “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 $$.”

Question 2013-11 · older version

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.

 

Thanks

Roomie Staff 2013-11 · older version

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.

Related threads

Today's Roomie controls 400,000+ devices.

Roomie Remote X brings TVs, receivers, streamers, lights, and whole-home audio into one app on iPhone, iPad, Mac, and Apple TV.

Download Roomie Remote X