ChieftainY2k / raspberry-garda

Raspberry Pi docker-based platform for surveillance, sensors, mqtt etc.
2 stars 2 forks source link

Amazing work #1

Closed cedricve closed 4 years ago

cedricve commented 6 years ago

Hey @ChieftainY2k,

I'm amused and happy to see what you're accomplishing in here. Keep up the good work, and let me know if you want to have a chat.

PS: a college of me @drphil3d found your repo.

Cédric

ChieftainY2k commented 6 years ago

Hi @cedricve ! Thanks! Glad you like it! I found your app highly useful for my trusty raspberry 1/2/3 devices which I'm planning to turn into surveillance cameras :-) This repo is just a proof-of-concept that kerberos-io may be successfully running as in a docker environment with the native raspiCam interface (and providing out-of-the-box whole package with a webhook event listener service inside a separate container). Tom.

cedricve commented 6 years ago

Hi,

Yes I've seen that you were able to inject the raspberry pi camera module. If interested we can merge this in our upstream repo, If you would find it usefull for other people.

Anyway, I'll watch this repo and help you if you need any help.

Thanks! Cédric

ChieftainY2k commented 6 years ago

Go for it guys! Take anything that you might find useful :-)

I have jut one issue with my dockerized version - the UI fails to properly redirect browser to port 8889 as pointed by the API response.

Instead, the UI tries to grab the mjpeg stream from port 80 (http://192.168.0.108/stream):

image

image

image

Just to check, the http://192.168.0.108:8889/stream works:

image

cedricve commented 6 years ago

Hmm that's correct what we do is proxy pass it inside the container. This is because otherwise when you have multiple containers you'll get stuck.

This is what you have: https://github.com/ChieftainY2k/rpi3-kerberosio-dockerized/blob/develop/kerberos-deb/kerberosio.conf#L13-L18.

But you're missing this: https://github.com/kerberos-io/docker/blob/master/web.conf#L23-L28

ChieftainY2k commented 6 years ago

I see! It works now! BTW, I followed the instructions from https://doc.kerberos.io/2.0/installation/Raspbian Thanks!

cedricve commented 6 years ago

How are you compiling the docker image, is it directly on your pi?

ChieftainY2k commented 6 years ago

Yes, I'm using the bare-metal RPI3B+ directly :-)

image

cedricve commented 6 years ago

cool @ChieftainY2k ! it would be great if we could setup a build server using QEMU, so we can build the Docker images for all raspberry models. Amazing work!

ChieftainY2k commented 4 years ago

Hey guys, closing this issue for now , will continue to work on this project so stay tuned ;)