-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[FR] M117 support for RRF #1979
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
Comments
does M118 behave the same way? |
@jaysuk Thats what my second thought was, after work I will check it again with M118. What P parameter should I use, 0/2? |
might as well try both and see what happens.
hopefully both will work, if not as long as one of them works we can at
least note that as a current restriction
…On Tue, 8 Jun 2021 at 13:42, bttguy ***@***.***> wrote:
@jaysuk <https://github.com/jaysuk> Thats what my second thought was,
after work I will check it again with M118. What P parameter should I use,
0/2?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1979 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATUSBWUDTINJDVCV57RMTLTRYF2NANCNFSM46JUPKPQ>
.
|
@jaysuk M118 behaves the same way as M117, only displays on DWC regadless the P value. I cant execute it from the TFT, the on screen keyboard doesnt have "-character, but it would be meaningless anyway... |
M117 is a one way message. It will only be displayed on the LCD or DWC So this will be useless if it did not pass through the TFT. With M118, the message should be relayed to all the connected hosts as an echo message if the message does not contain any of the keywords which are suppressed by the TFT. You should check to which ports/targets the M118 message is relayed without the P parameter. |
On Marlin, M117 seems forwarded to the TFT as a notification. E.g. the "M117 Time Left xxx" is received as "action:notification Time Left xxx". I Don't know if a specific setting has to be enabled in RRF to provide this kind of feature. |
As far as I understand it, M117 does it automatically if a TFT is
configured.
The next step would be to see what is sent.
…On Thu, 10 Jun 2021 at 14:26, Antonino Di Guardo ***@***.***> wrote:
On Marlin, M117 seems forwarded to the TFT as a notification. E.g. the
"M117 Time Left xxx" is received as "action:notification Time Left xxx". I
Don't know if a specific setting has to be enabled in RRF to provide this
kind of feature.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1979 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATUSBWMLBPQAICFY7LCIVTTSC4QZANCNFSM46JUPKPQ>
.
|
This would be wonderful if it's possible. It would be great for providing status from custom macros. Let me know if I can help with the testing |
Can we also include M291 and M292 in these deliberations? |
You can print notification on TFT by command: M118 P2 S"//action:notification Text_here" |
Yes, that does work! Thank you for the information. M118 in print files, macros and console messages formatted this way and applied on the DWC or mainboard do appear on the TFT! This doesn't help for M117 (not really a problem) or M291 (would be nice to have). |
@pfn Do you have and idea/solution to let these msg-s displayed on the TFT? Did you tried it/would like to help solve this problem or figure out a workaround? :) |
I need to know what the wire protocol is for M117, it's not obvious to me at the moment, so I'm not going to look into it. I'm looking into doing interactive M291 for the TFT next. I have a plan on how to approach and resolve it already. That means interactive macros will work (at least for OK/Cancel -- no plan to support jog buttons yet) |
M117 looks like it won't be supportable given the current configuration to use with the TFT. We typically use RRF has the following code for handling M117:
Basically, the M117 payload is only sent if the port is not in "raw mode" I don't know what the scope of getting the TFT to work in PanelDue mode would be. |
@pfn Any changes that had been implemented recently could make this FR possible, or its still not possible without a major rework? |
This does not seem possible without switching to PanelDue mode; and that requires a large amount of rework |
Looks like the changes in #2171 will enable this to happen pretty easily |
@pfn wonderful news to a monday!! |
When I tested M73 support it was a bit confusing wether it was working or not. Not sure if it is a TFT or RRF or user related bug, but anyway. SuperSlicer now has M117 support for remaining time, which might be useful, at least as an option. I would be also interested in this feature. @bigtreetech maybe you could check on this one too? :) |
It is pretty easy, but my understanding is that M575 S0/S1 isn't working well lately, and I don't have time to investigate it at the moment. The next time I open up my printer, I'll extend a breakout cable for rx/tx/gnd so that I can attach a serial monitor to see what's going on. TFT work is on the back burner for me currently. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
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. |
Just checked how's M117 working with RRF, and it needs a little optimization. It would be a nice feature for RRF users too #1791.
Te current behavior after I enabled M117 at config.ini:
M117 sent from TFT terminal -> notification pop up on TFT and on DWC
M117 sent from DWC console -> notification pop up only on DWC
I would like to implement the feature, when M117 sent from DWC it would also pop up on the TFT as a notification. Maybe it could also help in macros where a massege should pop up/user action is required.
The text was updated successfully, but these errors were encountered: