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. Troubleshooting
  3. Wierd temp/Hum

Wierd temp/Hum

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 1.1k Views 1 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.
  • S Offline
    S Offline
    smilvert
    wrote on last edited by
    #1

    Hi.

    I updated some temp/hum(DHT22) sensors with nodemanager a month ago. And at the same time I removed the LED and the regulator on the Arduino pro mini. But now I have problems with my sensors. It send some strange values to Domoticz, see attached picture. I have the problem on all sensors but the time between the low value is different and it is also not at the same time on two sensors. Can anyone please give me a hint on what to do?

    0_1507288104279_Hall.png

    #include "config.h"
    #include <MySensors.h>
    #include "NodeManager.h"
    
    NodeManager nodeManager;
    
    void before() {
      Serial.begin(MY_BAUD_RATE);
      nodeManager.setSleep(SLEEP,1,MINUTES);
      nodeManager.setBatteryMin(1.8);
      nodeManager.setBatteryMax(2.4);
      nodeManager.setBatteryInternalVcc(true);
      nodeManager.setBatteryPin(A0);
    
      nodeManager.registerSensor(SENSOR_DHT22, 3);
      nodeManager.before();
    }
    
    void presentation() {
      nodeManager.presentation();
    }
    
    void setup() {
      nodeManager.setup();
    }
    
    void loop() {
      nodeManager.loop();
    }
    
    void receive(const MyMessage &message) {
      nodeManager.receive(message);
    }
    
    void receiveTime(unsigned long ts) {
      nodeManager.receiveTime(ts);
    }
    
    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      I think that could be a sensor reading error

      1 Reply Last reply
      0
      • S Offline
        S Offline
        smilvert
        wrote on last edited by
        #3

        Ok.

        I thought I could put a filter in domoticz but maybe it's easier to do that in the sensor instead :)

        Just realized that I haven't checked NodeMangager source code. Is there any check of Nan value?
        Or do I need to wake up the node a short time before reading DHT?

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

          Dht sensors are usually not very quick. I tried nodemanager for one of my nodes but I got sketch size issue so I haven't put too much time into it.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          24

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          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