• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • 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.6k 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.
  • B Offline
    bmanos
    last edited by 19 Sept 2017, 16:12

    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 20 Sept 2017, 07:59 Reply Quote 0
    • T Offline
      Tag MOD @bmanos
      last edited by 20 Sept 2017, 07:59

      @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
      • B Offline
        bmanos
        last edited by 20 Sept 2017, 14:59

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

        J 1 Reply Last reply 20 Sept 2017, 19:21 Reply Quote 0
        • J Offline
          jkandasa @bmanos
          last edited by 20 Sept 2017, 19:21

          @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
          • B Offline
            bmanos
            last edited by bmanos 21 Sept 2017, 19:32

            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

            J 1 Reply Last reply 22 Sept 2017, 01:48 Reply Quote 0
            • J Offline
              jkandasa @bmanos
              last edited by 22 Sept 2017, 01:48

              @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
              • B Offline
                bmanos
                last edited by 22 Sept 2017, 18:31

                thanks @jkandasa

                1 Reply Last reply Reply Quote 0
                1 out of 7
                • First post
                  1/7
                  Last post

                0

                Online

                619

                Users

                531

                Topics

                3.4k

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