These are chat archives for kerberos-io/hades

14th
Jun 2016
Luigi Bifulco
@muten84
Jun 14 2016 06:24
Hi i'm using version 2.0 with a Sricam Ipcamera and mjpg stream url configured on kerberos without problems. Can you paste log output after a reboot and some minutes of activity?
securitybyte
@securitybyte
Jun 14 2016 10:23
Hi Luigi. I have reinstalled Kerberos v2.0 from the image and have changed the IP Camera URL and Frame Height fields. Everything else is default. Please see log below as requested.. I waved my hand in front of the camera but nothing is captured. There is one image from when it was rebooted.
14/06/2016 10:13:52.026 INFO  [trivial] Logging is written to: /etc/opt/kerberosio/logs/log.stash
14/06/2016 10:13:52.027 INFO  [trivial] Parameters passed from commandline:
- config = /data/machinery/config/config.xml
14/06/2016 10:13:52.028 INFO  [trivial] Reading configuration file: /data/machinery/config/config.xml
14/06/2016 10:13:52.044 INFO  [trivial] Final configuration:
- algorithm = DifferentialCollins
- algorithms.DifferentialCollins.erode = 5
- algorithms.DifferentialCollins.threshold = 15
- capture = IPCamera
- captures.IPCamera.angle = 0
- captures.IPCamera.delay = 1000
- captures.IPCamera.frameHeight = 480
- captures.IPCamera.frameWidth = 640
- captures.IPCamera.url = http://user:pass@x.x.x.x/image.jpg
- captures.RaspiCamera.angle = 0
- captures.RaspiCamera.delay = 500
- captures.RaspiCamera.frameHeight = 640
- captures.RaspiCamera.frameWidth = 800
- captures.USBCamera.angle = 0
- captures.USBCamera.delay = 500
- captures.USBCamera.deviceNumber = 0
- captures.USBCamera.frameHeight = 640
- captures.USBCamera.frameWidth = 800
- cloud = S3
- clouds.S3.bucket = 
- clouds.S3.folder = 
- clouds.S3.privateKey = 
- clouds.S3.publicKey = 
- condition = Enabled
- conditions.Enabled.active = true
- conditions.Enabled.delay = 5000
- conditions.Time.delay = 10000
- conditions.Time.times = 0:01,23:59-0:01,23:59-0:01,23:59-0:01,23:59-0:01,23:59-0:01,23:59-0:01,23:59
- config = /data/machinery/config/config.xml
- expositor = Hull
- expositors.Hull.region = 0,0|0,600|800,600|800,0
- expositors.Rectangle.region.x1 = 0
- expositors.Rectangle.region.x2 = 800
- expositors.Rectangle.region.y1 = 0
- expositors.Rectangle.region.y2 = 600
- heuristic = Sequence
- heuristics.Sequence.minimumChanges = 20
- heuristics.Sequence.minimumDuration = 2
- heuristics.Sequence.noMotionDelayTime = 1000
- io = Disk
- ios.Disk.directory = /etc/opt/kerberosio/capture/
- ios.Disk.fileFormat = timestamp_microseconds_instanceName_regionCoordinates_numberOfChanges_token.jpg
- ios.GPIO.periodTime = 100000
- ios.GPIO.periods = 5
- ios.GPIO.pin = 17
- ios.TCPSocket.message = motion-detected
- ios.TCPSocket.port = 1337
- ios.TCPSocket.server = 127.0.0.1
- ios.Webhook.url = http://localhost/api/v1/webhook
- logging = false
- name = frontdoor
- timezone = Europe-Brussels
14/06/2016 10:13:52.045 INFO  [trivial] Logging is set to info
14/06/2016 10:13:52.046 INFO  [trivial] Starting cloud service: S3
14/06/2016 10:13:52.046 INFO  [trivial] Starting capture device: IPCamera
14/06/2016 10:13:58.252 INFO  [trivial] Starting conditions: Enabled
14/06/2016 10:13:58.252 INFO  [trivial] Starting algorithm: DifferentialCollins
14/06/2016 10:13:58.252 INFO  [trivial] Starting expositor: Hull
14/06/2016 10:13:58.445 INFO  [trivial] Starting heuristic: Sequence
14/06/2016 10:13:58.446 INFO  [trivial] Starting io devices: Disk
14/06/2016 10:13:58.562 INFO  [trivial] Starting stream on port 8888
securitybyte
@securitybyte
Jun 14 2016 10:45
Just switched on debug mode again and it says logging is set to verbose but there is nothing extra in the log
C├ędric Verstraeten
@cedricve
Jun 14 2016 16:05
It looks like you didnt fill in the url for the ip camera.. (Or did you made it blank)?
Luigi Bifulco
@muten84
Jun 14 2016 16:52
If you test the url used by kerberos,pointing it directly from a modern browser like Chrome what do you see?
securitybyte
@securitybyte
Jun 14 2016 21:57
Hi Cedric, yeh I just blanked it when I pasted it here
The stream works fine in the browser, for both the image.jpg and video.cgi feed. It used to work with the same url before I upgraded. Cheers :)