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

    Monocle Gateway and Unifi Protect camera with Alexa Show 5

    General Discussion
    5
    25
    2132
    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.
    • T
      topolino65 @GreggC last edited by

      @GreggC I am using 2 x UVC G3 Pros and 1 x UVCG3 Flex, all RTSP streaming at 1920 x 1080.

      GreggC 2 Replies Last reply Reply Quote 0
      • GreggC
        GreggC @topolino65 last edited by

        @topolino65 I haven’t tested the G3 Pro with Monocle, but can confirm that the Flex works.

        Are you trying to stream directly from the cameras or the CloudKey/NVR? Since your cameras are managed by Protect, I think you must stream from the NVR because the RTSP feeds directly from the cameras gets disabled once they’re adopted to Protect.

        1 Reply Last reply Reply Quote 0
        • GreggC
          GreggC @topolino65 last edited by

          @topolino65 See here:

          https://help.ubnt.com/hc/en-us/articles/221314008-UniFi-Video-How-to-Utilize-RTSP-Directly-From-the-Camera

          T 1 Reply Last reply Reply Quote 0
          • T
            topolino65 @GreggC last edited by

            @GreggC Thanks Gregg. I’m streaming from the cameras using the RTSP streams enabled within the UniFi protect software on the NVR I have the ability to view the RTSP streams from all the cameras in the Windows VLC player and have checked the codecs are compatible, also checked for DNS rebinding and all good. Also I can see from the cameras feeds page on the Monocle portal when the camera access was requested by Alexa, it just doesn’t show up on the device and I get the Alexa message “Hmm…the camera is not responding”

            GreggC 1 Reply Last reply Reply Quote 0
            • GreggC
              GreggC @topolino65 last edited by

              @topolino65 I can’t think of anything else off the top of my head other than in the Alexa app to disable and re-enable the Monocle skill and let it rediscover the cameras. I have had to do that after making various changes in the environment.

              1 Reply Last reply Reply Quote 0
              • T
                topolino65 last edited by

                OK I will give it a try, thanks.

                1 Reply Last reply Reply Quote 0
                • T
                  topolino65 last edited by

                  GreggC no luck with that however when I look at each camera in the Alexa app it says it is’Connected Via’ “Camera name” as opposed to the “Monocle Gateway” service. Is this normal?

                  1 Reply Last reply Reply Quote 0
                  • T
                    topolino65 last edited by

                    Here is the last camera feed request for the Flex camera received from Alexa on the portal

                    [
                    {
                    “timestamp”: “2020-02-19T15:00:48.143Z”,
                    “request”: “InitializeCameraStreams”,
                    “response”: [
                    {
                    “uri”: “rtsp://192.168.1.30:7447/iXsCRn9LPMJlPCj4”,
                    “proxy”: “rtsp://7c1f4f75-bcba-4db9-b6a7-9764bf3be715.mproxy.io:443/STREAM:b84218f9-bf45-4cdc-b8dc-c72ce1241415?session=5c19cbdc-4764-44e3-93b0-76ea89ecff70”,
                    “idleTimeoutSeconds”: “10”,
                    “resolution”: {
                    “width”: “1920”,
                    “height”: “1080”
                    },
                    “authorizationType”: “NONE”,
                    “videoCodec”: “H264”,
                    “audioCodec”: “AAC”,
                    “protocol”: “RTSP”
                    }
                    ]
                    },

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

                      Hi, I have about 6 Unifi cameras up and running right now and have the monocle gateway running. My cameras are showing as requested on the FireTV 4K and an Alexa Show 5.

                      I didnt see you say (if you did, I missed it), that you did the camera discovery via the Alexa app. ?

                      For the monocle setup, you dont need authentication. The RTSP link the Protect program generates has a key in the string that is the authentication.

                      Need the tag… @tunnel

                      Also, I’m running a lower resolution, haven’t tried it at a higher. During the research of setting up monocle it was recommended in a few cases to just go to the lower res, more responsive.
                      Here’s the dashboard settings from one of my unifi cameras
                      monocle-Capture.JPG

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

                        @topolino65 said in Monocle Gateway and Unifi Protect camera with Alexa Show 5:

                        Alexa app it says it is’Connected Via’ “Camera name”

                        So., seems you did the discover the cameras…
                        fyi, my alexa says the same thing for each camera.: Connected Via’ “Camera name”

                        and see "authorizationType”: “NONE”, in your posting of the feed request.

                        Last would seem… Did you do the tunnel tag?

                        I’m running several Flexes, Dome, G3 pro, G3 Bullet, all working.

                        T 1 Reply Last reply Reply Quote 0
                        • GreggC
                          GreggC last edited by

                          +1 on what bk has said, though I couldn’t open the JPG.

                          I can check my Monocle setting later if still needed.

                          To confirm, I have run with 1920 x 1080 (and higher) no problem. I have tested will all 3 UniFi streams (high, medium, low), and no matter the resolution of a particular stream on a particular camera model I’ve had success.

                          Regarding RTSP authentication, I once thought I had it up with Monocle before I realized it doesn’t even get used. No matter, it doesn’t get in the way.

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

                            @GreggC said in Monocle Gateway and Unifi Protect camera with Alexa Show 5:

                            though I couldn’t open the JPG.

                            I broke the link, let me fix it…
                            here…
                            monocle-Capture.JPG

                            I don’t know if the concerns are with the Show 5 regarding the stream’s resolution, or just responsiveness. I haven’t dickered with it… just left it as shown. On the FireTV and show5, is looks great as is and comes up quick when requested. Blows away Ring and their streaming delays . Seems a 50/50 change the Ring stream will ever load. Unifi needs its own doorbell cam.

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

                              my two last clean ups were the Authentication and Tag… I had authentication in there and it didn’t work. since I had the six cams up, just took pot shots / different configs for each cam at what would and wouldn’t work, since it didn’t when first tried…but all streams worked with VLC .
                              I found a post on the Unifi forum of why the Authentication wasn’t needed, and found on here about the Tags… and @tunnel needed.

                              1 Reply Last reply Reply Quote 0
                              • T
                                topolino65 @bk last edited by

                                @bk thanks for your reply. Yes as you can see I get the responses through from Alexa when I check on the portal and authentication is set to none, tag is set to @tunnel and resolution is set to 1920 x 1080. Still no luck. Monocle service is running and I have added the API token to the correct folder in Windows. I will try adding the three cameras again to Alexa via the app each at low med and high res (so 3 x each camera) and see which if any work. BTW I tried the A@proxy with and without @noaudio tags and still no joy

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

                                  @topolino65 ,

                                  Have you tried killing the service… and just run from the elevated CMD session?

                                  I have not yet installed Monocle as a service, still running off of some batch files (so less typing) in the cmd / admin level session… with the 6 cameras running, I should sit down and install the service.

                                  I assume when you say you have API token on the “correct windows folder”… you have it in the same folder as the monocle-gateway executable ?

                                  My monocle folder is right under the root for my c drive.

                                  Sorry of some of this is basic… just trying to stab at things, since it seems it should be working.
                                  I feel your pain…

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    topolino65 last edited by

                                    @bk said in Monocle Gateway and Unifi Protect camera with Alexa Show 5:

                                    Have you tried killing the service… and just run from the elevated CMD session?

                                    Thanks @bk.

                                    Do you mean killing the windows service from running and running Monocle from the command prompt? If so whats the syntax from the C: prompt before I try calling for a feed from Alexa?

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

                                      @topolino65 said in Monocle Gateway and Unifi Protect camera with Alexa Show 5:

                                      Do you mean killing the windows service from running and running Monocle from the command prompt? If so whats the syntax from the prompt before I try calling for a feed from Alexa?

                                      Yes…
                                      https://monoclecam.com/monocle-gateway/install/windows
                                      midway down…
                                      The following commands can be executed in a command window to install, uninstall, start, stop and restart the Monocle Gateway windows service. You must run the command window as an administrator to control windows services.

                                      Install the Windows service: monocle-gateway.exe --install
                                      
                                      Start the Windows service: monocle-gateway.exe --start
                                      
                                      Stop the Windows service: monocle-gateway.exe --stop
                                      
                                      Restart the Windows service: monocle-gateway.exe --restart
                                      Uninstall the Windows service: monocle-gateway.exe --uninstall
                                      

                                      So kill that service.
                                      run cmd as administrator… go to your monocle directory… and the token needs to be in that directory as well, then execute monocle-gateway.exe

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

                                        FYI, seems to help if after you make changes to the monocle dash board, you kill the monocle gateway and restart it. Then delete and re-discover the cameras. I just did a tweak to one of the g3 pro’s , and it didn’t respond, those three steps other and it was up and running again.
                                        -change dashboard
                                        -kill , restart gateway
                                        -kill camera in alexa
                                        -re-discover camera in alexa

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

                                          @topolino65

                                          Please post the contents of your Monocle Gateway log and I can review it for any obvious problems. Make sure the log includes/covers a single request to Alexa for a camera stream where she fails.
                                          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 Monocle

                                            I am having the exact same problem with the same Unifi Protect G3 cameras. Windows 10 - 64bit Install went perfect and I can see the request hitting the gateway, but the Alexa times’s out and there is no image displayed.

                                            -------------------------------------------------
                                            INITIALIZE RTSP STREAM:  Back Door
                                            -------------------------------------------------
                                             - NAME  : Back Door
                                             - LABEL : PRIMARY
                                             - URL   : HIDDEN
                                             - UUID  : HIDDEN
                                             - SESS  : HIDDEN
                                             - MODIF : Wed May 13 2020 16:48:57 GMT-0400 (Eastern Daylight Time)
                                             - TAGS  : @tunnel
                                            -------------------------------------------------
                                            

                                            I installed the gateway just to be able to view the images on my Show 5 and Alexa 4K Stick. (Was working properly on other Amazon Devices.)

                                            All devices on the same network - was able to ping the “myproxi.io”

                                            Did this ever get resolved? I would like to provide logs, but do not want to post them on the forum.

                                            Any help would be appreciated.

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

                                            © 2018 shadeBlue, LLC.