Skip to content
This repository was archived by the owner on Jan 12, 2023. It is now read-only.

How to configure?

Amir Fefer edited this page Feb 2, 2017 · 5 revisions

Configurations

The configuration stores within conf.ini

Connection

port - The server port
ip - The IP binding; 0.0.0.0 for listening to all IP addresses. for local use, enter your local IP

HTTPS connection

You have to create self sign certificate in order to use https, you can do this with openssl via linux terminal $openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
You can generate self sign cert via generators like this (Not recommended).
https - yes/false - enable HTTPS connection
certificate Path for cert file, fill it only if you enabled HTTPS
key Path for private key file, fill it only if you enabled HTTPS

User

HTTP basic auth require username and password. The password need to be hashed by SHA224 generator for example, username is Joe, and password is Doe therefore enter Joe = SSH224(Doe)

Mailer

The examples in the following fields suits for gmail configurations
to - Email addresses for email notifications, separated by comma e.g [email protected],[email protected]
smtp - SMTP server e.g smtp.googlemail.com
port - SMTP port e.g 465
username - Username for SMTP server
password - Password for SMTP server

File

videos - Directory path for saved videos
photos - Directory path for saved images

Video

camera - The chosen camera, the default is 0. if you have more then one camera installed in your system, enter 2/3 and so on
fps - The FPS for recording video
min_movement_object - Set the min object size for movement detection. default is 2500. For smaller object detection, decrease it, and vice versa.

Notifications

For now there are two services for push notifications:
pushover - Pushover is an app for android and ios. Register and download the app. Fill here your user key.
bxc - boxcar is a service for push notification Register and download the app, enter here your ID.

Sound

alarm - Path for alarm sound (WAV file)

Cloud

To configure cloud service (Dropbox for now), go to Cloud tab in web UI, and follow the instructions.

Clone this wiki locally