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

    Video of MyC stops getting data from nodes

    scheduled pinned locked moved Troubleshooting
    9 posts 2 posters 1.4k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • skywatchS offline
      skywatch
      global:last-edited-by,

      https://www.youtube.com/watch?v=1lw4hX9IswA

      To me it seems like the GW is up, data is being received by the GW and passed to my but all the nodes are showing as down.
      The GW up times are all different so it seems that they are spontaneously rebooting for some reason. But that's another issue 😉

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

        @skywatch Sadly I do not see any hint here 😞
        Do values get updated on the sensor page?

        one-reply-to-this-post last-reply-time reply quote 0
        • skywatchS offline
          skywatch
          global:last-edited-by,

          The sensor values do not get updated.

          The video seemed the best way to clearly show what has happened as it's a pain to explain in detail 😉 If I can show anything more on the next video let me know and I will do it, just have to wait until the next 'crash'!

          What bootloader do you use for your nodes and for your gateway? Maybe there is something in there worth exploring?

          one-reply-to-this-post last-reply-time reply quote 0
          • skywatchS offline
            skywatch
            global:last-edited-by,

            Happened again and this time it just got a little more weird - now in resources it shows that the GW is up, data is received but the nodes and sensors show no data. But look at the GW in the topography view and it is down. Check again in the resources window and it shows as up. Now I am really confused!

            https://youtu.be/4ciriwlu0os

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

              @skywatch Looks like you have some error on the log. can you send the mycontroller log and also enable to log raw message of that gateway.

              to enable gateway raw message log: https://github.com/mycontroller-org/mycontroller-v1-legacy/issues/473

              What bootloader do you use for your nodes and for your gateway? Maybe there is something in there worth exploring?

              while ago I switched to RFM69, I switched to MY_OTA_FIRMWARE_FEATURE, Dualoptibootbootloader

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

                @jkandasa Thanks for the response - I have had to reboot several time so would the logs still have what you want? IF so I can send to you.

                Also it happens on either GW, not just one so I'll enable those logs for both if that's OK?

                Maybe I next need to try the optiboot loader. Would it conflict with signing or encryption at all? AFAIK you can 'only' upload new firmware vie FOTA and not via a programmer once you take that step, is it true?

                Does FOTA play nice with signing nodes and encrypted nodes?

                Thanks 🙂

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

                  @skywatch Yes, please send those logs. I may get some clues

                  Dualoptiboot is an online OTA updater. So all your firmware data are transferred via normal application run time and stored on a external memory.
                  On the next reboot it is checking is there any new firmware on the external memory. if a new firmware available loads that into your microcontroller and application boots from the newly loaded firmware.
                  I think serial upload will work with dualoptiboot. But I never tested that scenario.
                  The problem with dualoptiboot I see is, When there is communication issue at the time of firmware transfer and when you try to push again next time, it says already in latest version. So in this case you have to change the firmware version details in MyController GUI to accept the firmware again. Other than this issue I do not see any.

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

                    @jkandasa Logs sent and reply received.

                    One thing I forgot to mention was that upon a reboot of the pi, one GW would have the sensor of the other GW in it's list but without any details or data.
                    They GWs are on different RF channels 10MHz apart and different USB ports (USB0 and USB1) so I am not sure why this happens.. It is always the second GW that seems to get the 'ghost' data intended for the first GW, never the other way around.

                    one-reply-to-this-post last-reply-time reply quote 0
                    • skywatchS offline
                      skywatch
                      global:last-edited-by,

                      Intresting thing happened this weekend. The nodes all appeared 'down' again and yet in all screens (resources and topology) the GW was showing as up. It was a mystery. Then, I tried to turn on some lights, it worked.

                      So this time MyController is not getting data from the nodes, but is able to send commands to the nodes correctly. I am beyond puzzled by this as it is no longer a GW faliure nor is it a NRF24l01 lock up.

                      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