Skip to content
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

Custom printer name setup in config #301

Closed
Hoeby opened this issue Feb 18, 2024 · 9 comments
Closed

Custom printer name setup in config #301

Hoeby opened this issue Feb 18, 2024 · 9 comments
Labels
Feature Request New feature or request

Comments

@Hoeby
Copy link

Hoeby commented Feb 18, 2024

What would you like to see added?

When the printer is started, the first message is "printer online".

I have multi printers, all with there own klipper environment. But also with there own hardware. Both give the first message "printer online"

Would like to modify the name "printer" so that i know which one is online.

Tried in mainsail to modify the printer name, but that isn't send in the telegram messages

@Hoeby Hoeby added the Feature Request New feature or request label Feb 18, 2024
@Altblechkutscher
Copy link

Don't you use individual bots? In my case, I have named the bot corresponding to my printer, which gives me a nice notification:

image

@Hoeby
Copy link
Author

Hoeby commented Feb 19, 2024

No, i use 1 bot for all. It is also used for my home automation. This gives me all information in 1 bot view.

I know that i can't use the commands from telegram, to control the printer. Because more environments are lissening to the same bot. But i think that has nothing to do with the name "printer online"

@Altblechkutscher
Copy link

So if I've understood correctly, something like this?

grafik

grafik

grafik

@Hoeby
Copy link
Author

Hoeby commented Feb 20, 2024

Yes, that is exactly the idea.

If i see it correctly, it is waiting for approve, to get merged?

@Altblechkutscher
Copy link

Yup. Did recently a change for another topic and knew where to add things to the config, so i just added it. You can just take my changes and hardcopy them to your moonraker-telegram-bot folder. I don't know if my changes are compliant to the repo of @nlef , but from my side it works.

@owliwar
Copy link

owliwar commented Mar 7, 2024

oh! I didnt know I could use a single bot for multiple printers... I added them all in a group chat and added the group id as chat id. it works (kinda)

@Hoeby
Copy link
Author

Hoeby commented Mar 7, 2024

Be aware that sending commands by telegram doesn't work then. If you are adware for this and don't use it, then it is no problem

@aka13-404
Copy link
Collaborator

We do not support and will never support multiple bots per instance. This is insanity, do you want to run one klipper/moonraker instance for multiple printers as well? All that to not create an additional bot via botfather? :D

If you want to aggregate notifications in a single place, you can use a group, as suggested above.
Progress on control from a group will be tracked in #283.

@Altblechkutscher You are welcome to open a PR request, this is a nice fun little option, if you think it has value. On our side nothing speaks

@Altblechkutscher
Copy link

Altblechkutscher commented Nov 25, 2024

@aka13-404 Indeed I did, which you can see here #302

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants