No Auto node id



  • All of my devices don't get AUTO node id in Vera or openHab.Everytime i write it manually

    in the skech. Is this normal? I couldn't find a solution in the forum.



  • @C.r.a.z.y.
    I am not use Vera, but OpenHab with MQTT gateway works Ok. Which gateway you using? As i understand, serial and ethernet gateway's does not have such functionality.
    UPD: I may be unclear, sorry, english not my native language. Only MQTT Gateway assign node id's on sensors by itself, Serial and Ethernet gateway does not, and id's should be assigned by controller.



  • Thank you i am using serial so this is why i dont get auto node id.


  • Admin

    What does the logs say on sensor when your start them the first time (without any id-set).



  • Hi hek,

    Orginal Relay sketch;

    repeater started, id 0
    send: 0-0-0-0 s=255,c=0,t=18,pt=0,l=5,st=fail:1.4.1
    send: 0-0-0-0 s=255,c=3,t=6,pt=1,l=1,st=fail:0
    send: 0-0-0-0 s=255,c=3,t=11,pt=0,l=5,st=fail:Relay
    send: 0-0-0-0 s=255,c=3,t=12,pt=0,l=3,st=fail:1.0
    send: 0-0-0-0 s=1,c=0,t=3,pt=0,l=5,st=fail:1.4.1

    I used orginal motion sensor sketch only change is define CHILD_ID 90

    sensor started, id 0
    send: 0-0-0-0 s=255,c=0,t=17,pt=0,l=5,st=fail:1.4.1
    send: 0-0-0-0 s=255,c=3,t=6,pt=1,l=1,st=fail:0
    send: 0-0-0-0 s=255,c=3,t=11,pt=0,l=13,st=fail:Motion Sensor
    send: 0-0-0-0 s=255,c=3,t=12,pt=0,l=3,st=fail:1.0
    send: 0-0-0-0 s=90,c=0,t=1,pt=0,l=5,st=fail:1.4.1
    0
    send: 0-0-0-0 s=90,c=1,t=16,pt=0,l=1,st=fail:0
    1
    send: 0-0-0-0 s=90,c=1,t=16,pt=0,l=1,st=fail:1


  • Admin

    Your repeater seems to have problems ack:ing (which also means id won't be transmitted).
    There also is an issue when fetching id via repeater in the current version. Try moving it closer to gateway during the initial id exchange.



  • @C.r.a.z.y. is this confirm? coz i'm having the same problem.
    and Yes, i'm using serial for my gateway and usb for my sensor.
    Please share if there's possible answer for this problem.

    thanks


Log in to reply
 

Suggested Topics

18
Online

11.4k
Users

11.1k
Topics

112.7k
Posts