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

    Log temperatures for post analysis

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    12
    722
    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.
    • MaracMBundefined
      MaracMB
      last edited by

      Hello,
      I am testing a bunch of things and would like to log and further analyse the data on temperatures in Excel

      So how do i log and export temperature readings?

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

        no built in function i'm affraid; which board and firmware version?

        MaracMBundefined 1 Reply Last reply Reply Quote 0
        • MaracMBundefined
          MaracMB @A Former User
          last edited by

          @bearer duet wifi+duex5 on latest fw 3

          I thought there is somesort of debugging/logging function that generates log (m929 ?).
          Would be nice if it just logged temperatures on sensors like every 0.5 or 1 second reading interval.. any extra parameters would be supercool.

          Example #1
          I am inserting a thermistor in a hemera’s heatsink. Just looking at DWC and logging stuff manually is a bad way of doing it. Log would show the gradual increase (or not) throughout a print.

          #2
          Ambient temperature in relation to buildspace temperature throughout a 24 hour print.

          List goes on.

          That would be very helpful stuff

          I don’t have explicit coding skills, but friends do, so is there an API for this? So a separate service would just read and log from DWC?

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

            @MaracMB said in Log temperatures for post analysis:

            I thought there is somesort of debugging/logging function that generates log (m929 ?).

            m929 only logs start/stop of prints, so no good for graphing temps.

            you could use daemon.g with M118 to send a message containing a object model refrence to serial or telnet, and collect the data there; or use M408 from serial or telnet to poll data from the duet - or M409 for a more targeted query of the object model

            M111 enables debug info, not sure of contents and intervals - might affect operation but you could poke it and see what you find?

            you can also query the duet with M408/M409 using HTTP, but in generall it'll be a bit of DIY i think,

            tampermonkey to capture the temp graph from DWC might be an option; there have been a few other threads on the same topic, maybe search to see if I missed someting

            1 Reply Last reply Reply Quote 0
            • MaracMBundefined
              MaracMB
              last edited by

              @bearer thank you. At least i have some options now. I think tampermonkey would be best as it wouldn't load the duet at all. fan tastic 🙂

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

                btw if you missed this, it might be of interest?
                https://forum.duet3d.com/topic/18688/firmware-package-3-2beta1-released?_=1600243427741

                although the post wasn't clear if it would work with a duet2 running rrf3.2 or just a duet3 in standalone mode - the mention of dsf that runs on the sbc made it a bit confusing.

                1 Reply Last reply Reply Quote 0
                • MaracMBundefined
                  MaracMB
                  last edited by MaracMB

                  oooook... that confused the hell out of me.
                  i'm no expert but i guess this would then need raspberry pi and not sure if this even runs on Duet2... as you said. confusion is building up.

                  for a simple guy like me, tampermonkey is best bet.

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

                    sleep

                    tell me more about this thing you call sleep?:P

                    anyways, if you could share your work I'm sure others will appreciate it. as mentioned there has been a couple of similar threads recently. godspeed!

                    1 Reply Last reply Reply Quote 1
                    • MaracMBundefined
                      MaracMB
                      last edited by

                      i edited/deleted because i thought you won't get it 🙂

                      i'll call my coding brain friend and will share if anything comes out of this.

                      Thank you for a very constructive debate.

                      1 Reply Last reply Reply Quote 1
                      • MaracMBundefined
                        MaracMB
                        last edited by

                        @bearer @Phaedrux @dc42
                        Sorry for nagging, but could i get a link to an API for this for my programmer?
                        He said he’ll write in python. I guess that’s ok?

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

                          try the links in this thread?
                          https://forum.duet3d.com/post/178347

                          MaracMBundefined 1 Reply Last reply Reply Quote 1
                          • MaracMBundefined
                            MaracMB @A Former User
                            last edited by

                            @bearer found it. thank you

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