Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order
    1. Home
    2. Torin
    • Profile
    • Following 0
    • Followers 1
    • Topics 3
    • Posts 22
    • Best 4
    • Groups 0

    Torin

    @Torin

    6
    Reputation
    5
    Profile views
    22
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    Torin Unfollow Follow

    Best posts made by Torin

    • notifications upon start/pause/finish of print

      Hiya,
      Just wanted to share with you my solution for missing notifications/actions for Duet upon change of print status.

      I've builtin pushbullet/pushover/email support into it. You can also define some system commands/scripts to execute after status change.

      Please have a look and feel free to use it, grab the code do whatever you want.
      I've precompiled sources for Linux/OSX/Windows.

      https://gitlab.com/Toriniasty/reprap_notify
      Latest version: https://gitlab.com/Toriniasty/reprap_notify/-/releases

      posted in Third-party software
      Torin
      Torin
    • RE: notifications upon start/pause/finish of print

      Merged 🙂 Cheers dude!

      posted in Third-party software
      Torin
      Torin
    • RE: notifications upon start/pause/finish of print

      @LB If you're talking about renotification then it is already there 😉

      posted in Third-party software
      Torin
      Torin
    • RE: notifications upon start/pause/finish of print

      @LB said in notifications upon start/pause/finish of print:

      Do I have to download something and import it or how would it work?

      Ah. Okey. To be fair, I haven't seen plugins functionality and I'm not sure how it is supposed to work. Maybe one day I will have a look and see if there's any possibility.... Anyhow, to make the notifier work just download one file from release page matching your system that's running, configure it via example yaml file and start it.

      posted in Third-party software
      Torin
      Torin

    Latest posts made by Torin

    • RE: notifications upon start/pause/finish of print

      @madeinta1wan This is due to API changes introduces in RRv3. There's a chance but it requires few hours of work which I currently do not have, however I will try to squeeze that in somehow. The code is opensource so if someone would make an PR I will happily merge it.

      posted in Third-party software
      Torin
      Torin
    • RE: notifications upon start/pause/finish of print

      @festivejelly You can run it both ways, either from command line or double click. If it doesn't quit and windows stay open it should just work.

      posted in Third-party software
      Torin
      Torin
    • RE: notifications upon start/pause/finish of print

      @thebaseddoge Simply start two programs with from two different directories with two different config files 🙂

      @festivejelly There's no feedback unless there's a problem 🙂 If you want to run on rpi you need an arm build.

      posted in Third-party software
      Torin
      Torin
    • RE: notifications upon start/pause/finish of print

      @mct82 Hey, so I got a bit of spare time today and I've looked into it. Renotifications didn't work because I forgot to add two more if's.

      I've created new release here: https://gitlab.com/Toriniasty/reprap_notify/-/releases/v7

      posted in Third-party software
      Torin
      Torin
    • RE: notifications upon start/pause/finish of print

      @mct82 Basically yeah, you would also need to update struct for json payload.
      In regards to windows, time.Now().Unix() should without any problem on windows. That's something I would need to check later during the week. but feel free to look around, add some timers maybe and logging 🙂

      posted in Third-party software
      Torin
      Torin
    • RE: notifications upon start/pause/finish of print

      Actually just tested it quickly. It works literally as you did. Just copy paste slack webhook url, put it in config and it should just appear.

      text is not needed, as it is send via attachments in slack:
      https://api.slack.com/reference/messaging/attachments

      posted in Third-party software
      Torin
      Torin
    • RE: notifications upon start/pause/finish of print

      @mct82 Hey, that's a good spot with if condition. I found the same problem in email and telegram too 😂 ... So if you will head down to releases page there should be a new one with the fix.

      In regards to Slack. I can't remember, but it should just work ootb when you change enable do true and put webhook url in. If you will still struggle let me know, I will try to see and check it during week.

      https://gitlab.com/Toriniasty/reprap_notify/-/releases/v6

      posted in Third-party software
      Torin
      Torin
    • RE: notifications upon start/pause/finish of print

      @LB said in notifications upon start/pause/finish of print:

      Do I have to download something and import it or how would it work?

      Ah. Okey. To be fair, I haven't seen plugins functionality and I'm not sure how it is supposed to work. Maybe one day I will have a look and see if there's any possibility.... Anyhow, to make the notifier work just download one file from release page matching your system that's running, configure it via example yaml file and start it.

      posted in Third-party software
      Torin
      Torin
    • RE: notifications upon start/pause/finish of print

      @LB If you're talking about renotification then it is already there 😉

      posted in Third-party software
      Torin
      Torin
    • RE: notifications upon start/pause/finish of print

      @scumdead Can you give it a go with new release?
      https://gitlab.com/Toriniasty/reprap_notify/-/releases/v5

      Also could you please write in english, I only understood what you've said because of the error in the post. Hope it will be all good now.

      Also added re-notify feature.

      posted in Third-party software
      Torin
      Torin