Can not see my Humidity sensor



  • Hi all,

    I recently setup a MySensor serial gatexay to add to my DomoticZ controller. I used a Arduino Uno equiped with a NRF24L01 module as a gateway and a Arduino Mini for a humidity/temperature sensor.

    I successfully added the gateway to DomoticZ, and the log, from both DomoticZ and serial monitoring , looked good:

    0;0;3;0;9;gateway started, id=0, parent=0, distance=0
    0;0;3;0;14;Gateway startup complete.
    

    The sensor seems to work as well:

    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    T: 18.50
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    H: 64.90
    

    But I can not see it in my Hardware section > MySensor Gateway.

    My domoticZ log does not contain any MySensor entry. It looks like the sensor can not see the gateway. Am I right ? I tried to upload again all the sketches again, but nothing changed. Any clue ?

    Thanks



  • Put on DEBUG and see if you get more information from gateway and sensor



  • Hi and thanks for the quick reply.

    Debug is enabled I guess (see the 2 outputs in my first post), am I right?



  • Sensor should say more, I think.

    I am very new to MySensor, since last week.



  • Can you put your code here, for sensor



  • Isn't there a setting in Domoticz to "open" that a Device can be added?



  • Tried to change the Arduino Mini used by the sensor for a Arduino Uno. Nothing changed (here goes the log):

    sensor started, id=255, parent=255, distance=255
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    T: 19.00
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    H: 65.50
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    H: 65.60
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    H: 65.80
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    H: 65.50
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    T: 19.10
    find parent
    send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    H: 65.70
    

    The sensor can not indeed see the parent (see 1st line). I guess the NRF24L01 module is somehow not working (I doubled check all my wires and they are fine). Shame I do not have another one 😞



  • Looks ok except that you don't get any response.

    Do you have more NRF, then change.


  • Hardware Contributor

    255 indicated that you dont recieve/asking for a node ID for that node.
    What does your GW log looks like when you start the node? Do you see any presentation?
    Maybe you also can post your code or is it unchanged from the humidity sensor?



  • If you open up a serial console with the SerialGateway, you can respond with the following

    255;255;3;0;4;[ID you want it to have]

    And then the ID will be copied into EEprom on the sensor and then work as that ID number you assign it.



  • Do you have a capacitor on nRF24L01+?



  • Thanks all for your replies 😃

    I was indeed waiting for new NRF24L01 modules and I just received them this morning. I so performed few more trials. Here goes the results:
    @flopp said:

    Do you have more NRF, then change.

    Done, but no change at all 😞
    @sundberg84 said:

    What does your GW log looks like when you start the node? Do you see any presentation?
    Maybe you also can post your code or is it unchanged from the humidity sensor?

    GW log remains completely empty: no presentation at all. The code from the humidity sensor is unchanged.

    @cranky said:

    If you open up a serial console with the SerialGateway, you can respond with the following
    255;255;3;0;4;[ID you want it to have]

    Not pretty sure on what you mean. This command is performed on the gateway, or the sensor? I did it first on the sensor using the serial monitor, but nothing changed (I did it with id 0, with the one of the GW). And I tried on the sensor as well later on. But results were the same: a complete failure

    @flopp said:

    Do you have a capacitor on nRF24L01+?

    I do not. I think it will be the next step!

    As far as I understood, I do not have any communication between the GW and the sensor, and this either my wiring (but I already tripled check them) or my nRF24L01 (got them on Ebay, the quality is maybe poor). Am I right?

    Thanks anyhow for all the advices!



  • @singinglarvae said:

    As far as I understood, I do not have any communication between the GW and the sensor, and this either my wiring (but I already tripled check them) or my nRF24L01 (got them on Ebay, the quality is maybe poor). Am I right?

    Thanks anyhow for all the advices!

    eBay items can be good and can be bad. I have only two NRF both are working but one is consuming a lot more than the other one.
    Try to put the cap and see.



  • Ok, it is solved 😃

    On the GW, my wiring were good, but loose (but really, just a bit!). I soldered most of the wires on the arduino and now I receive information from the sensor!

    Thanks all for the advices. I remember one of my US supervisor who use to say "Trust, but check, check and triple check". He is right indeed!

    Nb; is it the habit on this forum to edit the title to [SOLVE]?


  • Mod

    Nb; is it the habit on this forum to edit the title to [SOLVE]?

    I wouldn't say it is a habit, but it is definitely appreciated 🙂



  • Lately I begun to face the same issue. I have my GW in a fixed place on my desk and I have two nodes for testing. The first one find the parent at once, and the second one doesn't. I retry resetting both and again the behavior is repeated. THen I tried moving the wires of the GW several times and suddenly the second one begun working.

    Don't really know what is this but this happened twice this week 🙂


Log in to reply
 

Suggested Topics

  • 5
  • 8
  • 1
  • 4
  • 4
  • 5

15
Online

11.2k
Users

11.1k
Topics

112.5k
Posts