UberGuidoZ / Flipper

Playground (and dump) of stuff I make or modify for the Flipper Zero
GNU General Public License v3.0
13.79k stars 3.23k forks source link

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

Open sealldeveloper opened 1 year ago

sealldeveloper commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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.

Sliicy commented 8 months ago

@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 commented 2 months ago

any updates bruh? 💀

avipars commented 6 days ago

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