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

    Help: Humidity sensor triggers screen message above threshold

    Scheduled Pinned Locked Moved
    Gcode meta commands
    2
    2
    150
    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.
    • lbtqsbundefined
      lbtqsb
      last edited by lbtqsb

      Hi folks,
      long time not posted. Have a question that I hope might be interesting for other people as well:
      Currently at work we have printer with duet and we have the filament in plasticboxes with seals and drybags. I put a DHT22 in that plastic-box that is wired to that duet. So currently the printer-user has to check time to time in DWC in the "extra"-Tab for the sensors/temperatures the humidity if it is time to change the dry-bags because it is over a certain threshold...

      Has anybody any idea to help how to use the conditional g-code, so that it just uses that sensor value and if it is > x triggers a screen-message or something like that

      (yeah I have 1heater output left free and I know how to hook up that sensor to that output and make a red 24-V-led (that we have at work with resistor already in place for panel mounting) shine in the filament-box or something like that but I think screenmessage would be the best...?)

      Thanks for any hint...

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined Phaedrux moved this topic from General Discussion
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        This sounds doable. You could have a check in daemon.g that checks the value of the DHT22 in the object model and performs an action when the value is exceeded. https://docs.duet3d.com/en/User_manual/Reference/Gcode_meta_commands

        Hopefully that's enough to set you on the right path.

        Z-Bot CoreXY Build | Thingiverse Profile

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