Help setting up AccFly camera with gateway
-
Can anyone help with gateway setup or confirm whats stopping it working
I have 2 ACCFLY HD-IPC cameras
Trying to setup on fire TV stick (not 4K)
and soon to be echo show 8I have intalled the gateway on a raspbery pi 3b+ running only this.
I have found the addresses for the steams.
rtsp://192.168.1.70:8554/profile0
and
rtsp://192.168.1.70:8554/profile1Both streams open in VLC
Video codec for both streams is H264 - MPEG-4 AVC (part 10) (h264)
and the resolution are 1920 x 1080 for profile0 and 640 x 360 for profile1Audio codec for both streams is PCM MU-LAW (mlaw)
I think this is a G711 codec
I have tagged the cameras with @tunnel
Gateway is up and running
****************************************************************** * __ __ ___ _ _ ___ ___ _ ___ * * | \/ |/ _ \| \| |/ _ \ / __| | | __| * * | |\/| | (_) | .` | (_) | (__| |__| _| * * |_| |_|\___/|_|\_|\___/ \___|____|___| * * * ****************************************************************** <<TAIL>> LOG FOR THE [MONOCLE-GATEWAY] SERVICE -- Logs begin at Fri 2019-12-20 14:37:22 GMT. -- Dec 20 14:37:26 raspberrypi systemd[1]: Started Monocle Gateway Service. Dec 20 14:37:29 raspberrypi monocle-gateway[388]: ****************************************************************** Dec 20 14:37:29 raspberrypi monocle-gateway[388]: * __ __ ___ _ _ ___ ___ _ ___ * Dec 20 14:37:29 raspberrypi monocle-gateway[388]: * | \/ |/ _ \| \| |/ _ \ / __| | | __| * Dec 20 14:37:29 raspberrypi monocle-gateway[388]: * | |\/| | (_) | .` | (_) | (__| |__| _| * Dec 20 14:37:29 raspberrypi monocle-gateway[388]: * |_| |_|\___/|_|\_|\___/ \___|____|___| * Dec 20 14:37:29 raspberrypi monocle-gateway[388]: * * Dec 20 14:37:29 raspberrypi monocle-gateway[388]: ****************************************************************** Dec 20 14:37:31 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 20 14:37:31 raspberrypi monocle-gateway[388]: MONOCLE RUNTIME ENVIRONMENT Dec 20 14:37:31 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 20 14:37:31 raspberrypi monocle-gateway[388]: VERSION = 0.0.4 Dec 20 14:37:31 raspberrypi monocle-gateway[388]: OS/ARCH = linux/arm Dec 20 14:37:31 raspberrypi monocle-gateway[388]: PROCESS = monocle-gateway (PID=388) Dec 20 14:37:31 raspberrypi monocle-gateway[388]: TIMESTAMP = 2019-12-20T14:37:31.135Z Dec 20 14:37:31 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 20 14:37:31 raspberrypi monocle-gateway[388]: MONOCLE GATEWAY SERVICE (Version: 0.0.4) Dec 20 14:37:31 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 20 14:37:31 raspberrypi monocle-gateway[388]: [Monocle Starting] Dec 20 14:37:31 raspberrypi monocle-gateway[388]: [Monocle Connecting] Dec 20 14:37:31 raspberrypi monocle-gateway[388]: [Monocle Started] Dec 20 14:37:31 raspberrypi monocle-gateway[388]: [RTSP Server Starting] Dec 20 14:37:31 raspberrypi monocle-gateway[388]: [RTSP Server Listening] 0.0.0.0:8555 (RTSP) Dec 20 14:37:31 raspberrypi monocle-gateway[388]: [RTSP Server Listening] 0.0.0.0:443 (RTSP-TLS) Dec 20 14:37:31 raspberrypi monocle-gateway[388]: [RTSP Proxy Started] (PID=547) Dec 20 14:37:31 raspberrypi monocle-gateway[388]: [RTSP Server Listening] 0.0.0.0:8554 (PROXY) Dec 20 14:37:31 raspberrypi monocle-gateway[388]: [RTSP Server Started] Dec 20 14:37:31 raspberrypi monocle-gateway[388]: 2019-12-20T14:37:31.356Z [ERROR] [Monocle Error] getaddrinfo EAI_AGAIN api.monoclecam.com:443 Dec 20 14:37:31 raspberrypi monocle-gateway[388]: [ '[Monocle Error]', Dec 20 14:37:31 raspberrypi monocle-gateway[388]: 'getaddrinfo EAI_AGAIN api.monoclecam.com:443' ] Dec 20 14:37:31 raspberrypi monocle-gateway[388]: [Monocle Disconnected] Dec 20 14:37:31 raspberrypi monocle-gateway[388]: [Monocle Reconnecting] ... in 5 seconds (attempt #1) Dec 20 14:37:36 raspberrypi monocle-gateway[388]: [Monocle Connecting] Dec 20 14:37:36 raspberrypi monocle-gateway[388]: 2019-12-20T14:37:36.391Z [ERROR] [Monocle Error] getaddrinfo EAI_AGAIN api.monoclecam.com:443 Dec 20 14:37:36 raspberrypi monocle-gateway[388]: [ '[Monocle Error]', Dec 20 14:37:36 raspberrypi monocle-gateway[388]: 'getaddrinfo EAI_AGAIN api.monoclecam.com:443' ] Dec 20 14:37:36 raspberrypi monocle-gateway[388]: [Monocle Disconnected] Dec 20 14:37:36 raspberrypi monocle-gateway[388]: [Monocle Reconnecting] ... in 13 seconds (attempt #2) Dec 20 14:37:49 raspberrypi monocle-gateway[388]: [Monocle Connecting] Dec 20 14:37:49 raspberrypi monocle-gateway[388]: [Monocle Connected] Dec 20 14:37:49 raspberrypi monocle-gateway[388]: [RTSP Server Registered] Dec 20 14:37:50 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 20 14:37:50 raspberrypi monocle-gateway[388]: MONOCLE RTSP SERVICE - INITIALIZED Dec 20 14:37:50 raspberrypi monocle-gateway[388]: ----------------------------- -------------------- Dec 20 14:37:50 raspberrypi monocle-gateway[388]: FQDN = 7b3594ab-b21f-4472-a1f1-6432f7bd548d.mproxy.io Dec 20 14:37:50 raspberrypi monocle-gateway[388]: HOST = 192.168.1.100 Dec 20 14:37:50 raspberrypi monocle-gateway[388]: PORT = 443 Dec 20 14:37:50 raspberrypi monocle-gateway[388]: -------------------------------------------------
I did try to ping 7b3594ab-b21f-4472-a1f1-6432f7bd548d.mproxy.io but get ping request could not frind host.
Not sure if this is to do with DNS Rebinding being blocked. But i do get a responce when I ask Alexa to show the camera
Dec 21 21:24:13 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 21 21:24:13 raspberrypi monocle-gateway[388]: INITIALIZE RTSP STREAM: Front camera Dec 21 21:24:13 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 21 21:24:13 raspberrypi monocle-gateway[388]: - NAME : Front camera Dec 21 21:24:13 raspberrypi monocle-gateway[388]: - LABEL : PRIMARY Dec 21 21:24:13 raspberrypi monocle-gateway[388]: - URL : rtsp://192.168.1.70:8554/profile0 Dec 21 21:24:13 raspberrypi monocle-gateway[388]: - UUID : STREAM:c72babc9-7d1b-4a36-b5fc-96011fdba357 Dec 21 21:24:13 raspberrypi monocle-gateway[388]: - SESS : d8e906f2-c908-405f-a340-f599fd68ed86 Dec 21 21:24:13 raspberrypi monocle-gateway[388]: - MODIF : Sat Dec 21 2019 21:18:22 GMT+0000 (GMT) Dec 21 21:24:13 raspberrypi monocle-gateway[388]: - TAGS : @tunnel Dec 21 21:24:13 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 21 21:24:18 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 21 21:24:18 raspberrypi monocle-gateway[388]: INITIALIZE RTSP STREAM: Front camera Dec 21 21:24:18 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 21 21:24:18 raspberrypi monocle-gateway[388]: - NAME : Front camera Dec 21 21:24:18 raspberrypi monocle-gateway[388]: - LABEL : PRIMARY Dec 21 21:24:18 raspberrypi monocle-gateway[388]: - URL : rtsp://192.168.1.70:8554/profile0 Dec 21 21:24:18 raspberrypi monocle-gateway[388]: - UUID : STREAM:c72babc9-7d1b-4a36-b5fc-96011fdba357 Dec 21 21:24:18 raspberrypi monocle-gateway[388]: - SESS : 59f11c37-849b-4531-a0fc-0c69a1620370 Dec 21 21:24:18 raspberrypi monocle-gateway[388]: - MODIF : Sat Dec 21 2019 21:18:22 GMT+0000 (GMT) Dec 21 21:24:18 raspberrypi monocle-gateway[388]: - TAGS : @tunnel Dec 21 21:24:18 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 21 21:24:19 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 21 21:24:19 raspberrypi monocle-gateway[388]: INITIALIZE RTSP STREAM: Front camera Dec 21 21:24:19 raspberrypi monocle-gateway[388]: ------------------------------------------------- Dec 21 21:24:19 raspberrypi monocle-gateway[388]: - NAME : Front camera Dec 21 21:24:19 raspberrypi monocle-gateway[388]: - LABEL : PRIMARY Dec 21 21:24:19 raspberrypi monocle-gateway[388]: - URL : rtsp://192.168.1.70:8554/profile0 Dec 21 21:24:19 raspberrypi monocle-gateway[388]: - UUID : STREAM:c72babc9-7d1b-4a36-b5fc-96011fdba357 Dec 21 21:24:19 raspberrypi monocle-gateway[388]: - SESS : 7cd36f87-e72d-4395-a49b-2e44322a918a Dec 21 21:24:19 raspberrypi monocle-gateway[388]: - MODIF : Sat Dec 21 2019 21:18:22 GMT+0000 (GMT) Dec 21 21:24:19 raspberrypi monocle-gateway[388]: - TAGS : @tunnel Dec 21 21:24:19 raspberrypi monocle-gateway[388]: -------------------------------------------------
Would I still see this if rebinding was blocked?
Now I am stuck is there anything else I can try or can you see what is wrong.
Any help greatfuly recieved.
-
@Birdbrainuk any luck with this? I’m having the same issues.
-
@Birdbrainuk said in Help setting up AccFly camera with gateway:
That DNS records is not working for me either. Odd. Typically this would be a DNS REBINDING issue but the fact that I cannot get it to resolve suggests it was never properly registered.
There was an SSL certificate issue going on with one of our servers around this time and I wonder if that caused some problem here. Try going to your user profile in the Monocle web portal and create a brand new API TOKEN and replace the token file with the new one and let’s see if that helps.Thanks, Robert