Open Hoeby opened 8 months ago
Don't you use individual bots? In my case, I have named the bot corresponding to my printer, which gives me a nice notification:
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"
So if I've understood correctly, something like this?
Yes, that is exactly the idea.
If i see it correctly, it is waiting for approve, to get merged?
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.
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)
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
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