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

Log temperatures for post analysis

Scheduled Pinned Locked Moved
Tuning and tweaking
2
12
720
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
    MaracMB
    last edited by 16 Sept 2020, 07:08

    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
      last edited by 16 Sept 2020, 07:11

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

      undefined 1 Reply Last reply 16 Sept 2020, 07:26 Reply Quote 0
      • undefined
        MaracMB @A Former User
        last edited by 16 Sept 2020, 07:26

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

        ? 1 Reply Last reply 16 Sept 2020, 07:42 Reply Quote 0
        • ?
          A Former User @MaracMB
          last edited by 16 Sept 2020, 07:42

          @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
          • undefined
            MaracMB
            last edited by 16 Sept 2020, 08:03

            @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
              last edited by 16 Sept 2020, 08:06

              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
              • undefined
                MaracMB
                last edited by MaracMB 16 Sept 2020, 08:19

                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.

                ? 1 Reply Last reply 16 Sept 2020, 08:23 Reply Quote 0
                • ?
                  A Former User @MaracMB
                  last edited by 16 Sept 2020, 08:23

                  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
                  • undefined
                    MaracMB
                    last edited by 16 Sept 2020, 08:25

                    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
                    • undefined
                      MaracMB
                      last edited by 18 Sept 2020, 10:15

                      @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
                        last edited by 18 Sept 2020, 10:24

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

                        undefined 1 Reply Last reply 18 Sept 2020, 10:31 Reply Quote 1
                        • undefined
                          MaracMB @A Former User
                          last edited by 18 Sept 2020, 10:31

                          @bearer found it. thank you

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