Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Duet Telegram bot

    Scheduled Pinned Locked Moved
    General Discussion
    12
    14
    3.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sbcrumbundefined
      sbcrumb @IdefixRC
      last edited by

      @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.

      1 Reply Last reply Reply Quote 0
      • phcellaundefined
        phcella
        last edited by

        I installed and it worked but not all commands.
        /status - not working
        /macros - not working

        1 Reply Last reply Reply Quote 0
        • ErwinH78undefined
          ErwinH78
          last edited by

          its not working with my duet 3. are there updates available or something like that?

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User
            last edited by

            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

            toufou54undefined 1 Reply Last reply Reply Quote 0
            • toufou54undefined
              toufou54
              last edited by

              Excellent job ! Thanks

              1 Reply Last reply Reply Quote 0
              • tristanryerparkeundefined
                tristanryerparke
                last edited by tristanryerparke

                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?

                1 Reply Last reply Reply Quote 0
                • toufou54undefined
                  toufou54 @A Former User
                  last edited by toufou54

                  @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.
                  
                  1 Reply Last reply Reply Quote 0
                  • bothamichaelundefined
                    bothamichael
                    last edited by

                    e3f5f6cf-e37b-4672-a57c-89f27c2ec926-image.png

                    I am getting this error trying to install duet- telegram on my duet 3 with sbc (RPi 3b+).
                    Please can anyone assist

                    1 Reply Last reply Reply Quote 0
                    • Nicxorundefined
                      Nicxor
                      last edited by Nicxor

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • bastienundefined
                        bastien
                        last edited by

                        the last update of the bot on github is more than 3 years old,
                        the project was abandoned

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA