Request parentNodeID



  • Hello,

    I'm using MySensors 1.4 (will update soon) and the following line to present the node:

    gw.begin(incomingMessage, 23, true, 0);
    

    In this way I'm setting the node ID to 23, reperater mode ON and parentNodeID to zero. It means It tries to comunicate always directly to the gateway (node0). Is it correct until here?

    Then, If I use this:

    gw.begin(incomingMessage, 23, true);
    

    How can I query which parentID is the node using? I would like to send this information then to the node0.

    Thanks for the help!

    Simon


Log in to reply
 

Suggested Topics

  • 4
  • 5
  • 9
  • 933
  • 2
  • 14

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts