Gateway on raspberry Pi



  • IP Camera/NVR Make and Model - Unifi CloudKey 2 running Unifi protect on G3 bullet cameras
    Alexa Device you are testing with - Echo Show 8
    Any steps you have already attempted and results/outcome - installed and reinstalled the gateway software

    I have a unifi set up and wanted to use the echo show 8 to view the streams. I tested the streams as per theinstructions and they are fine but not showing on the Echo. Reading through I assume this is because of DNS rebinding so needs the gateway. I bought a Raspberry Pi 4 to run this on and set it up and attempted to follow the instructions to install the gateway. It seems to have downloaded ok but the Token I downloaded will not copy to the directory file. I have changed the permissions etc but still no success. When I run the command to test it in the terminal i get

    pi@raspberrypi:~/monocle-gateway $ monocle-gateway --tail
    
     ******************************************************************
     *             __  __  ___  _  _  ___   ___ _    ___              *
     *            |  \/  |/ _ \| \| |/ _ \ / __| |  | __|             *
     *            | |\/| | (_) | .` | (_) | (__| |__| _|              *
     *            |_|  |_|\___/|_|\_|\___/ \___|____|___|             *
     *                                                                *
     ******************************************************************
    
    <<TAIL>> LOG FOR THE [MONOCLE-GATEWAY] SERVICE
    -- Logs begin at Thu 2021-03-18 15:17:02 GMT. --
    Mar 18 15:45:05 raspberrypi systemd[1]: Condition check resulted in Monocle Gateway Service being skipped.
    


  • @garethb

    Please try it again … there was a server side issue that should be resolved now. However, you will need to install the token file or it definitely will fail.

    Instructions: https://monoclecam.com/monocle-gateway/install/linux-raspi

    On the step where you need to add the monocle.token file, you will probably need to add “sudo” to the command. For example, if I use the nano text editor I would start creating the file like this:

    sudo nano /etc/monocle/monocle.token
    

    I would then paste the contents of my monocle token into the file and save it.



  • I have just tried again and got the below. Thanks for the information on the token, I am still not convinced the token has copied across correctly how can i check this?

    pi@raspberrypi:~ $ monocle-gateway --tail


    •         __  __  ___  _  _  ___   ___ _    ___              *
      
    •        |  \/  |/ _ \| \| |/ _ \ / __| |  | __|             *
      
    •        | |\/| | (_) | .` | (_) | (__| |__| _|              *
      
    •        |_|  |_|\___/|_|\_|\___/ \___|____|___|             *
      
    •                                                            *
      

    <<TAIL>> LOG FOR THE [MONOCLE-GATEWAY] SERVICE
    – Logs begin at Thu 2021-03-18 19:55:37 GMT. –
    Mar 18 20:11:46 raspberrypi systemd[1]: Condition check resulted in Monocle Gateway Service being skipped.



  • I am still getting the same message this morning. I think I have managed to resolved the token issue though.



  • I am still getting the same ‘monocle gateway service being skipped’ is this still a server side issue?



  • @garethb Just Rebooted and all working!


Log in to reply