• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Missing Parent EUI

    Scheduled Pinned Locked Moved Dashboard
    12 Posts 2 Posters 985 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      guille @jkandasa
      last edited by

      @jkandasa Thanks for your quick response.

      How do I do so? Do you mean putting a wait() before the smartsleep() call?

      Right now I have no waits whatsoever.

      Thanks again

      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @guille
        last edited by jkandasa

        @guille No, in your sketch you have to add, as mentioned here.

        increase smart sleep up to 2 seconds and check. if it works, reduce the delay.

        #define MY_SMART_SLEEP_WAIT_DURATION_MS (2000ul)
        
        1 Reply Last reply Reply Quote 1
        • G Offline
          guille
          last edited by

          Bumped it to 2 seconds.

          Still no luck.

          Should I try bigger values? 5 secs?

          2019-01-24_13-08-58.jpg

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            guille @guille
            last edited by

            @guille Solved! It worked with 2 seconds.

            Thanks a lot.

            jkandasaJ 1 Reply Last reply Reply Quote 1
            • jkandasaJ Offline
              jkandasa @guille
              last edited by

              @guille 2 seconds may eat your sleeping node battery, keep in mind 😉

              G 2 Replies Last reply Reply Quote 0
              • G Offline
                guille @jkandasa
                last edited by

                @jkandasa It "disconnected" again.

                Can you make the Parent EUI more permanent in mycontroller.org?

                1 Reply Last reply Reply Quote 0
                • G Offline
                  guille @jkandasa
                  last edited by

                  @jkandasa said in Missing Parent EUI:

                  @guille 2 seconds may eat your sleeping node battery, keep in mind 😉

                  Indeed. It sucked 2% in less than 4 hours 😞

                  jkandasaJ 1 Reply Last reply Reply Quote 0
                  • jkandasaJ Offline
                    jkandasa @guille
                    last edited by

                    @guille You may send parent node Id when your node awake,
                    I didn't test this, just constructed by seeing MySensors core library. Kindly check this and report the status.

                    Call this function, when your node awake.

                    void sendParentNodeId() {
                      MyMessage myParent;
                      build(myParent, GATEWAY_ADDRESS, NODE_SENSOR_ID, C_INTERNAL, I_DISCOVER_RESPONSE);
                      send(myParent.set(_transportConfig.parentNodeId));
                    }
                    

                    NOTE: _transportConfig is internal reference from MySensors library. They may change in future versions. You need to take care of this reference.

                    G 1 Reply Last reply Reply Quote 1
                    • G Offline
                      guille @jkandasa
                      last edited by

                      @jkandasa The weirdest thing.

                      I added that function with a call at every loop and it makes a new unexistent sensor at the node:

                      SENSOR_BC HVAC flow (?)

                      weird2019-01-25_15-09-31.jpg weird2019-01-25_15-10-00.jpg

                      And still won't send the parent EUI.

                      Don't worry! Is not that important. All works fine. It is my small peeve trying to know my topology.

                      Thanks!

                      jkandasaJ 1 Reply Last reply Reply Quote 1
                      • jkandasaJ Offline
                        jkandasa @guille
                        last edited by

                        @guille Ah, do not know why? let me have a look sometime later.
                        I hope this gives some hints to fix https://github.com/mycontroller-org/mycontroller/issues/484 🙂

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        1

                        Online

                        598

                        Users

                        530

                        Topics

                        3.4k

                        Posts
                        Copyright © 2015-2025 MyController.org | Contributors | Localization