Monocle Gateway Seems to communicate but not working Raspberry PI
-
Been trying to get a Sercomm iCamera2 (old Xfinity camera) to work with Alexa. I’ve set up a Raspberry PI 3 B- not a linux user - and seems to work. On the Raspberry PI I used the VLC Media player to confirm that can access the camera over an RTSP link. I also did this on my laptop so know various devices around the house all on the same Google Mesh can connect. I set up the Monocle account and I installed the gateway software (took a while to follow the instructions but seemed like one got the token in copied to the /etc/monocle file things worked. No when I say show iCamera2, the Echo Show 5 and Firestick try to connect but can’t find it. Any ideas what’s up. Seems like the Monocle Gateway is working see code below as proof:
pi@raspberrypi:~ $ monocle-gateway --tail ****************************************************************** * __ __ ___ _ _ ___ ___ _ ___ * * | \/ |/ _ \| \| |/ _ \ / __| | | __| * * | |\/| | (_) | .` | (_) | (__| |__| _| * * |_| |_|\___/|_|\_|\___/ \___|____|___| * * * ****************************************************************** <<TAIL>> LOG FOR THE [MONOCLE-GATEWAY] SERVICE -- Logs begin at Thu 2019-09-05 12:11:41 CDT. -- Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: "transport": "reuse_connection=0;preferred_delivery_protocol=interleaved;proxy_url_suffix=STREAM:2a802709-0fbd-4990-b09b-c116efb927b9" Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: } Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: 2019-09-05T18:16:07.356Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: 2019-09-05T18:16:07.357Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] { Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: "cseq": "1", Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: "date": "Thu, Sep 05 2019 18:16:07 GMT" Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: } Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: 2019-09-05T18:16:07.358Z [INFO] [RTSP PROXY] REGISTERING STREAM [iCamera2/PRIMARY]; (STREAM:2a802709-0fbd-4990-b09b-c116efb927b9) Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: 2019-09-05T18:16:07.368Z [DEBUG] <RTSP-PROXY> [REQUEST] --> [REGISTER] rtsp://192.168.1.251:554/img/video.sav Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: 2019-09-05T18:16:07.368Z [TRACE] <RTSP-PROXY> [REQUEST] --> [HEADERS] { Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: "cseq": "1", Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: "transport": "reuse_connection=0;preferred_delivery_protocol=interleaved;proxy_url_suffix=STREAM:2a802709-0fbd-4990-b09b-c116efb927b9" Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: } Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: 2019-09-05T18:16:07.371Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: 2019-09-05T18:16:07.372Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] { Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: "cseq": "1", Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: "date": "Thu, Sep 05 2019 18:16:07 GMT" Sep 05 13:16:07 raspberrypi monocle-gateway[3109]: } Sep 05 13:16:09 raspberrypi monocle-gateway[3109]: ------------------------------------------------- Sep 05 13:16:09 raspberrypi monocle-gateway[3109]: INITIALIZE RTSP STREAM: iCamera2 Sep 05 13:16:09 raspberrypi monocle-gateway[3109]: ------------------------------------------------- Sep 05 13:16:09 raspberrypi monocle-gateway[3109]: - NAME : iCamera2 Sep 05 13:16:09 raspberrypi monocle-gateway[3109]: - LABEL : PRIMARY Sep 05 13:16:09 raspberrypi monocle-gateway[3109]: - URL : rtsp://192.168.1.251:554/img/video.sav Sep 05 13:16:09 raspberrypi monocle-gateway[3109]: - UUID : STREAM:2a802709-0fbd-4990-b09b-c116efb927b9 Sep 05 13:16:09 raspberrypi monocle-gateway[3109]: - SESS : 583bd514-5763-4c03-82d7-91ad882e79f3 Sep 05 13:16:09 raspberrypi monocle-gateway[3109]: - MODIF : Thu Sep 05 2019 13:15:50 GMT-0500 (CDT) Sep 05 13:16:09 raspberrypi monocle-gateway[3109]: - TAGS : @proxy-tcp Sep 05 13:16:09 raspberrypi monocle-gateway[3109]: ------------------------------------------------- Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: ------------------------------------------------- Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: INITIALIZE RTSP STREAM: iCamera2 Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: ------------------------------------------------- Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - NAME : iCamera2 Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - LABEL : PRIMARY Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - URL : rtsp://192.168.1.251:554/img/video.sav Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - UUID : STREAM:2a802709-0fbd-4990-b09b-c116efb927b9 Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - SESS : d61b3280-a6d1-4f8b-99f2-0d60684d6359 Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - MODIF : Thu Sep 05 2019 13:15:50 GMT-0500 (CDT) Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - TAGS : @proxy-tcp Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: ------------------------------------------------- Sep 05 13:16:10 raspberrypi monocle -gateway[3109]: ------------------------------------------------- Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: INITIALIZE RTSP STREAM: iCamera2 Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: ------------------------------------------------- Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - NAME : iCamera2 Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - LABEL : PRIMARY Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - URL : rtsp://192.168.1.251:554/img/video.sav Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - UUID : STREAM:2a802709-0fbd-4990-b09b-c116efb927b9 Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - SESS : 6167007c-4152-4124-9820-75c1936221ad Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - MODIF : Thu Sep 05 2019 13:15:50 GMT-0500 (CDT) Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: - TAGS : @proxy-tcp Sep 05 13:16:10 raspberrypi monocle-gateway[3109]: ------------------------------------------------- Sep 05 13:16:21 raspberrypi monocle-gateway[3109]: 2019-09-05T18:16:21.878Z [INFO] [RTSP PROXY] STREAM [iCamera2/PRIMARY] WILL BE DE-REGISTERED IN 4 MINUTES Sep 05 13:17:21 raspberrypi monocle-gateway[3109]: 2019-09-05T18:17:21.940Z [INFO] [RTSP PROXY] STREAM [iCamera2/PRIMARY] WILL BE DE-REGISTERED IN 3 MINUTES Sep 05 13:18:21 raspberrypi monocle-gateway[3109]: 2019-09-05T18:18:21.940Z [INFO] [RTSP PROXY] STREAM [iCamera2/PRIMARY] WILL BE DE-REGISTERED IN 2 MINUTES Sep 05 13:19:21 raspberrypi monocle-gateway[3109]: 2019-09-05T18:19:21.947Z [INFO] [RTSP PROXY] STREAM [iCamera2/PRIMARY] WILL BE DE-REGISTERED IN 1 MINUTES Sep 05 13:20:21 raspberrypi monocle-gateway[3109]: 2019-09-05T18:20:21.947Z [INFO] [RTSP PROXY] DE-REGISTERING STREAM [iCamera2/PRIMARY]; NO LONGER IN USE Sep 05 13:20:21 raspberrypi monocle-gateway[3109]: 2019-09-05T18:20:21.957Z [DEBUG] <RTSP-PROXY> [REQUEST] --> [DEREGISTER] rtsp://192.168.1.251:554/img/video.sav Sep 05 13:20:21 raspberrypi monocle-gateway[3109]: 2019-09-05T18:20:21.958Z [TRACE] <RTSP-PROXY> [REQUEST] --> [HEADERS] { Sep 05 13:20:21 raspberrypi monocle-gateway[3109]: "cseq": "1", Sep 05 13:20:21 raspberrypi monocle-gateway[3109]: "transport": "reuse_connection=0;preferred_delivery_protocol=interleaved;proxy_url_suffix=STREAM:2a802709-0fbd-4990-b09b-c116efb927b9" Sep 05 13:20:21 raspberrypi monocle-gateway[3109]: } Sep 05 13:20:21 raspberrypi monocle-gateway[3109]: 2019-09-05T18:20:21.960Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) Sep 05 13:20:21 raspberrypi monocle-gateway[3109]: 2019-09-05T18:20:21.961Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] { Sep 05 13:20:21 raspberrypi monocle-gateway[3109]: "cseq": "1", Sep 05 13:20:21 raspberrypi monocle-gateway[3109]: "date": "Thu, Sep 05 2019 18:20:21 GMT" Sep 05 13:20:21 raspberrypi monocle-gateway[3109]: } Sep 05 14:14:48 raspberrypi monocle-gateway[3109]: ************************************************************************************ Sep 05 14:14:48 raspberrypi monocle-gateway[3109]: WARNING Sep 05 14:14:48 raspberrypi monocle-gateway[3109]: MULTIPLE GATEWAY INSTANCES DETECTED; GATEWAY INSTANCE DEMOTED! Sep 05 14:14:48 raspberrypi monocle-gateway[3109]: ************************************************************************************ Sep 05 14:14:48 raspberrypi monocle-gateway[3109]: There are multiple gateways attached to your user account! Sep 05 14:14:48 raspberrypi monocle-gateway[3109]: This could cause problems, please make sure that only one instance of Monocle Gateway is running on your network and associated with your account. Sep 05 14:14:48 raspberrypi monocle-gateway[3109]: >>>> THIS GATEWAY INSTANCE [192.168.86.99] IS NO LONGER THE ACTIVE GATEWAY FOR THIS ACCOUNT. Sep 05 14:14:48 raspberrypi monocle-gateway[3109]: >>>> GATEWAY INSTANCE [192.168.86.87] IS THE ACTIVE GATEWAY FOR THIS ACCOUNT. Sep 05 14:14:48 raspberrypi monocle-gateway[3109]: ************************************************************************************ Sep 05 14:23:17 raspberrypi monocle-gateway[3109]: ************************************************************************************ Sep 05 14:23:17 raspberrypi monocle-gateway[3109]: WARNING Sep 05 14:23:17 raspberrypi monocle-gateway[3109]: GATEWAY INSTANCE PROMOTED! Sep 05 14:23:17 raspberrypi monocle-gateway[3109]: ************************************************************************************ Sep 05 14:23:17 raspberrypi monocle-gateway[3109]: Another gateway instance has detached from your user account! Sep 05 14:23:17 raspberrypi monocle-gateway[3109]: This could cause problems, please make sure that only one instance of Monocle Gateway is running on your network and associated with your account. Sep 05 14:23:17 raspberrypi monocle-gateway[3109]: >>>> THIS GATEWAY INSTANCE [192.168.86.99] IS NOW THE ACTIVE GATEWAY FOR THIS ACCOUNT. Sep 05 14:23:17 raspberrypi monocle-gateway[3109]: ************************************************************************************ Sep 05 14:25:32 raspberrypi monocle-gateway[3109]: ************************************************************************************ Sep 05 14:25:32 raspberrypi monocle-gateway[3109]: WARNING Sep 05 14:25:32 raspberrypi monocle-gateway[3109]: MULTIPLE GATEWAY INSTANCES DETECTED; GATEWAY INSTANCE DEMOTED! Sep 05 14:25:32 raspberrypi monocle-gateway[3109]: ************************************************************************************ Sep 05 14:25:32 raspberrypi monocle-gateway[3109]: There are multiple gateways attached to your user account! Sep 05 14:25:32 raspberrypi monocle-gateway[3109]: This could cause problems, please make sure that only one instance of Monocle Gateway is running on your network and associated with your account. Sep 05 14:25:32 raspberrypi monocle-gateway[3109]: >>>> THIS GATEWAY INSTANCE [192.168.86.99] IS NO LONGER THE ACTIVE GATEWAY FOR THIS ACCOUNT. Sep 05 14:25:32 raspberrypi monocle-gateway[3109]: >>>> GATEWAY INSTANCE [192.168.86.87] IS THE ACTIVE GATEWAY FOR THIS ACCOUNT. Sep 05 14:25:32 raspberrypi monocle-gateway[3109]: ************************************************************************************ Sep 05 14:25:49 raspberrypi monocle-gateway[3109]: ************************************************************************************ Sep 05 14:25:49 raspberrypi monocle-gateway[3109]: WARNING Sep 05 14:25:49 raspberrypi monocle-gateway[3109]: GATEWAY INSTANCE PROMOTED! Sep 05 14:25:49 raspberrypi monocle-gateway[3109]: ************************************************************************************ Sep 05 14:25:49 raspberrypi monocle-gateway[3109]: Another gateway instance has detached from your user account! Sep 05 14:25:49 raspberrypi monocle-gateway[3109]: This could cause problems, please make sure that only one instance of Monocle Gateway is running on your network and associated with your account. Sep 05 14:25:49 raspberrypi monocle-gateway[3109]: >>>> THIS GATEWAY INSTANCE [192.168.86.99] IS NOW THE ACTIVE GATEWAY FOR THIS ACCOUNT. Sep 05 14:25:49 raspberrypi monocle-gateway[3109]: ************************************************************************************
-
I realize this is a very late response, but in reviewing your log info, it appears that the Alexa device is not able to connect to the Monocle Gateway instance. This could be caused by a number of networking related issues. Let me know if you wish to pursue this any further.
Thanks, Robert
-
@Monocle Still working on this issue. If have any advise, would love to hear.