kerberos-io / machinery

(DEPRECATED) An open source image processing framework, which uses your USB-, IP- or RPi-camera to recognize events (e.g. motion).
https://www.kerberos.io
490 stars 104 forks source link

Machinery infinitive loop, IPCamera HJT not working #141

Open dortizesquivel opened 6 years ago

dortizesquivel commented 6 years ago

Hi guys,

After setting up Kerberos Web + Machinery in Raspbian following the doc, I always get: "No Stream is the Machine running on Dashbord."

Looking to Machinery's log it seems everything is ok "01/04/2018 11:06:01.061 INFO [trivial] Capture: Succesfully opened IP camera." , but the logs keep printing the same constantly, not sure if the machinery process get restarted. is that normal?

The URL for the camera is "rtsp://admin:admin123@192.168.1.211/11" I tried it with VLC and everything works fine. Please see attached the log. Is there any option to make the machinery's log more verbose? Thank you

Extra info:

dortizesquivel commented 6 years ago

Based on the bad results obtained in my Raspberry Pi 3, I decided to give it a try to the same camera with same URL configuration but this time using Docker and my Macbook and surprisingly it worked.

So it seems this issue only affect my Raspberry, the camera settings are ok. Do you have any suggestion of how I could debug why it didn't work in Raspberry?

cedricve commented 6 years ago

hey @dortizesquivel, can you try changing the live stream port in the advanced settings? It might be that 8889 is already taken on your Raspbian installation.

dortizesquivel commented 6 years ago

Hi @cedricve thanks for the reply, unfortunately 8889 was not taken, after running "netstat -an | grep 8889"it didn't show any entry.

I have changed to 8888 (just in case) and still doesn't work. Looking to netstat results it seems Machinery never manage to bind port 8889, could I disable the stream?

cedricve commented 6 years ago

Any update? Yes, you can disable the stream in the advanced config @dortizesquivel. However looks like kerberos.io isn't able to get footages from the camera.