Unknowed brand IPcam
-
I have one more IP Cam but they did not have a RTSP it is a URL in this format http://ipaddress/videostream.cgi
At this time no. At least not with Monocle and Alexa. Alexa only supports RTSP (and WebRTC) streams. You would have to setup some external media server that can accept the camera stream and convert it into a H.264 RTSP stream.
-
So
I will say thank you for your support and the time you have spend.
I have ordered one more cam like this for 23€ with shipping is it very good.Thanks a lot
-
You are welcome. Enjoy!
-
Here have the same camera board as the first post and using an Alexa Show 5. (new).
I am hoping to update my very old Optex security cameras with these camera boards.
I can see two channels using VLC and the command:
1 - rtsp://192.168.244.151/user=admin_password=xxx_channel=0_stream=1.sdp
Which provides me with a 352X240 video resolution.2 - rtsp://192.168.244.151/user=admin_password=xxx_channel=0_stream=0.sdp
which provides me with a 1920X1080 resolution.I am using a PFSense firewall here. I have disabled sound on the camera.
I also have a Ring Doorbell which works fine with the Amazon Alexa Show. Looked to change over to the HikVision OEM doorbell in the next few weeks.
Also installed the Monocle Gateway here, made above modifications and have tried all of the tags.
See this:
monocle-g 27697 monocle 12u IPv4 109131 0t0 TCP *:8555 (LISTEN)
monocle-g 27697 monocle 14u IPv4 109132 0t0 TCP *:443 (LISTEN)
monocle-p 27725 monocle 3u IPv4 109748 0t0 TCP *:8554 (LISTEN)OK so adjusted my PFSense DNS Resolver adding custom options.
server:
private-domain: “xxx.mproxy.io”Tested it by pinging xxx.mproxy.io and get a response.
Now when I ask Alexa to show test cam it appears to try for about a minute then quits. Beforehand it would quit right away…so I am getting close.
Got it working fine now changing @tunnel to @proxy.
Great stuff.
-
Glad you found a way to get it working for your cameras!
-
@Monocle
Great application.Today purchased my Echo Show #2.
This is actually an IP HD camera board. Way long time ago had gone to using Grandstream cameras and boards for modded cameras. These boards came with an SDK for development. Looking to retrofit my Optex combo camera/PIRs with these camera boards. -
Sounds like an interesting project … I’ve modded lots of hardware in the past, but never an IP cam :-)
-
Hallo i have trubbel.
My cam was working with the monocle gateway for long time but now, I thing since one week Alexa tells my “the Camera is not responding” the gateway service is running and the cam is working with other tools and with VLC Player.Was there any Changes or anything else?
-
No, no changes on our side. Feel free to post your log info from Monocle Gateway while you are requesting the camera feed that is no longer working.
Its possible that Amazon has updated the system firmware and broken something. That happened with the Wansview cameras with the release of Echo Show 5.
-
Sorry I can’t remember, how can I find the logfile from monocle?
Or is it only the Output on the Terminal?Linux FhemServer 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Dec 10 22:04:28 2019 from 192.168.2.73 root@FhemServer:~# monocle-gateway --tail ****************************************************************** * __ __ ___ _ _ ___ ___ _ ___ * * | \/ |/ _ \| \| |/ _ \ / __| | | __| * * | |\/| | (_) | .` | (_) | (__| |__| _| * * |_| |_|\___/|_|\_|\___/ \___|____|___| * * * ****************************************************************** <<TAIL>> LOG FOR THE [MONOCLE-GATEWAY] SERVICE -- Logs begin at Thu 2016-11-03 18:16:43 CET. -- Dez 10 22:04:52 FhemServer monocle-gateway[385]: errno: 'EADDRNOTAVAIL', Dez 10 22:04:52 FhemServer monocle-gateway[385]: code: 'EADDRNOTAVAIL', Dez 10 22:04:52 FhemServer monocle-gateway[385]: syscall: 'listen', Dez 10 22:04:52 FhemServer monocle-gateway[385]: address: '192.168.2.172', Dez 10 22:04:52 FhemServer monocle-gateway[385]: port: 8555 } ] Dez 10 22:04:52 FhemServer monocle-gateway[385]: 2019-12-10T21:04:52.745Z [ERROR] [RTSP Server Error] listen EADDRNOTAVAIL 192.168.2.172:8555 Dez 10 22:04:52 FhemServer monocle-gateway[385]: [ '[RTSP Server Error]', Dez 10 22:04:52 FhemServer monocle-gateway[385]: 'listen EADDRNOTAVAIL 192.168.2.172:8555' ] Dez 10 22:04:52 FhemServer monocle-gateway[385]: 2019-12-10T21:04:52.747Z [ERROR] [PROXY SERVER ERROR] Error: listen EADDRNOTAVAIL 192.168.2.172:443 Dez 10 22:04:52 FhemServer monocle-gateway[385]: [ '[PROXY SERVER ERROR]', Dez 10 22:04:52 FhemServer monocle-gateway[385]: { Error: listen EADDRNOTAVAIL 192.168.2.172:443 Dez 10 22:04:52 FhemServer monocle-gateway[385]: at Server.setupListenHandle [as _listen2] (net.js:1310:19) Dez 10 22:04:52 FhemServer monocle-gateway[385]: at listenInCluster (net.js:1375:12) Dez 10 22:04:52 FhemServer monocle-gateway[385]: at doListen (net.js:1501:7) Dez 10 22:04:52 FhemServer monocle-gateway[385]: at process._tickCallback (internal/process/next_tick.js:63:19) Dez 10 22:04:52 FhemServer monocle-gateway[385]: at Function.Module.runMain (pkg/prelude/bootstrap.js:1315:13) Dez 10 22:04:52 FhemServer monocle-gateway[385]: at startup (internal/bootstrap/node.js:274:19) Dez 10 22:04:52 FhemServer monocle-gateway[385]: at bootstrapNodeJSCore (internal/bootstrap/node.js:608:3) Dez 10 22:04:52 FhemServer monocle-gateway[385]: errno: 'EADDRNOTAVAIL', Dez 10 22:04:52 FhemServer monocle-gateway[385]: code: 'EADDRNOTAVAIL', Dez 10 22:04:52 FhemServer monocle-gateway[385]: syscall: 'listen', Dez 10 22:04:52 FhemServer monocle-gateway[385]: address: '192.168.2.172', Dez 10 22:04:52 FhemServer monocle-gateway[385]: port: 443 } ] Dez 10 22:04:52 FhemServer monocle-gateway[385]: 2019-12-10T21:04:52.751Z [ERROR] [RTSP Server Error] listen EADDRNOTAVAIL 192.168.2.172:443 Dez 10 22:04:52 FhemServer monocle-gateway[385]: [ '[RTSP Server Error]', Dez 10 22:04:52 FhemServer monocle-gateway[385]: 'listen EADDRNOTAVAIL 192.168.2.172:443' ] Dez 10 22:04:52 FhemServer monocle-gateway[385]: 2019-12-10T21:04:52.778Z [ERROR] [Monocle Error] getaddrinfo ENOTFOUND api.monoclecam.com api.monoclecam.com:443 Dez 10 22:04:52 FhemServer monocle-gateway[385]: [ '[Monocle Error]', Dez 10 22:04:52 FhemServer monocle-gateway[385]: 'getaddrinfo ENOTFOUND api.monoclecam.com api.monoclecam.com:443' ] Dez 10 22:04:52 FhemServer monocle-gateway[385]: [Monocle Disconnected] Dez 10 22:04:52 FhemServer monocle-gateway[385]: [Monocle Reconnecting] ... in 5 seconds (attempt #1) Dez 10 22:04:57 FhemServer monocle-gateway[385]: [Monocle Connecting] Dez 10 22:04:58 FhemServer monocle-gateway[385]: [Monocle Connected] Dez 10 22:04:58 FhemServer monocle-gateway[385]: [RTSP Server Registered] Dez 10 22:04:58 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 10 22:04:58 FhemServer monocle-gateway[385]: MONOCLE RTSP SERVICE - INITIALIZED Dez 10 22:04:58 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 10 22:04:58 FhemServer monocle-gateway[385]: FQDN = 9dd28fe1-40f2-4459-805d-daa62fdc6ff5.mproxy.io Dez 10 22:04:58 FhemServer monocle-gateway[385]: HOST = 192.168.2.172 Dez 10 22:04:58 FhemServer monocle-gateway[385]: PORT = 443 Dez 10 22:04:58 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 15:36:41 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 15:36:41 FhemServer monocle-gateway[385]: INITIALIZE RTSP STREAM: Garten Dez 11 15:36:41 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 15:36:41 FhemServer monocle-gateway[385]: - NAME : Garten Dez 11 15:36:41 FhemServer monocle-gateway[385]: - LABEL : PRIMARY Dez 11 15:36:41 FhemServer monocle-gateway[385]: - URL : rtsp://192.168.2.102:554/user=admin&password=xxxxxxxx&channel=1&stream=1.sdp Dez 11 15:36:41 FhemServer monocle-gateway[385]: - UUID : STREAM:df443cff-97a9-45ac-a21d-9768d4674f63 Dez 11 15:36:41 FhemServer monocle-gateway[385]: - SESS : 5382760b-ec6f-4f0e-8779-18d0a6e0574e Dez 11 15:36:42 FhemServer monocle-gateway[385]: - MODIF : Fri Aug 02 2019 15:46:47 GMT+0200 (GMT+02:00) Dez 11 15:36:42 FhemServer monocle-gateway[385]: - TAGS : @hangup,@proxy-tcp Dez 11 15:36:42 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 15:36:42 FhemServer monocle-gateway[385]: 2019-12-11T14:36:42.102Z [INFO] [RTSP PROXY] REGISTERING STREAM [Garten/PRIMARY]; (STREAM:df443cff-97a9-45ac-a21d-9768d4674f63) Dez 11 15:36:42 FhemServer monocle-gateway[385]: 2019-12-11T14:36:42.254Z [DEBUG] <RTSP-PROXY> [REQUEST] --> [REGISTER] rtsp://192.168.2.102:554/user=admin&password=xxxxxxxxx&channel=1&stream=1.sdp Dez 11 15:36:42 FhemServer monocle-gateway[385]: 2019-12-11T14:36:42.255Z [TRACE] <RTSP-PROXY> [REQUEST] --> [HEADERS] { Dez 11 15:36:42 FhemServer monocle-gateway[385]: "cseq": "1", Dez 11 15:36:42 FhemServer monocle-gateway[385]: "transport": "reuse_connection=0;preferred_delivery_protocol=interleaved;proxy_url_suffix=STREAM:df443cff-97a9-45ac-a21d-9768d4674f63" Dez 11 15:36:42 FhemServer monocle-gateway[385]: } Dez 11 15:36:42 FhemServer monocle-gateway[385]: 2019-12-11T14:36:42.269Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) Dez 11 15:36:42 FhemServer monocle-gateway[385]: 2019-12-11T14:36:42.270Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] { Dez 11 15:36:42 FhemServer monocle-gateway[385]: "cseq": "1", Dez 11 15:36:42 FhemServer monocle-gateway[385]: "date": "Wed, Dec 11 2019 14:36:42 GMT" Dez 11 15:36:42 FhemServer monocle-gateway[385]: } Dez 11 15:36:44 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 15:36:44 FhemServer monocle-gateway[385]: INITIALIZE RTSP STREAM: Garten Dez 11 15:36:44 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 15:36:44 FhemServer monocle-gateway[385]: - NAME : Garten Dez 11 15:36:44 FhemServer monocle-gateway[385]: - LABEL : PRIMARY Dez 11 15:36:44 FhemServer monocle-gateway[385]: - URL : rtsp://192.168.2.102:554/user=admin&password=xxxxxxxx&channel=1&stream=1.sdp Dez 11 15:36:44 FhemServer monocle-gateway[385]: - UUID : STREAM:df443cff-97a9-45ac-a21d-9768d4674f63 Dez 11 15:36:44 FhemServer monocle-gateway[385]: - SESS : d5195bce-21c1-46ec-a7f8-e23127f94e88 Dez 11 15:36:44 FhemServer monocle-gateway[385]: - MODIF : Fri Aug 02 2019 15:46:47 GMT+0200 (GMT+02:00) Dez 11 15:36:44 FhemServer monocle-gateway[385]: - TAGS : @hangup,@proxy-tcp Dez 11 15:36:44 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 15:36:45 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 15:36:45 FhemServer monocle-gateway[385]: INITIALIZE RTSP STREAM: Garten Dez 11 15:36:45 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 15:36:45 FhemServer monocle-gateway[385]: - NAME : Garten Dez 11 15:36:45 FhemServer monocle-gateway[385]: - LABEL : PRIMARY Dez 11 15:36:45 FhemServer monocle-gateway[385]: - URL : rtsp://192.168.2.102:554/user=admin&password=xxxxxxxx&channel=1&stream=1.sdp Dez 11 15:36:45 FhemServer monocle-gateway[385]: - UUID : STREAM:df443cff-97a9-45ac-a21d-9768d4674f63 Dez 11 15:36:45 FhemServer monocle-gateway[385]: - SESS : ac6ef6ae-64eb-47ef-807a-9a4f6fbd45bb Dez 11 15:36:45 FhemServer monocle-gateway[385]: - MODIF : Fri Aug 02 2019 15:46:47 GMT+0200 (GMT+02:00) Dez 11 15:36:45 FhemServer monocle-gateway[385]: - TAGS : @hangup,@proxy-tcp Dez 11 15:36:45 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 15:37:39 FhemServer monocle-gateway[385]: 2019-12-11T14:37:39.478Z [INFO] [RTSP PROXY] STREAM [Garten/PRIMARY] WILL BE DE-REGISTERED IN 4 MINUTES Dez 11 15:38:39 FhemServer monocle-gateway[385]: 2019-12-11T14:38:39.538Z [INFO] [RTSP PROXY] STREAM [Garten/PRIMARY] WILL BE DE-REGISTERED IN 3 MINUTES Dez 11 15:39:39 FhemServer monocle-gateway[385]: 2019-12-11T14:39:39.598Z [INFO] [RTSP PROXY] STREAM [Garten/PRIMARY] WILL BE DE-REGISTERED IN 2 MINUTES Dez 11 15:40:39 FhemServer monocle-gateway[385]: 2019-12-11T14:40:39.655Z [INFO] [RTSP PROXY] STREAM [Garten/PRIMARY] WILL BE DE-REGISTERED IN 1 MINUTES Dez 11 15:41:39 FhemServer monocle-gateway[385]: 2019-12-11T14:41:39.688Z [INFO] [RTSP PROXY] DE-REGISTERING STREAM [Garten/PRIMARY]; NO LONGER IN USE Dez 11 15:41:39 FhemServer monocle-gateway[385]: 2019-12-11T14:41:39.706Z [DEBUG] <RTSP-PROXY> [REQUEST] --> [DEREGISTER] rtsp://192.168.2.102:554/user=admin&password=xxxxxxxxxx&channel=1&stream=1.sdp Dez 11 15:41:39 FhemServer monocle-gateway[385]: 2019-12-11T14:41:39.706Z [TRACE] <RTSP-PROXY> [REQUEST] --> [HEADERS] { Dez 11 15:41:39 FhemServer monocle-gateway[385]: "cseq": "1", Dez 11 15:41:39 FhemServer monocle-gateway[385]: "transport": "reuse_connection=0;preferred_delivery_protocol=interleaved;proxy_url_suffix=STREAM:df443cff-97a9-45ac-a21d-9768d4674f63" Dez 11 15:41:39 FhemServer monocle-gateway[385]: } Dez 11 15:41:39 FhemServer monocle-gateway[385]: 2019-12-11T14:41:39.710Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) Dez 11 15:41:39 FhemServer monocle-gateway[385]: 2019-12-11T14:41:39.711Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] { Dez 11 15:41:39 FhemServer monocle-gateway[385]: "cseq": "1", Dez 11 15:41:39 FhemServer monocle-gateway[385]: "date": "Wed, Dec 11 2019 14:41:39 GMT" Dez 11 15:41:39 FhemServer monocle-gateway[385]: } Dez 11 16:11:58 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 16:11:59 FhemServer monocle-gateway[385]: INITIALIZE RTSP STREAM: Garten Dez 11 16:11:59 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 16:11:59 FhemServer monocle-gateway[385]: - NAME : Garten Dez 11 16:11:59 FhemServer monocle-gateway[385]: - LABEL : PRIMARY Dez 11 16:11:59 FhemServer monocle-gateway[385]: - URL : rtsp://192.168.2.102:554/user=admin&password=xxxxxxxxxxx&channel=1&stream=1.sdp Dez 11 16:11:59 FhemServer monocle-gateway[385]: - UUID : STREAM:df443cff-97a9-45ac-a21d-9768d4674f63 Dez 11 16:11:59 FhemServer monocle-gateway[385]: - SESS : 04e0c2e8-ab3e-43ef-8277-11405679ad8a Dez 11 16:11:59 FhemServer monocle-gateway[385]: - MODIF : Fri Aug 02 2019 15:46:47 GMT+0200 (GMT+02:00) Dez 11 16:11:59 FhemServer monocle-gateway[385]: - TAGS : @hangup,@proxy-tcp Dez 11 16:11:59 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 16:11:59 FhemServer monocle-gateway[385]: 2019-12-11T15:11:59.000Z [INFO] [RTSP PROXY] REGISTERING STREAM [Garten/PRIMARY]; (STREAM:df443cff-97a9-45ac-a21d-9768d4674f63) Dez 11 16:11:59 FhemServer monocle-gateway[385]: 2019-12-11T15:11:59.008Z [DEBUG] <RTSP-PROXY> [REQUEST] --> [REGISTER] rtsp://192.168.2.102:554/user=admin&password=xxxxxxxxx&channel=1&stream=1.sdp Dez 11 16:11:59 FhemServer monocle-gateway[385]: 2019-12-11T15:11:59.009Z [TRACE] <RTSP-PROXY> [REQUEST] --> [HEADERS] { Dez 11 16:11:59 FhemServer monocle-gateway[385]: "cseq": "1", Dez 11 16:11:59 FhemServer monocle-gateway[385]: "transport": "reuse_connection=0;preferred_delivery_protocol=interleaved;proxy_url_suffix=STREAM:df443cff-97a9-45ac-a21d-9768d4674f63" Dez 11 16:11:59 FhemServer monocle-gateway[385]: } Dez 11 16:11:59 FhemServer monocle-gateway[385]: 2019-12-11T15:11:59.011Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) Dez 11 16:11:59 FhemServer monocle-gateway[385]: 2019-12-11T15:11:59.012Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] { Dez 11 16:11:59 FhemServer monocle-gateway[385]: "cseq": "1", Dez 11 16:11:59 FhemServer monocle-gateway[385]: "date": "Wed, Dec 11 2019 15:11:59 GMT" Dez 11 16:11:59 FhemServer monocle-gateway[385]: } Dez 11 16:12:01 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 16:12:01 FhemServer monocle-gateway[385]: INITIALIZE RTSP STREAM: Garten Dez 11 16:12:01 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 16:12:01 FhemServer monocle-gateway[385]: - NAME : Garten Dez 11 16:12:01 FhemServer monocle-gateway[385]: - LABEL : PRIMARY Dez 11 16:12:01 FhemServer monocle-gateway[385]: - URL : rtsp://192.168.2.102:554/user=admin&password=xxxxxxxx&channel=1&stream=1.sdp Dez 11 16:12:01 FhemServer monocle-gateway[385]: - UUID : STREAM:df443cff-97a9-45ac-a21d-9768d4674f63 Dez 11 16:12:01 FhemServer monocle-gateway[385]: - SESS : 15d68dba-1a85-4503-9490-ac59b32dbc25 Dez 11 16:12:01 FhemServer monocle-gateway[385]: - MODIF : Fri Aug 02 2019 15:46:47 GMT+0200 (GMT+02:00) Dez 11 16:12:01 FhemServer monocle-gateway[385]: - TAGS : @hangup,@proxy-tcp Dez 11 16:12:01 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 16:12:02 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 16:12:02 FhemServer monocle-gateway[385]: INITIALIZE RTSP STREAM: Garten Dez 11 16:12:02 FhemServer monocle-gateway[385]: ------------------------------------------------- Dez 11 16:12:02 FhemServer monocle-gateway[385]: - NAME : Garten Dez 11 16:12:02 FhemServer monocle-gateway[385]: - LABEL : PRIMARY Dez 11 16:12:02 FhemServer monocle-gateway[385]: - URL : rtsp://192.168.2.102:554/user=admin&password=xxxxxx&channel=1&stream=1.sdp Dez 11 16:12:02 FhemServer monocle-gateway[385]: - UUID : STREAM:df443cff-97a9-45ac-a21d-9768d4674f63 Dez 11 16:12:02 FhemServer monocle-gateway[385]: - SESS : 17def47a-e79a-41e9-b537-a608f5b29b3e Dez 11 16:12:02 FhemServer monocle-gateway[385]: - MODIF : Fri Aug 02 2019 15:46:47 GMT+0200 (GMT+02:00) Dez 11 16:12:02 FhemServer monocle-gateway[385]: - TAGS : @hangup,@proxy-tcp Dez 11 16:12:02 FhemServer monocle-gateway[385]: ------------------------------------------------- ^C root@FhemServer:~#
-
Okay, IAM a little bit forward,
There is no change if I restart the Raspberry where is running the Monocle-gateway, Alexa can still not connect to the Camera but if I Restart the service withmonocle-gateway --restart
After this I can connect the camera with Alexa.
But why I must restart the service after rebooting the Raspberry?