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

    Add Gateway to QNAP

    Monocle Gateway
    4
    9
    947
    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.
    • C
      cory_booth last edited by

      Install Container Station
      1.png

      Search for “Monocle” under the “Docker” Hub - then Install.
      2.png

      Let’s go ahead and start this and make sure it runs…
      3.png

      We can see, it loaded… But at this point, it will error…
      4.png

      Before you load the monocle.token, we need to make a network adjustment.
      Select “Settings” and “Advanced Settings”
      5.png

      Here we will navigate to “Network” and change the network mode from NAT to Bridge and match your local network. You should use a static IP for the Monocle Gateway that cannot be assigned to a DHCP device. You should use the Subnet and Gateway of your normal internet.

      For example, all my Alexa devices use internal IP of 192.168.1.XXX, thus my settings were:
      6.png

      After this, we need the API Key from https://portal.monoclecam.com/account
      7.png
      Select “Download”

      If you haven’t already done so, ensure your QNAP NAS will accept FTP.
      8.png

      Ensure the “Set root directory” is unchecked…
      9.png

      At this point, we will need a specalized FTP program. Standard FTP won’t do the job.
      I use the following FTP program. https://winscp.net/eng/index.php (which is Freeware)

      Once logged in, we need to find the location to place the monocle token file.
      10.png

      Here is the path I followed.
      /share
      /Container (symbolic link)
      /container-station-data
      /lib
      /docker
      /overlay2
      /GUID
      (to determine the right GUID, I looked for the GUID with only the following folders)
      /diff
      /etc
      /monocle
      11.png
      In the /diff/etc/monocle folder, I drag and dropped the monocle.token file.

      Now we need to “tag” the camera we want filtered back to the “gateway”. Note the bottom tag.
      12.png

      Now we can start the Container from within QNAP.
      When you invoke, “Alexa, Show me Back” – you should see the camera flow in the “Console”
      13.png

      Monocle 2 Replies Last reply Reply Quote 0
      • Monocle
        Monocle @cory_booth last edited by

        @cory_booth said in Add Gateway to QNAP:

        Thank you for posting these instructions! Very helpful.

        • Robert

        Monocle: https://monoclecam.com
        Getting Started | Troubleshooting Guide | FAQ | Contact Support

        1 Reply Last reply Reply Quote 0
        • Monocle
          Monocle @cory_booth last edited by

          @cory_booth

          One minor improvement might be to create a link to a shared folder/volume that replaces the “\etc\monocle” directory inside the running container. This way if the container is ever blown away or you want to replace it when a new version of the container becomes available, then you won’t have to manually copy the monocle.token file each time.

          For the Synology NAS example, we accomplish this via this line in the Dockerfile:

              volumes:
                - /volume1/monocle:/etc/monocle
          

          https://monoclecam.com/monocle-gateway/install/synology

          You could probably do it just as easily via the GUI tools. You just have to figure out what path to include for the QNAP shared folder.

          Monocle: https://monoclecam.com
          Getting Started | Troubleshooting Guide | FAQ | Contact Support

          1 Reply Last reply Reply Quote 0
          • C
            cory_booth last edited by cory_booth

            There is an option in the Advanced Settings to do just that.
            However, I did not have the ability to “Add Shared Folder” for some reason.
            14.png

            Probably something simple - I saw a similar thread for exactly this here:
            https://blog.linuxserver.io/2017/09/17/how-to-setup-containers-on-qnap/
            15.png

            Monocle 1 Reply Last reply Reply Quote 0
            • Monocle
              Monocle @cory_booth last edited by

              @cory_booth

              Yes, that “Volume from host” section looks like what I’m talking about.

              Thanks, Robert

              Monocle: https://monoclecam.com
              Getting Started | Troubleshooting Guide | FAQ | Contact Support

              C 1 Reply Last reply Reply Quote 0
              • C
                cory_booth @Monocle last edited by cory_booth

                @Monocle

                Robert, all…

                I believe, if you want to establish a shared volume linked to your container - you have to do it at creation.
                Keep that in mind when you use these steps.

                1 Reply Last reply Reply Quote 0
                • Monocle
                  Monocle last edited by

                  FYI …

                  moved this topic to category: Monocle Gateway.

                  Thanks, Robert

                  Monocle: https://monoclecam.com
                  Getting Started | Troubleshooting Guide | FAQ | Contact Support

                  1 Reply Last reply Reply Quote 0
                  • J
                    jlipsit last edited by

                    Thanks for the post. This got me up and running. Would be nice if the gateway could be installed directly on the QNAP platform in the future.

                    1 Reply Last reply Reply Quote 0
                    • B
                      brackb01 last edited by

                      Hi - i’ve followed the instructions, and can see console responses when I ask Alexa, but I just get back (quite quickly) the camera isn’t responding? any ideas?

                      • NAME : Back Garden
                      • LABEL : PRIMARY
                      • URL : rtsp://IP:Port/axis-media/media.amp
                      • UUID : xxxxx
                      • SESS : xxxxx
                      • MODIF : Wed Jul 08 2020 19:22:12 GMT+0000 (UTC)
                      • TAGS : @tunnel

                      thanks in advance.

                      Brian

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post
                      Privacy Policy  |  Terms & Conditions

                      © 2018 shadeBlue, LLC.