(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.