Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Humidity with DHT22: unit in % instead of °C

    Duet Web Control wishlist
    3
    3
    567
    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.
    • resam
      resam last edited by

      I connected a DHT22 sensor to my DuetWifi and I'm using [c]M305 P104 X401 T22 S”Humidity"[/c].
      Currently DWC shows: [c]Humidity 27.6 °C[/c], which I guess should be a relative humidity of 27.6%.

      Is there a way to specify the unit for display?

      1 Reply Last reply Reply Quote 0
      • Gobi
        Gobi last edited by

        New owner of Duet Wifi here. Insane board, I´m coming from CR-10S stock and I can´t hear those motors any more!!! Definitely will use Duet on my next printer.

        I noticed that under "Machine Status" if I hoover mouse on "VIN" it reads voltage as °C. So there´s another unit to change.

        1 Reply Last reply Reply Quote 0
        • chrishamm
          chrishamm administrators last edited by

          This is already possible in the latest firmware version. DWC will parse the thermistor unit if passed explicitly. This is how I configure the humidity channel on my printer:

          M305 P102 X401 S"DHT humidity [%]" T11

          HTH

          Duet software engineer

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