Serial gateway with arduino nano inclusion problem



  • I have connected my serial gateway to the vera edge and everything seems to be okay.

    When I try to include my door/window sensor in mysensors plugin, I click start and 1 sec after it says 0 devices found.

    I`m new to this and I have no idea what it could be?



  • This is my log file for the binarysleeping sensor:

    send: 1-1-0-0 s=255,c=3,t=15,pt=2,l=2,sg=0,st=fail:0
    send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,st=fail:1.5.4
    send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0
    sensor started, id=1, parent=0, distance=1
    send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=13,sg=0,st=fail:Binary Sensor
    send: 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=fail:1.0
    send: 1-1-0-0 s=3,c=0,t=0,pt=0,l=0,sg=0,st=fail:
    find parent
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    send: 1-1-0-0 s=4,c=0,t=0,pt=0,l=0,sg=0,st=fail:
    send: 1-1-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=fail:1
    send: 1-1-0-0 s=4,c=1,t=16,pt=2,l=2,sg=0,st=fail:0
    send: 1-1-0-0 s=4,c=1,t=16,pt=2,l=2,sg=0,st=fail:1
    send: 1-1-0-0 s=4,c=1,t=16,pt=2,l=2,sg=0,st=fail:0
    send: 1-1-0-0 s=4,c=1,t=16,pt=2,l=2,sg=0,st=fail:1
    find parent
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    send: 1-1-0-0 s=4,c=1,t=16,pt=2,l=2,sg=0,st=fail:0
    send: 1-1-0-0 s=4,c=1,t=16,pt=2,l=2,sg=0,st=fail:1
    send: 1-1-0-0 s=4,c=1,t=16,pt=2,l=2,sg=0,st=fail:0```

  • Hero Member

    st=fail typically means that the sensor is having trouble communicating to the gateway due to a power issue on the sensor. Search the forum for common resolutions to this and if those don't resolve it, post more details on your hardware setup.

    Cheers
    Al

    PS Have you checked http://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help



  • Is this log for the gateway okay?

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

  • Hero Member

    @miro It's ok from a startup perspective which means you have programmed and wired it correctly. It could still have power issues when it is transmitting.

    Cheers
    Al


  • Admin

    On what pin is the inclusion mode button connected? Is the feature enabled?
    Make sure you didn't connect anything on this pin.



  • @hek

    #define INCLUSION_MODE_PIN 3 // Digital pin used for inclusion mode button

    This is what I have in the gateway

    Before I had no button connected at all. Now I tok two wires from digital pin 3 and ground to test.

    Still nothing happends when I click on start inlusion in my vera?



  • Well, a conductor on the sensor radio and gateway radio did solve the inclusion of this sensor.

    But now I try to include a motion sensor that I build exact the same but the gateway will not find it, what to do?

    It looks okay in arduino monitor...


  • Hardware Contributor

    @miro - its most of the times much easier for us if you provide the serial log. Any ST:fail on this one for example?



  • Now when I tested the sensor in arduino monitor it says just.

    Req id
    

    Also the other sensor have stop working.

    Something wrong with gateway?


 

268
Online

7.8k
Users

8.7k
Topics

93.0k
Posts