• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    Missing Parent EUI

    scheduled pinned locked moved Dashboard
    12 posts 2 posters 1.6k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • G offline
      guille
      global:last-edited-by,

      Hi guys. I have a couple of very simple battery nodes with BME280 sensors.

      They are working great, but they all have no "Parent EUI", so they stay disconnected on the topology map.

      Any hints?

      Thanks!

      2019-01-24_11-37-39.jpg 2019-01-24_11-38-34.jpg 2019-01-24_11-38-04.jpg 2019-01-24_11-38-57.jpg

      jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
      • jkandasaJ offline
        jkandasa @guille
        global:last-edited-by,

        @guille Sleeping node may not respond to discover request. Hence parent EUI is not updated. Can you try to increase Sleep node wait duration? and check again?

        G one-reply-to-this-post last-reply-time reply quote 0
        • G offline
          guille @jkandasa
          global: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 one-reply-to-this-post last-reply-time reply quote 0
          • jkandasaJ offline
            jkandasa @guille
            global: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)
            
            one-reply-to-this-post last-reply-time reply quote 1
            • G offline
              guille
              global: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 one-reply-to-this-post last-reply-time reply quote 0
              • G offline
                guille @guille
                global:last-edited-by,

                @guille Solved! It worked with 2 seconds.

                Thanks a lot.

                jkandasaJ one-reply-to-this-post last-reply-time reply quote 1
                • jkandasaJ offline
                  jkandasa @guille
                  global:last-edited-by,

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

                  G topic:replies-to-this-post, 2 last-reply-time reply quote 0
                  • G offline
                    guille @jkandasa
                    global:last-edited-by,

                    @jkandasa It "disconnected" again.

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

                    one-reply-to-this-post last-reply-time reply quote 0
                    • G offline
                      guille @jkandasa
                      global: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 one-reply-to-this-post last-reply-time reply quote 0
                      • jkandasaJ offline
                        jkandasa @guille
                        global: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 one-reply-to-this-post last-reply-time reply quote 1
                        • G offline
                          guille @jkandasa
                          global: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 one-reply-to-this-post last-reply-time reply quote 1
                          • jkandasaJ offline
                            jkandasa @guille
                            global: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 🙂

                            one-reply-to-this-post last-reply-time reply quote 0
                            • first-post
                              last-post

                            0

                            online

                            644

                            users

                            532

                            topics

                            3.4k

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