Trouble getting correct format for Serial codes

2014 · 4 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 Guys, just trying to control a TV via serial control. I have used the DDK many times but mainly for ir control and cr — Staff replied: “It looks like you're trying to send binary commands, but your commands are formatted as ASCII. Just rewrite: A0F055FFAF50 As: \xA0\xF0\x55\xFF\xAF\x50 Thank you.”

Question 2014-07 · older version

Hi Guys, just trying to control a TV via serial control. I have used the DDK many times but mainly for ir control and creating my own command setups. I'm now trying to create the serial codes for a TV but having issues.

<a href="https://www.dropbox.com/sh/tc9jiw0agl5nizb/AAD9e9C1jr5OFoQ-jcuPtXpva" title="RoomieCodes.plist">Here</a> Here is a link to a copy of the .plist I'm working on.

The codes given by the manufacturer are in Hex and if I input them into iTest they work fine, just having issues getting the correct format or data into the .plist file. For those that have a look a sample code looks like this" A0 F0 55 FF AE 51 ". Like I say, in iTest it works fine when I hit the hex send button, just not sure how to get roomie to understand it. In the .plist, it is the device called TileVision TV26FR2.

Any help is much appreciated.

Roomie Staff 2014-07 · older version

It looks like you're trying to send binary commands, but your commands are formatted as ASCII. Just rewrite:

A0F055FFAF50

As:

\xA0\xF0\x55\xFF\xAF\x50

Thank you.

Member 2014-07 · older version

Hi there, I did also try adding the x before each part but this made the actual buttons on the test remote dissapear....

Roomie Staff 2014-07 · older version

Sounds like bad formatting that caused the whole file to be rejected. Try attaching that version so we can see what was done.

Thank you.

Member 2014-07 · older version

Sorry for the delay, I had bad wifi signal and couldn't get my laptop to work. Coincidently I think this was also causing issues with roomie as once I got a better signal and re saved the .plist file all seemed to work using x in front of each part of the hex command. Looks like the file was becoming corrupt some how.

Thanks anyway for the help.

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