HTTP Activity & Device Command Interface

2024 · 7 replies · Configuration

Preserved from the original Roomie Remote forum. For current guidance, see Support.

In short

With v9 is there an updated API doc? with HTTP device commands I'm getting {"da":"BadParams","st":"fail","me":"Missing c — Staff replied: “The document has now been updated. The names of properties were all shortened. You will need to make trivial updates to any of your call sites from things like "activity_uuid" to "au" as per the updated interface documen”

QuestionBlitzd

With v9 is there an updated API doc? with HTTP device commands I'm getting {"da":"BadParams","st":"fail","me":"Missing command array","co":400} vs the previous success and code 200. Thanks

ErikN

Same here

ErikN

The error message I receive is "Missing au parameter"

An updated API guide (HTTP Activity & Device Command Interface) would be much appreciated please.

Jmidwat

Same here!

I’m glad I’m not the only one.

Roomie Staff

The document has now been updated. The names of properties were all shortened.

You will need to make trivial updates to any of your call sites from things like "activity_uuid" to "au" as per the updated interface document.

ErikN

Thank you Will especially for the quick turnaround. In retrospect "au" being short for activity_uuid seems obvious now :smile:

Blitzd

FYI It looks like "device" is still needed for the device uuid vs "du"

DEBUG-->strSimpleControlString: { "cs" : [ { "ty" : "command", "pa" : { "cm" : "MUTE TOGGLE", "du" : "54D05999-97C4-467B-85C5-721955087475" } }] }

DEBUG-->strURL: http://192.168.1.120:47147/api/v1/sendcommands

DEBUG-->strReturn: {"da":"BadParams","st":"fail","me":"Missing device uuid","co":400}

DEBUG-->strSimpleControlString: { "cs" : [ { "ty" : "command", "pa" : { "cm" : "MUTE TOGGLE", "device" : "54D05999-97C4-467B-85C5-721955087475" } } ] }

DEBUG-->strURL: http://192.168.1.120:47147/api/v1/sendcommands

DEBUG-->strReturn: {"st":"success","da":{"se":"38855C76-90E1-43A9-BDD3-8F2F31C9249C"},"co":200}

Roomie Staff

Fixed.

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