-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
Access to Matrix through serial or other means #3303
Comments
@joex92 hello, If you want to change Matrix image programmatically (you mention writing a Python code and using Linux for example) - then it's absolutely possible. G-Helper uses this library to access matrix https://github.com/vddCore/Starlight , so you can also write your own code to set whatever you prefer. I have extended / modified this library a bit afterwards, so you can use one form G-Helper codebase directly As for your (specific) use-cases,
What does Serial mean in your understanding? Library to access matrix allows you to set brightness for each individual pixel.
"Streaming" video to Matrix would cost a lot of resources (as you need to decode it to each frame, scale it and output pixel by pixel to matrix). But it is possible to set any animated GIF to matrix already. You can just convert video to GIF in advance and play it
What is ArtNET or DMX ? |
@seerge Hi, thanks for the library, I will check it out... but how do I use it with G-Helper to do testing?
|
If you write your own app to change matrix - you don't need G-Helper :) All communication between matrix and the app happens via USB interface. So you just need to reuse existing code and extend it.
|
|
Library / code actually sends data to the USB device :) Literally check code at https://github.com/seerge/g-helper/blob/main/app/AnimeMatrix/AnimeMatrixDevice.cs it has methods to set individual leds, pictures and even text. |
Insteresting... thanks... Don't you think it would be good to add to G-Helper the feature to use a custom code as a matrix option? Also there's no text option and I see you have a Text function on your code... |
@joex92 well, G-Helper can't run the "custom code" :) it's an app. Custom code can be written by reusing / extending what is already created as part of the project. There is a text function, and it is used currently to render clock (it's a text with time and date). And eventually I might add an option to add any random text as well (see existing issue request). |
@seerge I was thinking on a way for people to "add modes", you could add a Folder where all the modes are and the app could load them as modes... isn't that possible? |
@joex92 that could be extremely difficult :) it would require some own pseudocode that will needs to be processed. If someone with technical skills want to do something custom - it would be easier for them just to write app in C# (or extend G-Helper and offer it as a pull request) |
@seerge 🤔 I don't think a pseudocode would be strictly needed, it could use C#, and the app could just "load that script" as a mode... that way you don't need to use any other code language and just use the same language... |
@joex92 that won't work, sorry. Windows apps written in C# / .NET need to be compiled. |
@seerge oh... I see... then there must be some "pseudo language" coded in C# that could do that... I don't believe there's none, there must be some existing one that could be used... 🤔 |
@joex92 i'm not aware of any. To summarize our discussion - if you want to extend app functionality (i.e. add some new matrix mode) you will need to clone repository and just program this new mode and do a PR. If it's helpful and not resource-heavy I can include it. Or you can just write / play around with your own app by just re-using G-Helper code. |
@seerge ok, I'll look for one and share it here if I find it... anyways, thanks for all the info and the patience, I'm going to try to do some testings... It's been decades since I used C, and this time it's C#... |
@joex92 ok, np. I'm closing this as answered (as this is not an issue by itself). As mentioned - if you want to extend the app - it's possible :) |
Rules
Is your feature request related to a problem? Please describe
For me I find it wasteful to not be able to fully customize the Matrix beyond just "setting images" or preconfigured modes...
I saw that on Linux you can change it with Python, idk if that's possible on Windows...
for example being able to show anything dynamically, almost like an exrta screen...
Describe the solution you'd like
I've thought on many ways...
Describe alternatives you've considered
the only thing in mind is using Linux... because I don't even know if this is possible...
Device and Model
Asus ROG Zephyrus G14 GA401QC
Additional information.
Even if this may be too much for you, It would be good, for me at least, to know how to access it by myself and do some testing... idk how to even start...
The text was updated successfully, but these errors were encountered: