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

    How to change Gateway without doing all from the beginning

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 3 Posters 1.5k 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.
    • bmanosB Offline
      bmanos
      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 1 Reply Last reply Reply Quote 0
      • T Offline
        Tag MOD @bmanos
        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....

        1 Reply Last reply Reply Quote 0
        • bmanosB Offline
          bmanos
          last edited by

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

          jkandasaJ 1 Reply Last reply Reply Quote 0
          • jkandasaJ Offline
            jkandasa @bmanos
            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.

            1 Reply Last reply Reply Quote 0
            • bmanosB Offline
              bmanos
              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 1 Reply Last reply Reply Quote 0
              • jkandasaJ Offline
                jkandasa @bmanos
                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.

                1 Reply Last reply Reply Quote 0
                • bmanosB Offline
                  bmanos
                  last edited by

                  thanks @jkandasa

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

                  0

                  Online

                  590

                  Users

                  529

                  Topics

                  3.4k

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