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

Truncate MCU Temp?

Scheduled Pinned Locked Moved
DSF Development
2
4
211
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
    gtj0
    last edited by 5 Oct 2019, 20:22

    I'e noticed that, especially when idle, a continuous stream of events are generated solely because the MCU temperature continuously fluctuates by 0.1 degrees. Thoughts on truncating it to a whole number to reduce the event rate? I can't see where a 1/10th of a degree in the MCU temp would make any difference to anyone. Actually I can't see where it would make a difference on a bed or chamber either. Maybe it'd be a good idea to add a parameter somewhere to limit any temp output to whole numbers. I'm specifically talking about the websocket event stream, not any internal calculations or specific requests for temperature.

    undefined 1 Reply Last reply 5 Oct 2019, 23:10 Reply Quote 1
    • undefined
      T3P3Tony administrators @gtj0
      last edited by 5 Oct 2019, 23:10

      @gtj0

      1. general point: DSF should, eventually, have different refresh rates for the object model on the SBC. although this is not a priority as the whole object model is refreshing well now.
      2. why care? only subscribe/act on object model stuff that matters to you.

      www.duet3d.com

      undefined 1 Reply Last reply 5 Oct 2019, 23:39 Reply Quote 0
      • undefined
        gtj0 @T3P3Tony
        last edited by 5 Oct 2019, 23:39

        @T3P3Tony said in Truncate MCU Temp?:

        @gtj0

        1. general point: DSF should, eventually, have different refresh rates for the object model on the SBC. although this is not a priority as the whole object model is refreshing well now.

        Yeah the issue isn't on the SPI bus or Duet3 or SBC resources.

        1. why care? only subscribe/act on object model stuff that matters to you.

        Because I didn't know you could. 🙂 The only websocket commands I see supported are PING and OK.
        How would a web client indicate it's not interested in electronics.mcuTemp?

        undefined 1 Reply Last reply 6 Oct 2019, 07:44 Reply Quote 0
        • undefined
          T3P3Tony administrators @gtj0
          last edited by 6 Oct 2019, 07:44

          @gtj0 ahh I was thinking from an SBC perspective, rather than the web client.

          www.duet3d.com

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