Unraid and Unifi G4
-
New to Monocle and have a few issues with setup. Originally I just entered my camera details in portal with local ip eg 192.168.1.1:7447/string and enabled the alexa skill. Camera is set to 720p with no audio
Quick check on echo5 and failed to load. Obviously it wasn’t going to be that simple.
So now running Monocle docker on unraid with my monocle.token and monocle.properties
# ****************************************************************** # * __ __ ___ _ _ ___ ___ _ ___ * # * | \/ |/ _ \| \| |/ _ \ / __| | | __| * # * | |\/| | (_) | .` | (_) | (__| |__| _| * # * |_| |_|\___/|_|\_|\___/ \___|____|___| * # * * # ****************************************************************** # * MONOCLE GATEWAY CONFIGURATION FILE * # ****************************************************************** #-------------------------------------- # RTSP SERVICE PROPERTIES #-------------------------------------- rtsp.host=192.168.1.1 rtsp.port=7447 rtsp.ssl.port=443 #-------------------------------------- # RTSP PROXY PROPERTIES #-------------------------------------- #rtsp.proxy.port=8554 #rtsp.proxy.expire_minutes=10 #rtsp.proxy.debug=false #rtsp.proxy.verbose=false #rtsp.proxy.log=false #-------------------------------------- # RTSP SERVICE REGISTRATION OVERRIDES #-------------------------------------- #rtsp.register.fqdn= rtsp.register.host=192.168.1.3 #rtsp.register.port=443 #-------------------------------------- # RTSP SSL CERTIFICATE & PRIVATE KEY #-------------------------------------- #rtsp.ssl.cert=ssl-cert.pem #rtsp.ssl.key=ssl-key.pem
The log file on unraid looks good assuming the above settings are correct
****************************************************************** * __ __ ___ _ _ ___ ___ _ ___ * * | \/ |/ _ \| \| |/ _ \ / __| | | __| * * | |\/| | (_) | .` | (_) | (__| |__| _| * * |_| |_|\___/|_|\_|\___/ \___|____|___| * * * ****************************************************************** ------------------------------------------------- MONOCLE RUNTIME ENVIRONMENT ------------------------------------------------- VERSION = 0.0.5 OS/ARCH = linux/x64 PROCESS = monocle-gateway (PID=1) TIMESTAMP = 2022-07-11T16:52:27.517Z ------------------------------------------------- MONOCLE GATEWAY SERVICE (Version: 0.0.5) ------------------------------------------------- [Monocle Starting] [Monocle Connecting] [Monocle Started] [RTSP Server Starting] [RTSP Server Listening] 192.168.1.1:7447 (RTSP) [RTSP Server Listening] 192.168.1.1:443 (RTSP-TLS) [RTSP Proxy Started] (PID=16) [RTSP Server Listening] 192.168.1.1:8554 (PROXY) [RTSP Server Started] [Monocle Connected] [RTSP Server Registered] ------------------------------------------------- MONOCLE RTSP SERVICE - INITIALIZED ------------------------------------------------- FQDN = 67a07fbf-16e3-4f45-a594-e74e5af89c1a.mproxy.io HOST = 192.168.1.3 PORT = 443 -------------------------------------------------
The thing I am unsure of am I meant to be entering local ip address or WAN IP and I have setup port 443 on my router to port forward 192.168.1.3 which is the IP for UNRAID
Also see camera history log
[ { "timestamp": "2022-07-11T17:17:08.668Z", "request": "InitializeCameraStreams", "response": [ { "uri": "rtsp://192.168.1.1:7447/wiZAv8xjjn670IJh", "proxy": "rtsp://proxy.monoclecam.com:443/ae2f0245-9b22-47ed-825b-b04469b94907", "resolution": { "width": "1280", "height": "720" }, "authorizationType": "NONE", "videoCodec": "H264", "audioCodec": "NONE", "protocol": "RTSP" } ] }, { "timestamp": "2022-07-11T17:17:03.181Z", "request": "InitializeCameraStreams", "response": [ { "uri": "rtsp://192.168.1.1:7447/wiZAv8xjjn670IJh", "proxy": "rtsp://proxy.monoclecam.com:443/36bb13a9-6ba0-44f3-be54-a5bedbc95d28", "resolution": { "width": "1280", "height": "720" }, "authorizationType": "NONE", "videoCodec": "H264", "audioCodec": "NONE", "protocol": "RTSP" } ] }, { "timestamp": "2022-07-11T17:16:54.057Z", "request": "InitializeCameraStreams", "response": [ { "uri": "rtsp://192.168.1.1:7447/wiZAv8xjjn670IJh", "proxy": "rtsp://proxy.monoclecam.com:443/9890df08-a081-488d-9f62-934c510ae129", "resolution": { "width": "1280", "height": "720" }, "authorizationType": "NONE", "videoCodec": "H264", "audioCodec": "NONE", "protocol": "RTSP" } ] }, { "timestamp": "2022-07-11T10:30:04.715Z", "request": "InitializeCameraStreams", "response": [ { "uri": "rtsp://192.168.1.1:7447/wiZAv8xjjn670IJh", "proxy": "rtsp://proxy.monoclecam.com:443/8d3c22ea-1982-48bd-9692-d8597672fac8", "resolution": { "width": "1280", "height": "720" }, "authorizationType": "NONE", "videoCodec": "H264", "audioCodec": "NONE", "protocol": "RTSP" } ] }, { "timestamp": "2022-07-11T10:29:59.052Z", "request": "InitializeCameraStreams", "response": [ { "uri": "rtsp://192.168.1.1:7447/wiZAv8xjjn670IJh", "proxy": "rtsp://proxy.monoclecam.com:443/e6cd0adc-b09b-4ce3-a8a7-914e3e3db19f", "resolution": { "width": "1280", "height": "720" }, "authorizationType": "NONE", "videoCodec": "H264", "audioCodec": "NONE", "protocol": "RTSP" } ] }, { "timestamp": "2022-07-11T10:29:50.707Z", "request": "InitializeCameraStreams", "response": [ { "uri": "rtsp://192.168.1.1:7447/wiZAv8xjjn670IJh", "proxy": "rtsp://proxy.monoclecam.com:443/9a0e43a6-b686-4869-b8bc-16a5c4d171ee", "resolution": { "width": "1280", "height": "720" }, "authorizationType": "NONE", "videoCodec": "H264", "audioCodec": "NONE", "protocol": "RTSP" } ] },
I am wondering if I need to rescan devices on alexa? The message I get on the show5 and and firestick is “Hmm, the camera isn’t responding…”
Port forwarding screenshot:
I have also confirmed the url in my camera feed loads correctly in VLC.
-
added @tunnel
[ { "timestamp": "2022-07-11T17:55:04.849Z", "request": "InitializeCameraStreams", "response": [ { "uri": "rtsp://192.168.1.1:7447/wiZAv8xjjn670IJh", "proxy": "rtsp://67a07fbf-16e3-4f45-a594-e74e5af89c1a.mproxy.io:443/STREAM:f8f288f8-0ba0-441b-9390-cd97ed870bae?session=f63a19bd-3a47-4558-a247-fc0cdf12579b", "resolution": { "width": "1280", "height": "720" }, "authorizationType": "NONE", "videoCodec": "H264", "audioCodec": "NONE", "protocol": "RTSP" } ] }, { "timestamp": "2022-07-11T17:55:03.192Z", "request": "InitializeCameraStreams", "response": [ { "uri": "rtsp://192.168.1.1:7447/wiZAv8xjjn670IJh", "proxy": "rtsp://67a07fbf-16e3-4f45-a594-e74e5af89c1a.mproxy.io:443/STREAM:f8f288f8-0ba0-441b-9390-cd97ed870bae?session=42f952bd-b583-4354-a09d-04f0ecb8a8a7", "resolution": { "width": "1280", "height": "720" }, "authorizationType": "NONE", "videoCodec": "H264", "audioCodec": "NONE", "protocol": "RTSP" } ] }, { "timestamp": "2022-07-11T17:54:57.862Z", "request": "InitializeCameraStreams", "response": [ { "uri": "rtsp://192.168.1.1:7447/wiZAv8xjjn670IJh", "proxy": "rtsp://67a07fbf-16e3-4f45-a594-e74e5af89c1a.mproxy.io:443/STREAM:f8f288f8-0ba0-441b-9390-cd97ed870bae?session=8358563c-8afe-497f-be84-61dc2ab2555a", "resolution": { "width": "1280", "height": "720" }, "authorizationType": "NONE", "videoCodec": "H264", "audioCodec": "NONE", "protocol": "RTSP" } ] }, { "timestamp": "2022-07-11T17:54:37.230Z", "request": "InitializeCameraStreams", "response": [ { "uri": "rtsp://192.168.1.1:7447/wiZAv8xjjn670IJh", "proxy": "rtsp://67a07fbf-16e3-4f45-a594-e74e5af89c1a.mproxy.io:443/STREAM:f8f288f8-0ba0-441b-9390-cd97ed870bae?session=7d5e9992-1394-4eff-bc10-f4f43b5c1ba4", "resolution": { "width": "1280", "height": "720" }, "authorizationType": "NONE", "videoCodec": "H264", "audioCodec": "NONE", "protocol": "RTSP" } ] }
-
Sorry cant seem to find edit button
I am also able to ping 67a07fbf-16e3-4f45-a594-e74e5af89c1a.mproxy.io:443
Pinging 67a07fbf-16e3-4f45-a594-e74e5af89c1a.mproxy.io [192.168.1.3] with 32 bytes of data: Reply from 192.168.1.3: bytes=32 time<1ms TTL=64 Reply from 192.168.1.3: bytes=32 time<1ms TTL=64 Reply from 192.168.1.3: bytes=32 time<1ms TTL=64 Reply from 192.168.1.3: bytes=32 time<1ms TTL=64 Ping statistics for 192.168.1.3: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
-
Also just tested with G3 instant with @noaudio, @tunnel
Having a quick read around looks like it’s due to either audio change or protocol change to rtsps even though the rtsp stream is available on port 7447.
-
Sorry to say I tried Scrypted using docker on unraid and it worked straight away.
Will try follow updates on here. Will try again when issue with Unifi is fixed
-
@bally12345 Thanks!!!
Scrypted was a great solution, I’m back up and running. -
That being said, I hope monocle fixes the integration soon. I liked knowing exactly how it works and not having audio in background streams. Be back here ASAP (please fix the @noaudio flag to remove all audio streams). Thanks.
-
Unifi Camera Update …
Please see : https://forum.monoclecam.com/topic/1242/unifi-camera-update -
@monome said in Unraid and Unifi G4:
That being said, I hope monocle fixes the integration soon. I liked knowing exactly how it works and not having audio in background streams. Be back here ASAP (please fix the @noaudio flag to remove all audio streams). Thanks.
I did in fact find a bug in the
@noaudio
implementation. It was removing the first audio stream only and not all audio streams from the SDP (stream descriptor). Its fixed now in v0.0.6 of Monocle Gateway. More details here: https://forum.monoclecam.com/topic/1242/unifi-camera-update-fix-available-for-testing-now/14?_=1659280156800Thanks, Robert
-
There is a test version available to try and address this issue. More details here:https://forum.monoclecam.com/topic/1242/unifi-camera-update-fix-available-for-testing-now/14?_=1659280156800
However, there still seems to be some issue with the 720P medium resolution streams … at least for some users. Higher and Lower resolutions seem to be working.
Thanks, Robert
-
Will try take a look this week 👍