Passing Parameters to a HTTP Device using the DDK

2014 · 5 replies · Configuration

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

In short

Hi I have had a quick play with the Roomie DDK and have successfully controlled my HTTP JSON based device. — Staff replied: “That's on page 11 of the DDK. Parameters are automatically injected using the methods described at the top of the page.”

Question 2014-10 · older version

Hi

I have had a quick play with the Roomie DDK and have successfully controlled my HTTP JSON based device. I want to be able to configure parameters for the command within the Roomie app. However I can't see reference how to do this in the DDK. Other devices I have seen have the ability to set Parameter 1, 2, etc. But I can't see how to do this for my device, nor use it in the HTTP command.

Thanks in advance for your help.

David

Roomie Staff 2014-10 · older version

That's on page 11 of the DDK. Parameters are automatically injected using the methods described at the top of the page.

Thank you.

Member 2014-10 · older version

Not sure we are on the same document. Pg11 talks about reserved key names and formats.

Pg 13 talks about dynamic custom parameters, but does not cover any that can be configured in the Roomie app.

At the moment, for example, in the LightwaveRF device when you select a command there is an option called "Parameter 1" which allows you to select the switch you are controlling.

For the device I was trying to create I wanted to have similar functionality to set a parameter which could be different for each command issues.

Hope this make sense!

David

Roomie Staff 2014-10 · older version

The section on this is titled "Injection Commands". It starts on Page 10 and ends on page 11.

Thank you.

Member 2014-10 · older version

Great got it thanks!

Is there a way to create a device wide parameter that you would only have to configure once upon adding the device?

Thanks

David

Roomie Staff 2014-10 · older version

Page 13 covers many parameters that could be used like that.

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