Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion/Request: Can we have a Flipper-SGDB like we have Flipper-IRDB? #313

Open
sealldeveloper opened this issue Jan 13, 2023 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@sealldeveloper
Copy link
Contributor

I love the IRDB but trying to use the main Flipper repo as a submodule is a nightmare. Perhaps a seperate DB for Sub-GHz if possible?

Thank you!

@UberGuidoZ
Copy link
Owner

Thanks for your additions lately. This has been discussed (and attempted to be started with Flipper-Research repo), but ended up breaking a number of things that others are using. So, I reverted back and haven't found a solution since. Basically, so many people link in and have things scripted, moving things around breaks a bunch. Trying to be respectful to all since this has become a "water hole" of sorts.

SubGHz is the one I've been thinking about parting out and could maintain via some scripting on the back end so it has it's own repo AND is still a part of this one. 🤔 Let me think on it a bit.

@sealldeveloper
Copy link
Contributor Author

Makes sense, potentially submodules could allow for it to all work? Just makes more sense to me as some people only want certain aspects of the DB such as SubGHz or IR, thats why seperate repos would be preferable, atleast for me.

Let me know if a solution is found/chosen!

@UberGuidoZ
Copy link
Owner

What I'm thinking is a separate repo (SGDB sounds good) that will be built via scripts on the backend. It will skip anything that is not a ReadMe or a SUB file to keep the size down. I need to figure out some of the git actions to make that happen. Leaving this open for now.

@UberGuidoZ UberGuidoZ added the enhancement New feature or request label Jan 18, 2023
@UberGuidoZ
Copy link
Owner

This is still on my radar. If you want to help... I made a repo to get started. Still trying to figure out the best way to do it without having to deal with duplicates and/or breaking existing things. 🤔

Free time lately has been very limited. Hope to get back to this soon.

@sealldeveloper
Copy link
Contributor Author

Sounds good, glad to see a start. Sorry I would try help more but I am extremely unfamiliar with GitHub Actions. Excited to see if this works out.

@sealldeveloper
Copy link
Contributor Author

Had a think about this, why not migrate all the Sub-GHz files in the Flipper repo to the SGDB, then make a new submodule in Flipper?

@sealldeveloper
Copy link
Contributor Author

Trying to do it myself to show the concept but the pre-existing submodules that exist in the Flipper Repo are not the easiet to convert over to an SGDB repo.

@UberGuidoZ UberGuidoZ self-assigned this Feb 6, 2024
@Sliicy
Copy link
Contributor

Sliicy commented Feb 26, 2024

@UberGuidoZ I would just like to add that I think a cleanup of the entire structure can really help organize and improve things. For example, I noticed that there is a directory for Doorbells yet there's also another one called Door_Entry_Motion_Sensor_Chimes, and yet, inside the Misc folder, there's another doorbell folder called Cinbos_DoorChime. These can all be grouped together into Doorbells.

I like your layout:

Sub-GHz
|
|---Type of hack (doorbells, cars, lights, garages, etc.)
            |
            |---Manufacturer
                          |
                          |---Available Buttons

One of these days when I get the chance, I don't mind helping organize everything!

@inf-solutions
Copy link

any updates bruh? 💀

@avipars
Copy link

avipars commented Oct 22, 2024

Would break existing playlists potentially (as the file structure may have changed).

@UberGuidoZ
Copy link
Owner

I've been speaking with some of the firmware devs on the best process to do this. As stated, a lot of links point to certain places and I've come to realize a number of other Flipper services also point at and link to my repo, including in some automations for resource building and such. Trying to ensure major changes are communicated and don't break everything. I may just see if I can maintain both so nothing changes, but this would give the option for easier access. Undecided currently and still working through it all.

I promise it has not been forgotten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants