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

G-Code to actually "send a message"

Scheduled Pinned Locked Moved
General Discussion
4
6
1.2k
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.
  • undefined
    zBeeble
    last edited by 27 Feb 2018, 02:02

    So… I was reading the other post about a G code to send a message. I was idly thinking it would be really cool if this thing supported basic SNMP. maybe a MIB to expose basic stats (temps, filiment used, status, etc). Obviously SNMP support would include things like TRAPs ... which could be used to trigger events on other machines.

    OK. So I'm a super network geek.

    The minimalist version would be to support a G-code with %-substitutions in the output that effectively like curl or wget. Bonus points if the G-code could get a value from the result ... although as languages go, it seems to me that G-code has no executive power.

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 27 Feb 2018, 07:54

      I'll have to read up about SNMP. But there isn't time to fit any more new features into the 1.21 firmware release.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • undefined
        zBeeble
        last edited by 27 Feb 2018, 21:22

        If you'd like some pointers or some help, I'd definitely make myself available. Networks are my thing. SNMP is practically 2nd nature … and proper SNMP support would rock. You could mrtg your printer(s). Woot!

        I just did quick checking and https://stackoverflow.com/questions/2907304/good-open-source-snmp-agent-for-an-embedded-device says that net-snmp (which is the code I use in many ways) is very easy to put in firmware. There is also a net-snmp related project (they say) at openembedded.org.

        1 Reply Last reply Reply Quote 0
        • undefined
          T3P3Tony administrators
          last edited by 27 Feb 2018, 21:36

          Has someone integrated SNMP into LWIP the Duet networking code is built on LWIP

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • undefined
            Danal
            last edited by 28 Feb 2018, 00:52

            Hopefully, we are talking about Read Only SNMP… and traps as output... no Read/Write objects in the mib... Right?

            Delta / Kossel printer fanatic

            1 Reply Last reply Reply Quote 0
            • undefined
              zBeeble
              last edited by 28 Feb 2018, 05:24

              Well… that certainly keeps the complexity down... but doesn't the Duet IP stack have a rather permissive nature already?

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