Page 1 of 1

zoneminder does not stay connected to tv-ip551wi

Posted: Mon Mar 24, 2014 12:30 am
by dodtsair
I have a tv-ip551wi I have connected to zoneminder. It works at first and then zoneminder drops the connection to it. After that it never connects again until I open and resave the configuration


Here is the configuration for the camera:
name: tv-ip551wi
source type: remote
function: modect
enabled: unchecked (don't want to spam myself with meaningless events
Maximum FPS: blank
Alarm maximum FPS: blank
Reference Image Blend %ge: 7
Triggers: None available

Remote Protocol: http
Remote method: simple
Remote Host Name: admin:AA##A#A#A@tv-ip551wi.dodtsair.myz.info
Remote Host Port: 80
Remote Host Path: /image/jpeg.cgi
Remote Image Colors: 24 bit color
Capture Width: 640
Capture Height: 480
Preserve Aspect Ratio: unchecked
Orientation: normal

Any idea why I keep loosing the connection? Any other information I can give?

Re: zoneminder does not stay connected to tv-ip551wi

Posted: Mon Mar 24, 2014 1:35 am
by dodtsair
Information I could find from the log files:



Mar 23 18:33:12 petros zmc_m8[6630]: ERR [Can't connect to remote camera: Connection refused]
Mar 23 18:33:12 petros zmc_m8[6630]: ERR [Unable to connect to camera]
Mar 23 18:33:12 petros zmc_m8[6630]: ERR [Failed to pre-capture monitor 8 (0/1)]

Re: zoneminder does not stay connected to tv-ip551wi

Posted: Mon Mar 24, 2014 7:26 am
by PacoLM
dodtsair wrote: enabled: unchecked (don't want to spam myself with meaningless events
Remote Host Name: admin:AA##A#A#A@tv-ip551wi.dodtsair.myz.info
Hi,

I find the settings quite strange: if the camera is not enabled, you will not have it working....
The remote host name should be the local intranet ip address, something like: admin:yourpassword@10.0.0.2 or admin:yourpassword@192.168.1.15

Hope it helps,

PacoLM

Re: zoneminder does not stay connected to tv-ip551wi

Posted: Tue Mar 25, 2014 3:37 am
by dodtsair
I enabled the camera but still no joy, it just disconnects after awhile.

I use domain names because they are more meaningful. I know what they mean when I read them. The domain still resolves to a local/private ip address:

$ dig tv-ip551wi.dodtsair.myz.info

; <<>> DiG 9.9.3-rpz2+rl.13214.22-P2-Ubuntu-1:9.9.3.dfsg.P2-4ubuntu1.1 <<>> tv-ip551wi.dodtsair.myz.info
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33615
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;tv-ip551wi.dodtsair.myz.info. IN A

;; ANSWER SECTION:
tv-ip551wi.dodtsair.myz.info. 7 IN A 192.168.1.3

;; Query time: 1 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Mon Mar 24 20:34:31 PDT 2014
;; MSG SIZE rcvd: 62

Re: zoneminder does not stay connected to tv-ip551wi

Posted: Tue Mar 25, 2014 7:34 am
by PacoLM
dodtsair wrote: 192.168.1.3
What happens if you put your cam local IP address?

Remote host name= admin:yourpassword@192.168.1.3

PacoLM

Re: zoneminder does not stay connected to tv-ip551wi

Posted: Fri Mar 28, 2014 3:57 am
by dodtsair
Same thing, the camera works at first. I come back to it later and the camera is disconnected.