Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Creating new option on TV B GONE: Custom Code #121

Merged
merged 4 commits into from
Apr 19, 2024
Merged

Conversation

IsaacLouzeiro
Copy link

No description provided.

@IsaacLouzeiro
Copy link
Author

IsaacLouzeiro commented Mar 1, 2024

A new option has been added to the TV B GONE feature, allowing for custom IR codes. It is now possible to add new infrared codes contributed by new collaborators or reuse codes from other projects.
To add new codes, place the corresponding files in the 'codes' folder and link them to the project. Then, navigate to 'Custom_Ir_Codes.h' for inclusion. After that, go to the 'WORLD_IR_CODES.h' file, and at line 8838, you'll find an array 'const IrCode* const CustomCodes[]'. Inside this array, include the newly created file (based on the provided examples)."
I used the repository at DjordjeMandic/Universal-IR-Blaster-TV-B-Gone as a reference.

@IsaacLouzeiro
Copy link
Author

IsaacLouzeiro commented Mar 1, 2024

I just ran a test; previously, it didn't work on an LG TV. However, after running the customized code (which includes LG TV codes), it was possible to turn the TV on and off normally.

@n0xa
Copy link
Owner

n0xa commented Mar 2, 2024

I dig it. Do you have a good way for average folks to capture new IR codes in a way that's compatible with this new framework? Examples might be a Circuit Playground Express or Flipper Zero that have IR receivers built in, or an IR reciver plugged into the M5Stick. That doesn't need to actually be baked into NEMO yet but One thing I'd love is for it to be easier to capture and add new codes. I'll test this out this weekend if I get time. I'm still in the process of packing and moving.

@IsaacLouzeiro
Copy link
Author

This is my second step, using a receiver to capture and send the code to the "Custom" section. I'm diving into this implementation, but for now, all I've got is the good old manual add-on.

@n0xa n0xa changed the base branch from main to develop April 19, 2024 09:48
Region was outside of range check
@n0xa n0xa merged commit 231f7b9 into n0xa:develop Apr 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants