Main project aim: simple and unified access to cameras in one application.
Setup yours cameras in the src/main/resources/application.properties.
- Copy
src/main/resources/application.properties.exampletosrc/main/resources/application.properties. - Setup
cam.count - Setup properties
cam1.*and so on. - Setup
telegram.chat_id - Setup
telegram.bot_id - Setup
telegram.bot_token - Tune
src/main/resources/logback.xml.
Application will write logs into bot.log and by default truncate on 10Mb.
Application will write every processed id into file processed/id.<NUMBER>, where NUMBER is id from telegram.
Application tested with IPv6 tcp stack.
- Apexis J011WS
- Dericam H502W
- Sricam Sp017 - take snapshots over ffmpeg
In camera interface turn on motion detection and http callback
to application ip with callback as: http://192.168.0.133:8089/cam/alarm.do?camId=<CAM_ID>
where CAM_ID corresponds to cam<CAM_ID>.* settings,
192.168.0.133 application ip.
8089 application port from application.propeties: server.port=8089
/all - take snapshots from all cameras.
/s1 - take snapshots from first camera.
/l1, /r1, /d1, /u1 - move first camera to left, right, down and up.
/disable 1 - disable notifications from first camera.
/enable 1 - enable notifications from first camera.
/reset - reset all notification settings.
Developed and tested under Ubuntu linux.