-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
[FR] status message support for ender v2 dwin #20349
Comments
Same here.... I do not use usb connection so the LCD messages are important for me. |
The only thing I can think of is that we can incorporate the status message to be a module so that we can read m117 from a module and put the string on the info screen. |
We could. I would love it. |
Ok, i was able to get the status message on the dwin screen. But this is an ugly patch. How can I reach someone to get some tips on how to do it? Or is anyone planed to do it anytime soon? |
Do you have the code on your GitHub? I wanna see what you had to do, I have some knowledge of c++ but I'm not too good. |
No, not on my github. I still have to learn more about github. |
That is interesting, if I'm not mistaken I saw an if statement that checks if you enable the creality dwin, by using that you can store it in a variable by adding an else if. |
What is the line you used to store it in a variable? Just put it here in a comment using markdown. |
Yes but this is not right to do it that way. But anyhow... here it is... In marlinui.cpp line 41 (Sorry not sure what you mean by using markdown...
I didn't turn on the HAS_DISPLAY because it triggers several other things. also, in line 69,
and then, in line 1615, we need to remove the following code:
This will make the status_message to hold the messages. |
Instead of removing the line 1615 section what if we wrapped it in a |
None of this change is suitable to be release. This is a dirty patch. The real mod can’t be done that way. I need to talk to one of the contributors to see what would be the way to go. |
Obviously the real mod cannot modify the code to the point it requires other people to change the config. Go a lack of words, we need a zero impact patch. |
@thinkyhead might be able to help with this as I've seen he works on the creality printers alot. Even if he can't some advice on the idea would be great help I'm sure |
I was under the impression that if we define #define GLOBAL_STATUS_MESSAGE that it would be all. But no, it fails because START_OF_UTF8_CHAR isn't defined. This is defined if HAS_DISPLAY is on. Then it goes on and on requiring more and more. I'm afraid to change too much by defining all of them. Not sure why START_OF_UTF8_CHAR is under a condition at all. |
another person I noticed that is working on E3V2 and sometimes on the DWIN is @sjasonsmith over the last few days he has done work on fixing DWIN menus. he should also be able to help with this. |
the reason that it appears to be separate is because it is also defined in 'lcdprint.h' which doesn't seem to be used by the DWIN class |
is there a way we can get someone to look at this? its definitely possible but only with what seems like substantial code changes. |
No longer going to pursue this as i have replaced my screen with a 12864 LCD and just compiled marlin using the ender 3 pro settings for the lcd. |
Hi! Any news?? |
I'm now running a BTT SKR mini e3 with a 12864 LCD since it was just too difficult to pursue adding things to the interface that just weren't meant to be there. |
I've decided to take a look at this, but there seems to be some general define cleanup required. It also looks to me like the whole DWIN display should be able to work with many kinds of UIs, not sure why that isn't an option. |
Ho I’m so glad. If i can do something to help, or test, let me know. |
Got it to show a single line of status message at the bottom of the display. This is good enough to show M117 messages, but there is still some conflict with the Marlin Core UI. Hopefully this will get solved if the Ender3v2 UI gets moved over to ExtUI. Unfortunately this collides with #20983 |
The status area in #20983 is built to show M117 messages above it, in between the status area and the menus. This is how I have it build in my custom dwin firmware and it works well. |
@Jyers Yes, I see you've done quite a rewrite, with a different take on M117 processing. I've tried to reuse as much of MarlinUI as possible, but it seems like it all requires some rewrite and cleanup. What are your thoughts on moving all of this to ExtUI? It feels to me like there are already too many special cases for handling DWIN_CREALITY_LCD all over the place. |
I totally agree, I hate how much extra needs to be added to the base marlin for the dwin display. I would love to move it over to ExtUI, the only issue is time. I started the rewrite before I even really knew anything about ExtUI, as all I really wanted was to clean up the dwin code. But I do believe with a little work, it wouldn't be the worst thing to move my code over and have it function seamlessly with ExtUI. For now I'm going to focus on the brunt of debugging and cleaning up my version, then I can start the work on moving it over. |
Added in #22422 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Looking to get support for status (m117) to be shown on the print screen of the creality dwin screen.
The text was updated successfully, but these errors were encountered: