Skip to content
  • 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. gateway wont recieve new sensors
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

gateway wont recieve new sensors

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 4 Posters 2.3k Views
  • 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.
  • A Offline
    A Offline
    abrasha
    wrote on last edited by
    #1

    i have a domoticz v2.3530 controller on Rpi2, attached to serial gateway -(sparkfun redboard with nrf24l01+ ) by usb.

    i have run some tests with domoticz on my pc before i installed the Rpi environment, and for now i have a humidity sensor - original sketch from mysensors library (v1.5) on original arduino uno with DHT22. this sensor runs very well from a distance of about 12 meters.

    now the problem is when i tried to add more sensors, the domoticz log doesnt show them - for example when i power up-down the working sensor - i see its sketch version presenting on the log and of course the values coming some time away.

    i tried to replace nrf with the working sensor and it didnt fix it - the working sensor worked fine with the second nrf.
    the problematic sensors are 2 redboard with nrf, running original humidity sketch and original repeater sketch.

    i thought maybe its a different channel on the nrf but i didnt know how the change it and all the boards were uploaded with original sketeches from the same library version from the same computer. and also i can see them talking on the serial monitor on my pc:

    REPEATER:
    req id
    send: 255-255-170-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
    repeater started, id=255, parent=170, distance=255
    req id
    send: 255-255-170-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
    req id
    send: 255-255-170-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:

    HUMIDITY:

    req id
    send: 255-255-169-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
    sensor started, id=255, parent=169, distance=255
    req id
    send: 255-255-169-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
    req id
    send: 255-255-169-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
    req id
    send: 255-255-169-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
    req id
    send: 255-255-169-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
    req id
    send: 255-255-169-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
    T: 13.30
    req id
    send: 255-255-169-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
    H: 79.20

    also, ive double checked the wiring on the nrf - all fine.
    my boss is asking when will the system be online and im stuck with strange problems...
    maybe there is some wrong data in the eeprom of these boards? i think i used them in one of my trials of domoticz.
    i saw someone saying that domoticz doesnt accept a sensor until it sends values, but i think that first i need to see the sketch version of them on the log of domoticz.

    thank you all

    1 Reply Last reply
    0
    • E Offline
      E Offline
      ericvdb
      wrote on last edited by
      #2

      Did you add Decoupling-Capacitor to the nrf power lines? See here

      1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #3

        @abrasha said:

        my boss is asking when will the system be online

        Boss == Your wife?! ;)

        The radio does not carry any updatable firmware by itself.
        If you aren't receiving anything, you probably have a bad radio/powering/wiring.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          abrasha
          wrote on last edited by
          #4

          Boss = real boss at work.
          It's for a notification system at a long greenhouse with mainly humidity sensors and simple switch sensors for tracking problems on some devices.

          I didn't add the capacitor because i have a same setup that's working, and i tried even with distance of 2 meters. But I can still test it. However i saw that when i unplug one wire from the nrf, the serial monitor on arduino ide showed error, and again i double checked the wiring again. At some stage i accidentally replaced the 12/13 but im after it now...

          1 Reply Last reply
          0
          • W Offline
            W Offline
            Wijbe.Fryslan
            wrote on last edited by
            #5

            Have you tried this way?

            1 Reply Last reply
            0
            • A Offline
              A Offline
              abrasha
              wrote on last edited by
              #6

              (SOLVED)
              PROBLEM CAUSE: some sort of unclear data in the memory of the board(sparkfun redboard), i think..
              SOLUTION: uploading mock-sensor sketch and afterwards the wanted sketch

              i soldered the de-CAP and tried within 2 meters range, but it didnt change.
              than i got back to my office and uploaded serial gateway sketch to one board while the other board was still with repeater sketch.
              the serial gateway showed correct log at the IDE like in the thread that Wijbe-Fryslan mentioned, but the repeater still didnt receive its data.
              than i uploaded mock-sensor sketch to the second board and than the data appeared at the serial gateway log.
              so i did the same procedure of uploading mock sketch , and than uploading the wanted sketch for each board (repeater and humidity) and went to the controller to check it and it worked!! thanks to the new original domoticz app i could check the log online for "sketch version" lines and afterwards i did reception distance metering with battery powered repeater node.
              now all is working fine but there is something that disturbs me - the domoticz log showed same node number for the repeater and the new humidity sketch. is that ok? or i should define manual node number inside the sketch?

              HUGH THANKS TO EVERYBODY

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


              5

              Online

              11.7k

              Users

              11.2k

              Topics

              113.0k

              Posts


              Copyright 2019 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
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular