Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Mozilla WebThings Gateway
  4. MySensors add-on crashed ?

MySensors add-on crashed ?

Scheduled Pinned Locked Moved Mozilla WebThings Gateway
12 Posts 2 Posters 908 Views 2 Watching
  • 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.
  • alowhumA Offline
    alowhumA Offline
    alowhum
    Plugin Developer
    wrote on last edited by
    #2

    I always run with persistence unchecked too, since I want to know which devices are actually online and responding.

    I can try and create a debug function for the next version. Then perhaps we can find the error.

    You may have to remove things you created before version 0.0.5, since in that version there were a lot of changed to how capabilities work - a lot were removed. And those are the things that can be selected to end up in the center of your thing.

    Still, temperature should work just fine, theoretically.

    Nca78N 1 Reply Last reply
    0
    • alowhumA alowhum

      I always run with persistence unchecked too, since I want to know which devices are actually online and responding.

      I can try and create a debug function for the next version. Then perhaps we can find the error.

      You may have to remove things you created before version 0.0.5, since in that version there were a lot of changed to how capabilities work - a lot were removed. And those are the things that can be selected to end up in the center of your thing.

      Still, temperature should work just fine, theoretically.

      Nca78N Offline
      Nca78N Offline
      Nca78
      Hardware Contributor
      wrote on last edited by
      #3

      @alowhum said in MySensors add-on crashed ?:

      You may have to remove things you created before version 0.0.5, since in that version there were a lot of changed to how capabilities work - a lot were removed. And those are the things that can be selected to end up in the center of your thing.

      Still, temperature should work just fine, theoretically.

      At the moment I only set temperature as center of the thing, I only have TH sensors connected to the Things Gateway.
      I also deleted everything and removed/reinstalled the add-on, so I have nothing left from the previous version.

      1 Reply Last reply
      0
      • alowhumA Offline
        alowhumA Offline
        alowhum
        Plugin Developer
        wrote on last edited by alowhum
        #4

        @Nca78 Great, that will narrow things down. I've created a new version (0.0.6) that exposes the debug options. You will be able to enable 'debugging' and see all the same details I do while developing. Then we can find in more detail what it going on. It should arrive on your system automatically when Mozilla accepts it.

        1 Reply Last reply
        1
        • Nca78N Offline
          Nca78N Offline
          Nca78
          Hardware Contributor
          wrote on last edited by
          #5

          I still had a similar problem today, after restarting the gateway the add-on seemed to have failed to restart properly as the temperatures were showing 0°C.
          I disabled and re-enabled the add-on and the temps sensors got updates. But now this evening I see all sensors back to "Thing" display, the only suspicious thing I see in the log is the same "MaxListenersExceededWarning" message I posted above.
          The fact that they didn't immediately switch back to "Thing" display after restarting add-on might be due to the cache not updated, I'm not sure at all.

          But with the "native" thing on ESP32 also regularly failing and the really annoying and anti-ergonomic logs, I think I'll have a little break and come back to the Things Gateway later, when it will hopefully be a bit more polished and when I'll have had time to learn about the technologies it uses as I'm a bit stuck at the moment and can't check/fix anything myself.

          1 Reply Last reply
          0
          • alowhumA Offline
            alowhumA Offline
            alowhum
            Plugin Developer
            wrote on last edited by
            #6

            @Nca78 I understand, sorry to hear it.

            Could you share one log with me in a private chat? Then I could try to use it to figure out what could be the cause on your system.

            1 Reply Last reply
            0
            • alowhumA Offline
              alowhumA Offline
              alowhum
              Plugin Developer
              wrote on last edited by
              #7

              @nca78 I'm noticing the same behaviour of things switching back to displaying 'thing' in the center instead of the earlier selected property.

              Nca78N 1 Reply Last reply
              0
              • alowhumA alowhum

                @nca78 I'm noticing the same behaviour of things switching back to displaying 'thing' in the center instead of the earlier selected property.

                Nca78N Offline
                Nca78N Offline
                Nca78
                Hardware Contributor
                wrote on last edited by
                #8

                @alowhum said in MySensors add-on crashed ?:

                @nca78 I'm noticing the same behaviour of things switching back to displaying 'thing' in the center instead of the earlier selected property.

                :( Did you manage to identify the source/cause of the problem ? Restart of mysensors gateway or things gateway ? Version update ?

                It didn't happen to me anymore this week.

                1 Reply Last reply
                0
                • alowhumA Offline
                  alowhumA Offline
                  alowhum
                  Plugin Developer
                  wrote on last edited by
                  #9

                  It happens when you restart the add-on / gateway. I'm trying to figure it out here:
                  https://github.com/mozilla-iot/gateway-addon-python/issues/48

                  1 Reply Last reply
                  1
                  • alowhumA Offline
                    alowhumA Offline
                    alowhum
                    Plugin Developer
                    wrote on last edited by
                    #10

                    @Nca78 The second problem you mentioned should be fixed now.
                    https://forum.mysensors.org/topic/10342/mozilla-webthings-mysensors-add-on-adapter/26

                    Nca78N 1 Reply Last reply
                    0
                    • alowhumA alowhum

                      @Nca78 The second problem you mentioned should be fixed now.
                      https://forum.mysensors.org/topic/10342/mozilla-webthings-mysensors-add-on-adapter/26

                      Nca78N Offline
                      Nca78N Offline
                      Nca78
                      Hardware Contributor
                      wrote on last edited by
                      #11

                      @alowhum said in MySensors add-on crashed ?:

                      @Nca78 The second problem you mentioned should be fixed now.
                      https://forum.mysensors.org/topic/10342/mozilla-webthings-mysensors-add-on-adapter/26

                      I just updated the add-on and it went all smoothly, all sensors are still here showing temperature and dimmed until message is effectively received.
                      I have activated the extra logging in case of a future problem.

                      Thank you for your hard work !

                      1 Reply Last reply
                      0
                      • alowhumA Offline
                        alowhumA Offline
                        alowhum
                        Plugin Developer
                        wrote on last edited by
                        #12

                        @Nca78 My pleasure!

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        11

                        Online

                        11.7k

                        Users

                        11.2k

                        Topics

                        113.0k

                        Posts


                        Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • MySensors
                        • OpenHardware.io
                        • Categories
                        • Recent
                        • Tags
                        • Popular