Duet Telegram bot
-
@IdefixRC
Not sure if you every got this fixed, but I noticed I would only get this message when nothing was printing. IE Idle state has no status but printing messages came through. -
I installed and it worked but not all commands.
/status - not working
/macros - not working -
its not working with my duet 3. are there updates available or something like that?
-
Hi, I'm installing the whole....just a question: do the bot starts automatically with the Pi or should I do something to make it autosart?
Thanks
-
Excellent job ! Thanks
-
Duet 3 and sbc running duetbot on the sbc.
Getting error:Connecting to duet... Duet is offline! Checking for upload dir... Uploads disabled: Request to http://tristan-painting-machine.local/rr_filelist?dir=0%3A%2Fgcodes%2Ftelegram failed. code: 404 Bot started...
Also tried with the same numerical ip address that works to connect to dwc.
Any advice? -
@the_dragonlord I don't remember if I did the file or get on the web but you have to make duetbot as a service with a file "duetbot.service" or whatever into /etc/systemd/system as root
File content (edited):
[Unit] Description=node js duetbot for telegram #after network is up After=network.target [Service] WorkingDirectory=/usr/bin ExecStart=duetbot Restart=on-failure RestartSec=1500ms Type=forking #user pi or root, will determine where the script will search the configuration file **.duetbot.json** User=pi # Note Debian/Ubuntu uses 'nogroup', RHEL/Fedora uses 'nobody' Group=nogroup Environment=PATH=/usr/bin:/usr/local/bin Environment=NODE_ENV=production # log send to syslog StandardOutput=syslog StandardError=syslog # syslog name id SyslogIdentifier=duetbot [Install] WantedBy=multi-user.target
And don't forget to execute after that :
#to load the file for the systemctl manager systemctl daemon-reload # to start and test service duetbot start # to check if loaded an active service duetbot status # if all is good you can tell the system to execute it as a service on boot : systemctl enable duetbot #if it's ok the system will respond : Created symlink /etc/systemd/system/multi-user.target.wants/duetbot.service → /etc/systemd/system/duetbot.service.
-
I am getting this error trying to install duet- telegram on my duet 3 with sbc (RPi 3b+).
Please can anyone assist -
This post is deleted! -
the last update of the bot on github is more than 3 years old,
the project was abandoned