-
Notifications
You must be signed in to change notification settings - Fork 25
How to configure?
The configuration stores within conf.ini
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
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
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)
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
videos - Directory path for saved videos
photos - Directory path for saved images
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.
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.
alarm - Path for alarm sound (WAV file)
To configure cloud service (Dropbox for now), go to Cloud tab in web UI, and follow the instructions.