jneilliii / OctoPrint-M117SpeechSynthesis

5 stars 1 forks source link

Messaging on every layer change ? #18

Open j-snijder opened 1 year ago

j-snijder commented 1 year ago

Installed the plugin and tested it, to my surprise it did work on my setup.

One problem though, it messages me on every layer change with a spoken message which is not related to the choosen option ?

jneilliii commented 1 year ago

This is probably because display layer progress is sending those m117 messages.

j-snijder commented 1 year ago

Hi šŸ˜Is there a way I can switch that off ?Thanks for replying so fast šŸ˜Kind regards J, SnijderĀ Op 31 okt. 2022 01:17 schreef jneilliii @.***>: This is probably because display layer progress is sending those m117 messages.

ā€”Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

jneilliii commented 1 year ago

You could disable that plugin would be one way, but then you won't get the updates on the printer's screen. I could potentially add a filtering option similar to terminal filters that would allow you to exclude those messages in a future update.

jneilliii commented 1 year ago

small note to myself to implement the same filtering I have in M117 Pop Up here.

j-snijder commented 1 year ago

Hi

I checked my setup but display layer progress plugin is not installed, it was installed before but I must have uninstalled it, donā€™t know why but must have done that otherwise it would be in the list.

Sorry.

It would be an option as you mailed to yourself šŸ˜Š to add an extra filter to suppres unwanted messages.

If you like Iā€™ll test some more whenever the update is done šŸ˜Š

Kind regards, Jan

Verzonden vanuit Mail voor Windows

Van: jneilliii Verzonden: maandag 31 oktober 2022 16:13 Aan: jneilliii/OctoPrint-M117SpeechSynthesis CC: j-snijder; Author Onderwerp: Re: [jneilliii/OctoPrint-M117SpeechSynthesis] Messaging on everylayer change ? (Issue #18)

You could disable that plugin would be one way, but then you won't get the updates on the printer's screen. I could potentially add a filtering option similar to terminal filters that would allow you to exclude those messages in a future update. ā€” Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

-- Dit e-mailbericht is met Avast-antivirussoftware gecontroleerd op virussen. www.avast.com

j-snijder commented 1 year ago

In the meantime I have reinstalled "displayLayerProgres" plugin for testing purposes.

Just give a yell and I'll dive into testing again :)

Regards, Jan

j-snijder commented 1 year ago

Extra note on the subject:

On my cellphone it calls out the text that is in the small floating window on top of OP, so that's at least somewhat like it should be ?

j-snijder commented 1 year ago

STOP the presses :)

Works !!

What did I have to do ?

In DisplayLayerProgress I had to change the Message Output on the Printer Display settings to the info I wanted to hear.

In my Case (Dutch) it had to be : "_Voortgang [progress]% Huidige printlaag [current_layer] Nog [printtimeleft] te gaan" for it to work as I wanted.

One remark on this though, th "m" in [printtime_left] is spoken as meter but needs to be minutes ! Anyway how to change that ?

It took me a while to discover where MY problem was but found it and now understand (I hope) how to use the output.

If there is a way to make "m" ino minutes (or minuten, as I'm Dutch) I like to hear from you.

Thanks in advance, regards and greets

jneilliii commented 1 year ago

The plugin just speaks what is given on the m117 messages. I don't use that other plugin so have no idea what options are available for making the messages what you want. Maybe a question for its issue tracker/docs.

j-snijder commented 1 year ago

After some more testing it seems that it happens that after a few times speaking out the riht text it goes bezirk and the plugin falls back to "Dasboard_Layer_Indicator" This happens every 5 or 6 times, and then goes back to what its supposed to do, and 5 or 6 times later again the "DLI"

As I now have set the interval at 10 seconds I'll check if setting a wider time window of 30 seconds will solve this.

j-snijder commented 1 year ago

The plugin just speaks what is given on the m117 messages. I don't use that other plugin so have no idea what options are available for making the messages what you want. Maybe a question for its issue tracker/docs.

I've uninstalled that plugin but that was not the issue, now only testing with DisplayLayerProgress

j-snijder commented 1 year ago

Could that be my problem also ?? and why ?

https://github.com/OllisGit/OctoPrint-DisplayLayerProgress/issues/266

jneilliii commented 1 year ago

I told you that already, the other plugin adds those m117 messages to your files.I should have been more clear before that you need to disable that plugin and reupload your files if you don't want those layer messages.

j-snijder commented 1 year ago

Ah, okay :( my bad, that part I didn't get :)

Okay I'll do that and report back :)

j-snijder commented 1 year ago

Okay, disabled the displayLayerProgress plugin ad reloaded a small file.

Now were back to "Dasboard_Layer_Indicator xx" messages :(

At least when the DisplayLayerProgress plugin was installed I had the possibility to edit the text thats spoken, wich actually is nice.

Getting only a message on which layer the print is (whats happning now) is not what this plugin is meant for ? is it ?

jneilliii commented 1 year ago

You sure you don't have any other display plugin or your slicer might have on layer change code enabled? Maybe octolapse?

j-snijder commented 1 year ago

Yes I also have that enabled :) so have to disable that to ?

Better then to disable all but m117speech synthesis you're saying ?

j-snijder commented 1 year ago

Have disabled octolapse too, still problem stays.

I'll abandon this plugin, sorry, is costing me too much time to find out what's wrong.

jneilliii commented 1 year ago

Well, I've told you over and over what's causing the issue. Something is embedded in your gcode either by plugin or slicer that is causing the M117 messages to be sent to your printer/this plugin. The plugin doesn't care how the messages get there and it will just speak them as intended as they are sent. I can't say what that is but my guess would be your slicer on layer change gcode is probably what is giving these last messages now. The easiest way to determine this is to slice a gcode and save to your computer, open that file in a text editor and search for M117 messages. If the messages are there then it is your slicer doing this. If they are not there then it is a plugin doing it.

j-snijder commented 1 year ago

Hi,Okay, thats a way to do it fast and simple.I am currently very busy due to internal problems so as of now little time to spare, sorry.I will however try to do as much as possibleĀ Regards, JanOp 2 nov. 2022 15:55 schreef jneilliii @.***>: Well, I've told you over and over what's causing the issue. Something is embedded in your gcode either by plugin or slicer that is causing the M117 messages to be sent to your printer/this plugin. The plugin doesn't care how the messages get there and it will just speak them as intended as they are sent. I can't say what that is but my guess would be your slicer on layer change gcode is probably what is giving these last messages now. The easiest way to determine this is to slice a gcode and save to your computer, open that file in a text editor and search for M117 messages. If the messages are there then it is your slicer doing this. If they are not there then it is a plugin doing it.

ā€”Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>