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

    How to change Gateway without doing all from the beginning

    scheduled pinned locked moved General Discussion
    7 posts 3 posters 1.8k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • bmanosB offline
      bmanos
      global:last-edited-by,

      Hello

      I was wondering how it is possible to change gateway without remaking all rules, operations, dashboards etc...
      My gateway is another ethenet raspberry pi with a different name (and no I don't want just to change the name on the new one to give the name of the old one)
      Thanks
      Emmanuel

      T one-reply-to-this-post last-reply-time reply quote 0
      • T offline
        Tag MOD @bmanos
        global:last-edited-by,

        @bmanos
        Hi!, not sure if that can be done by using a different name....
        I have changed my gateway multiple times, between ttyUSB0 (attached arduino) to mysgw running on the board itself (ttyMysensorsGateway) but i always kept the same name....

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

          thanks for your answer
          Anyone else with a different answer? 🙂

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

            @bmanos You can edit anything in the gateway including the name. But do not delete. internally MyController uses a unique id for the gateway.

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

              Ok thanks @jkandasa and @Tag ,
              But I made the following:
              First I add my second gateway
              After I took a backup open the script file and just reverse the id of the gateway
              Then I restore the backup and it seems to work just fine

              Is the gateway id relate to something else that I should also change??

              Emmanuel

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

                @bmanos

                Is the gateway id relate to something else that I should also change??

                Changing gateway id by the user is not recommended. Internally it is referred in so many places.
                In your case, still, you have both gateways and you have reversed the ids, so it works.

                Simple fix for this, editing the old gateway with new settings on the GUI.

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

                  thanks @jkandasa

                  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