Closed ibrunops closed 1 year ago
Hi there! Thanks for posting this. We should be able to get it working somehow.
A few points:
I dug up a Hisense phone with an IR blaster but it seems to not be compatible with either of those apps...I can still try and make an irplus file though if you are still interested (I know it's been a long time since you posted).
Hi Daniel! Thanks for answering! I can help you with whatever you need, if you can create an irplus file that would be great! Also if you want, we can coordinate a day in case, for example, you want to test some configuration of the 2nd app in real time with my phone, so we can discover it faster. My spoken English is not very good but I try my best haha
Okay great! I'll see where I can get with generating an .irplus file, but that could be good. Hopefully I will have an update tomorrow.
I made an irplus file! I hope it works. It's just got one command for now that should make the bracelet blink red for a second or so. If it works I can add some more.
By the way, what show did you get the bracelet at? Have you replace the batteries since the event/how long ago if so?
Link: https://drive.google.com/file/d/17edwUHpE3IXD_OYrKe2ZmNfqv5JGiCCp/view?usp=sharing
Hi Daniel! The irplus file works perfect!
Yes, my bracelet is from the Coldplay concert in november here in Argentina, it works fine, I had already made it work with your tutorial, using an Arduino Nano and a raw IR. I just had to change the batteries.
I was looking at the file and I understand that you used IrScrutinizer to create it. Did you have to read with that program the IR signal emitted by your python code with an IR receiver so that the program would then convert it to PRONTO_HEX and then to an irplus file? Or did you do it another way? I wanted to know because I would like to be able to make my own irplus files, but if it's like I said before, I would have to buy an IR receiver and the whole process is quite tedious, I thought there was a way to convert directly from your code.
I'm so glad to hear the file works. I hope the Coldplay concert was good--I'm so sad they didn't come anywhere within a few hundred miles of where I live, haha.
I actually didn't need to use an IR receiver with IrScrutinizer at all! It was simpler than I thought, and I think you'll be able to do it yourself. It's still a little tedious because you have to do it code-by-code, but it's not that bad. You basically need to take the raw timing for the cleaned IR signals (which you can get from the .IR files here: https://github.com/danielweidman/flipper-pixmob-ir-codes).
Here is what I did:
1400 1400 700 700 700 1400 700 2800 700 2100 1400 700 700 700 700 1400 1400 2800 1400 2800 700
. (Each of those numbers represents the number of microseconds until the signal switches from high to low or vice-versa).Note: that will get you one file per signal/color effect/code. I think you might be able to get one file with multiple codes (presumably this would show as one remote with many buttons) another way: Instead of pasting the signal into the "Scrutinize signal" page (step 7), go to the "Scrutinize remote" page and then the "Raw remote" tab, then right click somewhere in the tab and click "Import signal from clipboard". Hopefully you can repeat that over and over for each signal and it will only take a few minutes. I think that will give you a remote with multiple signals (you might be able to use the "Comment" column to name them). When you have added the ones you want to the list, press "Export". I didn't test this process though so no promises.
Does that make sense? I hope that the instructions are clear enough. Let me know how it goes.
(to be clear, I'm sure it would be possible to do this automatically with code, but it would require figuring out how the .irplus file format works and then writing a program and I don't have tons of time to spend on that right now.)
Hi Daniel! You are a genious! It's not tedious at all, it would be worse to do what I said with the IR receiver. I'm going to try it today, but I already know it works because you managed to do it! If I spare the time, I'll try to make a single irplus file with as many codes (effects) as possible, because the file structure doesn't seem that complicated. And as you say, in the app it will look like a remote control, I'll try so that instead of words there are colors directly in the app. And I will record a video showing the results.
A couple of things I wanted to know, each line that starts with "data" would be a color/effect, right? But it may not be something with immediate effect on the bracelet, is it? I would have to try all of them and see which works and which doesn't, in addition to categorizing them by color because it is not indicated in those files. I am correct, right?
If I can get a good understanding of the irplus files, maybe I could make some python code that would automate this, but no promises haha, but I'll try.
Another thing I wanted to tell you about, in the "brute_force_gui.py" file, the SKIP_FIRST_N_CODES variable is not initialized and when I try to run the program it gives me an error. I solved this by doing a SKIP_FIRST_N_CODES = 0 but I don't know what the variable does so I don't know if what I did was right, anyway doing that the program runs fine and I was able to find two new immediate effects, running as the program was written. I still can't quite understand which bits to change to find new combinations, if you could explain it to me again that would be great, otherwise don't worry.
Any news I have I will write it here, thanks again for everything!
Edit: Ah, I can't tell you if the concert was good because I didn't go haha, I asked for the bracelet from a friend who did go. The truth is, I am much more interested in this technology than a Coldplay concert, it would have distracted me a lot haha
Hi there!
Thanks for the well-thought-out reply and questions. I'm about to go out right now so I can't respond to everything, but I will say that if you use the IR files in the "flipper" repository (rather than this one), pretty much all of the codes will show an immediate effect. A few lines above the data line there is a name for each:
https://github.com/danielweidman/flipper-pixmob-ir-codes/blob/main/PixMob_main.ir
The raw IR files in this repo are the ones that don't all have immediate effects.
Also, setting SKIP_FIRST_N_CODES to 0 was good, I'll have to look into why that was broken in the first place. I can explain what it does and answer your other questions later!
On Fri, Dec 16, 2022, 5:23 PM ibrunops @.***> wrote:
Hi Daniel! You are a genious! It's not tedious at all, it would be worse to do what I said with the IR receiver. I'm going to try it today, but I already know it works because you managed to do it! If I spare the time, I'll try to make a single irplus file with as many codes (effects) as possible, because the file structure doesn't seem that complicated. And as you say, in the app it will look like a remote control, I'll try so that instead of words there are colors directly in the app. And I will record a video showing the results.
A couple of things I wanted to know, each line that starts with "data" would be a color/effect, right? But it may not be something with immediate effect on the bracelet, is it? I would have to try all of them and see which works and which doesn't, in addition to categorizing them by color because it is not indicated in those files. I am correct, right?
If I can get a good understanding of the irplus files, maybe I could make some python code that would automate this, but no promises haha, but I'll try.
Another thing I wanted to tell you about, in the "brute_force_gui.py" file, the SKIP_FIRST_N_CODES variable is not initialized and when I try to run the program it gives me an error. I solved this by doing a SKIP_FIRST_N_CODES = 0 but I don't know what the variable does so I don't know if what I did was right, anyway doing that the program runs fine and I was able to find two new immediate effects, running as the program was written. I still can't quite understand which bits to change to find new combinations, if you could explain it to me again that would be great, otherwise don't worry.
Any news I have I will write it here, thanks again for everything!
— Reply to this email directly, view it on GitHub https://github.com/danielweidman/pixmob-ir-reverse-engineering/issues/10#issuecomment-1355724786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKUZU3FD7Q5IJWKSXU5NLWTWNTTVNANCNFSM6AAAAAASK5OFQ4 . You are receiving this because you commented.Message ID: @.*** com>
Hi, This works on the Capital Jingle Bell Ball concert bracelets from a month ago! Currently trying to use IrScrutinizer to modify more code. I'll let you know how it works.
EDIT: Working so far... lmk if you want me to make more. The show was on the 11th, and today is the 27th I haven't replaced the battery, so all good!
Guys,
I've converted some codes to irplus format. I'll publish how to convert .ir codes and convert it to .irplus format without using IrScrutinizer.
Copy the following text into a new empty file (notepad) and name it as [something.irplus] and then import to irplus application.
Hi man, could you make the ready-made irplu file available, I'm trying to do it the way you explained but I'm not succeeding, another question I noticed that your nickname is written "BR" are you also from here in Brazil??
Hi man, could you make the ready-made irplu file available, I'm trying to do it the way you explained but I'm not succeeding, another question I noticed that your nickname is written "BR" are you also from here in Brazil??
Hi, I managed to insert codes @aguilerabr provided into the codes @danielweidman provided by replacing the <button label to /devices> section with the new one. Here's the file: https://drive.google.com/file/d/1aq_BR_O_WG6dac8mDoNImq3yEFAI3rJn/view?usp=sharing
Thanks for sharing the codes. With that, I designed a button panel in IRPlus that works very well on my Xiaomi phone.
Here it is: https://drive.google.com/file/d/1MDwlA1X-oaqCnGtmLwvYhDgckzV6VE1P/view?usp=drivesdk
Hello! Good day. Could anyone create those in google drive but make it constantly blinking in all colors. from all the file in the google drive, it was only remote to each color like blue, red, green, etc. in the it plus.
I made an irplus file! I hope it works. It's just got one command for now that should make the bracelet blink red for a second or so. If it works I can add some more.
By the way, what show did you get the bracelet at? Have you replace the batteries since the event/how long ago if so?
Link: https://drive.google.com/file/d/17edwUHpE3IXD_OYrKe2ZmNfqv5JGiCCp/view?usp=sharing
can you make one like this in the video?
Thanks for sharing the codes. With that, I designed a button panel in IRPlus that works very well on my Xiaomi phone.
Here it is: https://drive.google.com/file/d/1MDwlA1X-oaqCnGtmLwvYhDgckzV6VE1P/view?usp=drivesdk
can you make a constantly blinking like in this video?
could someone make a google drive link for it plus remote with this synchronization? https://vt.tiktok.com/ZSY62DxCj/
Hello! First of all, excellent work. All the information in this repository is amazing, I would love to have a Flipper Zero and have recorded some IR broadcasts at a concert. I wanted to ask you Daniel if it would be possible to use the IR blaster that comes in some android smartphones (for example, I have a Xiaomi Redmi Note 7) to reproduce the IR commands. I found this app https://play.google.com/store/apps/details?id=net.binarymode.android.irplus that allows you to upload codes to be used by the IR blaster, but I'm having trouble figuring out how to use it. On their website https://irplus-remote.github.io/#learning they have a converter for example, and they explain how to use the app. Should I use the .ir files that are in the "raw_wild_ir_captures" folder? Because if I try to convert that code I don't get anything useful. I know I'm missing something but I don't know what it is, if you can help me that would be great. Greetings and thanks in advance!
Edit: I also found this app https://play.google.com/store/apps/details?id=com.keuwl.irremotecreator that allows you to set timing, frequency, command and so on, but I don't know what to use. Thanks!