[Help] Reverse engineering an Orvibo AllOne IR Blaster

Request a hack or modification here:

So, you need a new wheelchair control for your nephew, someone here can figure it it. Maybe you want ambient lighting for your car to match the music, we've probably got someone here who does that.

No illegal "hacking" requests allowed and we are not responsible for the activities of the users. If you make an arrangement with another user, it is between the two of you.

[Help] Reverse engineering an Orvibo AllOne IR Blaster

Postby Grayda » August 12th, 2014, 8:46 pm

(NB: I moved this from Software help to requests)
TL;DR version: I have a Wi-Fi IR blaster and I need help deciphering the IR data. Check http://pastebin.com/TSK4Lu4Q for some data. There's PayPal shinies for those who help!

The other week I bought an Orvibo AllOne (http://www.aliexpress.com/store/product ... 44423.html) which is a Wi-Fi based IR blaster -- You download the WiWo app from the app store, put your AllOne into learning mode via the app, then press a button on your TV remote to "learn" it. You can then use the app to "play back" these IR signals and control your TV, AC etc..

With some help from a guy on the Ninja Blocks forum, I was able to write a library that controls the Orvibo S10, which is a smart socket akin to the Belkin WeMo. You can see my node.js code here: https://github.com/Grayda/ninja-orvibo and a protocol breakdown here: http://pastebin.com/LfUhsbcS. The basic idea is, you send a broadcast packet and all available S10 / S20 / AllOne units reply back. You then send a "subscribe" packet to each one which lets you control it. Once that's done, you can turn it on / off (smart socket) or send data to make it blast IR (AllOne). As a result, I pretty much know the S10 back to front. But as for the AllOne..

I've got the discovery and subscription code for the AllOne down pat, and can put the device into learning mode from my node.js code (and get back data when it's learned an IR code), but I'm struggling to work out how to decipher the IR data I get back. At this point, I'm having troubles finding patterns in the data (e.g. if the IR was repeating, I'd expect to see repeating hex when I held the button down for a while) and it's driving me batty. I'd love some help from someone who has worked with IR in the past. I wondered if the hex was similar to stuff found here: http://www.remotecentral.com/cgi-bin/codes/ but again, I'm having troubles finding patterns for repeating data.

You can check out my paste here: http://pastebin.com/TSK4Lu4Q which includes some raw hex from when I pressed the power button on my TV remote. I only have this remote, and one for a portable DVD so the amount of data I can provide is limited, but if you want output from the other buttons on my remote, please let me know.
Grayda
 
Posts: 5
Joined: August 26th, 2012, 11:51 pm

Re: [Help] Reverse engineering an Orvibo AllOne IR Blaster

Postby st2000 » November 5th, 2014, 8:28 am

I'm a little confused. It sounded like you bought 1 item that you send data to over Ethernet and it sends out IR (I assume) in ASK format? But you are also talking about a learning remote? And I don't think you mentioned the actual device you are trying to control using IR ASK transmissions.

Guessing, I would approach this from another angle. I would stop trying to learn remote codes from external devices. It is tricky and if you are not synchronized or do not have software that will hunt through the data, it will probably be difficult to derive the actual code. I would look up the codes of the device you are actually trying to control and, if possible, tell your Ethernet to IR device to use them.
st2000
 
Posts: 1453
Joined: February 3rd, 2011, 6:10 pm

Re: [Help] Reverse engineering an Orvibo AllOne IR Blaster

Postby gdbgeek » December 13th, 2015, 2:22 pm

Resurrecting this thread.

I have written a Java utility that grabs the IR "backup" from the Orvibo server. The backup contains all of the IR codes learned by the device - they are stored in the app and not the device itself.

Using the backup content and some Ninja Blocks driver code I have managed to send out the IR codes successfully.

I don't know how many people are interested in this device though.
gdbgeek
 
Posts: 4
Joined: December 13th, 2015, 1:58 pm

Re: [Help] Reverse engineering an Orvibo AllOne IR Blaster

Postby usa303 » March 21st, 2016, 9:30 am

So, did you managed finally to figure out IR messages format for AllOne?
I also have the same problem now.
usa303
 
Posts: 2
Joined: March 21st, 2016, 9:26 am

Re: [Help] Reverse engineering an Orvibo AllOne IR Blaster

Postby pluggin » July 27th, 2016, 2:30 pm

gdbgeek wrote:Resurrecting this thread.

I have written a Java utility that grabs the IR "backup" from the Orvibo server. The backup contains all of the IR codes learned by the device - they are stored in the app and not the device itself.

Using the backup content and some Ninja Blocks driver code I have managed to send out the IR codes successfully.

I don't know how many people are interested in this device though.


Could share you JAVA utility?
Regards
pluggin
 
Posts: 1
Joined: July 27th, 2016, 2:28 pm

Re: [Help] Reverse engineering an Orvibo AllOne IR Blaster

Postby Grayda » January 16th, 2017, 11:23 pm

usa303 wrote:So, did you managed finally to figure out IR messages format for AllOne?
I also have the same problem now.


Sorry for necro-ing this thread, but I managed to get AllOne support in. You can put the AllOne into learning mode, press a remote control button, and get the IR code back. But I'd also like to see @gdbgeek's code for getting the IR codes

If you know javascript, check it out here: http://github.com/grayda/node-orvibo .

(and for those wondering, I also wrote the Ninja Blocks driver. node-orvibo is a standalone version of my Ninja Blocks driver)

I'm also working on node-orvibo2, which will have support for newer Orvibo products like the Kepler, Coco, SmartCube (a better version of the AllOne) and the B25 (which is an improved version of the S20)

Hope this helps someone!
Grayda
 
Posts: 5
Joined: August 26th, 2012, 11:51 pm

Re: [Help] Reverse engineering an Orvibo AllOne IR Blaster

Postby gdbgeek » March 11th, 2017, 3:54 pm

Apologies, I don't actively monitor this forum.

The Java app is available here; http://ope.nz/files/OrviboLearn.jar

The derived Java code is available here; https://github.com/ope-nz/Orvibo-Learn/ ... /main.java

The original basic code is more readable though; https://github.com/ope-nz/Orvibo-Learn/ ... 0Learn.b4j
gdbgeek
 
Posts: 4
Joined: December 13th, 2015, 1:58 pm

Re: [Help] Reverse engineering an Orvibo AllOne IR Blaster

Postby usa303 » March 13th, 2017, 8:35 am

gdbgeek, you mentioned earlier that "the backup contains all of the IR codes learned by the device".
Did you managed to reverse structure of this backup? Orvibo app also loads these codes from web server, and stores them in .db files. Each .db file contains several IR codes, but overall structure of this .db file is not available.
usa303
 
Posts: 2
Joined: March 21st, 2016, 9:26 am

Re: [Help] Reverse engineering an Orvibo AllOne IR Blaster

Postby gdbgeek » March 16th, 2017, 3:40 am

usa303 wrote:gdbgeek, you mentioned earlier that "the backup contains all of the IR codes learned by the device".
Did you managed to reverse structure of this backup? Orvibo app also loads these codes from web server, and stores them in .db files. Each .db file contains several IR codes, but overall structure of this .db file is not available.


So the app talks to a REST service at http://wiwo.orvibo.com/jsp

Unfortunately this web service doesnt appear to be working any more. I cant access it from my utility or from the official WiWo app. I dont know if its gone dark or not. This service is where the codes are retrieved and backed up. The backup is just a JSON string.

It was pretty easy to deconstruct, here is my code to decode the backup; http://pastebin.com/0ndsSeHp

The IR codes correspond to predefined "button" codes (called orders for some reason) - you can see the full list here; http://pastebin.com/wzWtNeED

I'll see if I can find on of the JSON backups for you.

What exactly are you trying to do?
gdbgeek
 
Posts: 4
Joined: December 13th, 2015, 1:58 pm

Re: [Help] Reverse engineering an Orvibo AllOne IR Blaster

Postby gdbgeek » March 16th, 2017, 7:05 pm

So it looks like the service is back up today.
gdbgeek
 
Posts: 4
Joined: December 13th, 2015, 1:58 pm


Return to Requests and commissions

Who is online

Users browsing this forum: No registered users and 2 guests

cron