Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Domoticz
  4. DHT 11 Domoticz problem

DHT 11 Domoticz problem

Scheduled Pinned Locked Moved Domoticz
4 Posts 3 Posters 3.0k Views 3 Watching
  • 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.
  • P Offline
    P Offline
    Plantex
    wrote on last edited by Plantex
    #1

    Hello Everyone.

    I'm rookie Arduino user.

    I've got some problems with my DHT11 + sketch from MySensors website.
    https://www.mysensors.org/build/humidity

    The only change I've made is added line:

    #define MY_GATEWAY_SERIAL - (since I am connected via USB cable)

    Sketch loaded to Arduino UNO
    Arduino connected with Raspberry PI 2 B with Domoticz installed.

    Sketch compiled ok - serial monitor screen below
    0_1504608790370_arduino monitor DHT.jpg

    Domoticz Hardware seems to be ok - named DHT I can see some data.
    0_1504608827230_dht11.jpg

    Problem starts when I get to devices - basically it is empty.
    0_1504608884844_dht11nodevice.jpg

    Please help - where is my mistake ?

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      try to comment out the MY_DEBUG

      1 Reply Last reply
      0
      • PlantexP Offline
        PlantexP Offline
        Plantex
        wrote on last edited by
        #3

        Thank You gohan

        Commenting MY_DEBUG solved the problem.

        Could You explain please what this function does ? should I always comment it/ delete ? or there are some reasons for using that ?

        Thanks in advance.

        1 Reply Last reply
        1
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          My Debug is for debug, it adds extra info into the serial output and those info are not handled by the controller and it starts acting weird

          1 Reply Last reply
          1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          12

          Online

          12.0k

          Users

          11.2k

          Topics

          113.4k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular