* New menu organisation
* Improve upgrade process by creation a VERSION file
* Add commit info in status overview
* Improve update process with VERSION file
* Typo fixies
Currently, publish_mqtt_message is used to decide whether we send a
notification about motion. save_snapshot is used to save the image
locally. And if both are set, the image is also sent to mqtt
This PR decouples the mqtt image send from the snapshot saving. There
are now three parameters:
publish_mqtt_message -- send notification that there was motion
publish_mqtt_snapshot -- send notification containing the motion.
save_snapshot -- saves to disk, doesn't necessarily notify
No MQTT topics are changed; this is purely configuration bookkeeping.
* Integrating sw_night_configure.html to main index.html
Adding GUI option to select SW/HW mode for autonight in setting page
Adding capability to read current configuation and save the new configuation back to the sdcard in sw_night_configure
* Removing autonight.conf.sw Instead we now only add or remove -S to autonight.conf
Change #478 introduced a regression with the updated busybox where ".",
seems not be part of the default $PATH.
The cgi scripts were sourcing "func.cgi", but this could not be found in
the new default $PATH, and therefore failed to execute. This meant that
the web-ui was unable to make changes and execute commands.
This has been resolved by putting a leading "./" for the script, making
it now ./func.cgi.
In addition, this also adds the lighttpd option server.breakagelog,
which enables stderr logging to /tmp/lighttpd-cgi-stderr.log (so 500
internal errors output is now logged to file (previously just the error
500 was in the webserver logs).
Closes: #491
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
* Add some examples for dealing with motion events
* Harmonize core motion detection & event handling to use one single motion.conf, refactor & beautify motion detection api for more consistency, host jquery locally for usecases without internet, add responsive switch to live ui
* added mqtt actions for switching motion detection on and off
* added motion detection status to status
* Update motion.conf
* Update motion.conf