moonraker-telegram-bot
aiogram
moonraker-telegram-bot | aiogram | |
---|---|---|
16 | 11 | |
226 | 4,296 | |
- | 1.7% | |
0.0 | 9.1 | |
about 1 month ago | 6 days ago | |
Python | Python | |
Creative Commons Zero v1.0 Universal | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
moonraker-telegram-bot
- VPN for RaspberryPi
-
Macro to send telegram notification at layer 1 and 2?
Fewer macros, remote control without vpn, someone asking for the same feature https://github.com/nlef/moonraker-telegram-bot/issues/258 sounds like it will be worth the effort to try that.
- Can I connect any webcam to klipper/Mainsail?
-
Best Klipper plugins repo?
moonraker-telegram-bot
-
Telegram notifications
# Please refer to the wiki(https://github.com/nlef/moonraker-telegram-bot/wiki) for detailed information on how to configure the bot [bot] server: localhost bot_token: ********************************************* chat_id: ************ [camera] host: http://localhost:8080/?action=stream [bot] server: localhost # This is the adress, where the moonraker of the desired printer is located at. # In most cases it will be 'localhost'. Alternatively, an ip:port, as in 192.168.0.19:7125 can be entered, # if you are running multiple moonraker instances on the machine, or if the bot is located not on the printer itself. # This value is not validated automatically. bot_token: 5413397009:AAFNB_H8nfbsi-dAFkbXMLjwU7kYL2-FTKQ # This is the bot token. Please keep it safe and do not post it online. # Only the chat with the correct chat_id can send/receive commands to/from the bot. # Alternatively can be stored in a file. See [secrets] section. # This value is not validated automatically. chat_id: 1781705190 # This is the ID of the chat, where the bot is supposed to be able to send updates to. # Alternatively can be stored in a file. See [secrets] section. # This value should be an integer. #api_url: https://api.telegram.org/bot # If you need it, you can specify a custom url for the telegram API. # This value is not validated automatically. #socks_proxy: 192.168.0.22:1080 # If needed, you can configure the bot to use a socks5 proxy. # This value is not validated automatically. #user: root # If you have moonraker authorization enabled, you can enter the user and password here. # My advice is to not expose your printer to the internet, but I am not your mother. # Alternatively can be stored in a file. See [secrets] section. # This value is not validated automatically. #password: qwerty # The password is stored in plain text. # Alternatively can be stored in a file. See [secrets] section. # This value is not validated automatically. #api_token: 86c4841ec730415da0a66064ceeaa99c # As an alternative to the password you can use a token. # Alternatively can be stored in a file. See [secrets] section. # This value is not validated automatically. #light_device: leds # This is the power device in moonraker, to which the lights of the printer/chamber are connected to. # If you do not have lights/have no need to cycle them, skip this parameter. # Default is to omit this. # This can be a klipper output_pin or a macro as well. Refer to moonrakers "klipper_device" documentation. # This parameter will be derpeciated in coming updates. #power_device: power # This is the power device in moonraker, to which the power of the printer slave boards are connected to. # A typical usage scenario is to shutdown power to the MCUs, but not to disable the host on which klipper is running. # If you do not have such a setup, skip this. # Default is to omit this. # This parameter will be derpeciated in coming updates. #debug: false # This enables extensive logging. Only use it for debugging/troubleshooting. # Default is to omit this/false. # This value should be boolean. #upload_path: myfolder/mysubfolder # This determines, to which folder the bot will upload the gcodes sent to it. # Default is to use the base gcode folder. # Any path entered is relative from the klippers gcode folder. # This value is not validated automatically. [camera] host: http://localhost:8080/?action=stream # This is the adress, where the desired webcam/webstream is located at. Enter this the same way you enter it in # your printers web interface/your player. If you can stream it, the bot supports it, native h264 streams, # for example a vlc stream from a runcam webcam is absolutely possible. Do not feel contstrained by mjpeg streams. # This value is not validated automatically. fps: 30 # If you want to use the "/video" button/command, you should set the camera fps. Not set by default. # This value should be a positive integer >0. #flip_vertically: false # You can flip the camera image vertically, if needed. Disabled by default. Set to true if needed. # This value should be boolean. #flip_horizontally: false # You can flip the camera image horizontally, if needed. Disabled by default. Set to true if needed. # This value should be boolean. #rotate: 90_cw # You can rotate the camera image, if needed. Disabled by default. # Allowed values: 90_cw, 90_ccw, 180. Default behaviour is not to rotate the image. #fourcc: x264 # You can change the opencv VideoWriter fourcc codec. The default value is 'x264'. # Allowed values: x264, mp4v # If you need specific codec support, please open an issue. #threads: 2 # You may limit the threads used for image processing. Default value is calculalated, (os.cpu_count() / 2) # This value should be and integer >0 and < os.cpu_count(). #video_duration: 5 # This is the length in seconds of the video, which is sent when requested with /video command. # Default length of a video is 5 seconds # This value should be a positive integer >0. #video_buffer_size: 2 # On most single-board computers the renderer does not manage to capture and process frames fast enough for a video. # If you are getting shorter videos than you requested in video_duration and have free RAM, you can increse this value. # Be careful - 1 uncompressed captured image weights about 6mb when in fullHD. # OpenCV libraries have a limit of 2 GB, so please calculate your maximum available buffer from your fps and resolution. # This value should be a positive integer >0. #light_control_timeout: 0 # When the bot toggles lights to take a picture, or record a video, most cameras need a couple of seconds to adjust to # the transition between full darkness and full brightness. This option tells the bot to wait n seconds, before # taking the picture, recording a video, doing timelapse photos. The default is not to use a delay. # This value should be an integer >=0. #picture_quality: high # This parameter controls the picture quality the bot uses for status and timelapse purposes. # Allowed values: low, high # Low uses jpeg with quality set to 80, high uses losless webp. # Default is "high"
-
Moonraker telegram plugin
From my understanding, moonraker-telegram-bot is more popular, and installable through KIAUH.
-
Get "print job finished" message with telegram bot
I am using the moonraker-telegram-bot nlef/moonraker-telegram-bot: Telegram bot to interact with Moonraker (Klipper Web API Server) (github.com) But i can't find a example how i can get a message when the print is finished? I can communicate with the printer and get messages like the status, etc or when the printer is online but not when the print job itself is finished
-
Notify on M600/Filament change?
Yeah the moonraker-telegram-bot github page has an example that is almost exactly what you are looking for.
-
Voron 2.4 350 Serial Request - ng#2395
I’m also running the Telegram bot and exclude object feature in Klipper.
-
mainsail pi4b and trying to get obico self hosted working on computer.
You can use Telegram (moonraker-telegram or moonraker-telegram-bot) or Discord (Mooncord)
aiogram
-
Is there an app to translate reddit on the fly?
The first idea is doable if you have programming skills. Maybe with something like this: https://github.com/aiogram/aiogram
-
Developing this bot to fetch Flipstarter campaigns information. Please consider donating to my Flipstarter to continue my development work
It could be made to join groups, I'll really consider that if there is a demand. I'm using Aiogram bot and it support this.
-
Bot-Moderator for Telegram chats. Filters
Here, the decorators have already used filters built into aiogram. The entire list of such filters can be found here.
-
Telegram Bots for Begginers
Of course, it's good to write API requests yourself. It reduces the dependency on third-party libraries and allows you to control the behavior of the code more. But when there are more such methods than twenty, it already increases the size of the code. It becomes difficult to manage all the logic. This is where third-party libraries(frameworks) come to the rescue. After choosing a language, you can consider the options of different libraries from the list here, on the official Telegram page. For JavaScript I recommend using node-telegram-bot-api and telegraf. For Python you can take pyTelegramBotAPI and aiogram(highly recommended).
-
Hi can anyone help me?
you can start by looking at python-telegram-bot, pyTelegramBotAPI, aiogram. The rest is looking throught the documentation.
-
Just getting into Chatbot development in Python and having trouble choosing an API/Wrapper .. or Framework?
aiogram
-
Inline Sticker Bot
I'd suggest not using pyTelegramBotAPI because of its unstable polling. If you're ok with asyncio, try https://github.com/aiogram/aiogram
-
Olympic Games Monitor - Never miss a game again!
I'm willing to release the code on GitHub along with an article on my blog if you are interested. The bot is coded in Python using mainly the Aiogram package https://github.com/aiogram/aiogram.
-
SendMediaGroup send Array of InputMediaPhoto & InputMediaVideo
I have never used python-telegram-bot (which looks like to be your case), but with aiogram, it's pretty easy to send mediafiles: https://github.com/aiogram/aiogram/blob/dev-2.x/examples/media_group.py (you can replace "attach_photo" with "attach video"). Note that the latest aiogram version 2.12 seems to be broken, so downgrade to 2.11.2.
-
How do I scale up my telegram bot to serve many users?
look into async solutions. https://realpython.com/async-io-python/ https://github.com/aiogram/aiogram -> aysnc telegram https://github.com/pgjones/quart -> flask replacement
What are some alternatives?
moonraker-telegram - A Script/Programm to send the printer State before, during and after a print via Telegram Messenger. But its only Working with moonraker
python-telegram-bot - We have made you a wrapper you can't refuse
moonraker-timelapse - Timelapse Plugin for moonraker
Telethon - Pure Python 3 MTProto API Telegram client library, for bots too!
crowsnest - Webcam Service for multiple Cams
telegram-bot-api - Telegram Bot API server
KlipperScreen - GUI for Klipper
pyTelegramBotAPI - Python Telegram bot api.
plastic - An iOS app for controlling Klipper-based 3d Printers using Moonraker
pyrogram - Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
moonraker-obico
telegram-bot-for-bitcoin - doge,ltc,btc,bch,zec telegram clicks bot