Problem with automatic assignments of nodeId using MySensors



  • I've seen the following sentence in MySensors website:

    "nodeId - The unique id (1-254) for this sensor. Default is AUTO(255) which means sensor tries to fetch an id from controller".

    I'm trying to use AUTO as the second parameter in the method begin() so that I get unique nodeIds for each of my nodes, but I can't do that. Instead, when AUTO is used for this purpose, the nodeId given for each node is set as the last one which was stored in their EEPROM memories. Can anybody help me with any already built-in technique for setting unique nodeIds for the nodes of my network?


  • Admin

    The controller hands out id. Which controller do you have?


  • Mod

    If you're reusing Arduinos, and you want them to get new node ids, you need to clear the eeprom. http://www.mysensors.org/build/debug#clearing-eeprom


Log in to reply
 

Suggested Topics

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts