* Add repo option to autoupdate.sh
* Fix repo option in autoupdate.sh
* Use local repo when checking for updates
* Use default repo if non given in VERSION file in autoupdates.sh
* Pass custom repo to web ui and update cgi
* Add custom firmware update to web ui
* Fix update messages
* Fix update start arguments
* Fix update input labels
* Add custom upgrade button when on custom firmware
* Add github token option to autoupdate.sh
* Use github token to check updates
* Add github token to web ui
* Use github token in web updates
* Add github tab in web ui
* Fix curl in autoupdate.sh
* Fix github curl auth
* New binaries:
- lighttpd
- openssl
- busybox
- v4l2rtspserver-master
latest live libs included
bug correction for motion detection at startup
MJPG is back (there is still an issue with the OSD: it is
flickering)
* Manage FPS for MJPG
* Dropbear new version (#1348)
* Dropbear new bin
* New version of Dropbear (v2019.78)
* New version of dropbear
- Use v2019.78 from https://secure.ucc.asn.au/hg/dropbear
- Change default path to "/usr/bin:/bin:/system/bin:/system/sdcard/bin/"
* Merge dropbearmulti
* New version of server:
According to PR: https://github.com/Dafang-Hacks/Main/pull/54
- Reduce video buffers per channel to two
- And enable poolsize fix by default
* Add mod_alias to lighttpd
* New binaries:
- lighttpd
- openssl
- busybox
- v4l2rtspserver-master
latest live libs included
bug correction for motion detection at startup
MJPG is back (there is still an issue with the OSD: it is
flickering)
* Manage FPS for MJPG
* Dropbear new version (#1348)
* Dropbear new bin
* New version of Dropbear (v2019.78)
* New version of dropbear
- Use v2019.78 from https://secure.ucc.asn.au/hg/dropbear
- Change default path to "/usr/bin:/bin:/system/bin:/system/sdcard/bin/"
* New version of server:
According to PR: https://github.com/Dafang-Hacks/Main/pull/54
- Reduce video buffers per channel to two
- And enable poolsize fix by default
* Add mod_alias to lighttpd
* Add directory listing of DCIM directory via lighttpd mod_alias, needs lighttpd.conf reset.
* Motion detection was not working if reduce pool was activated
* Update openRTSP according to last version of Live555 libs (#1383)
* Add night mode on/off options for the Telegram bot (#1386)
Co-authored-by: Jelle Posthuma <jelle@beyonit.nl>
* Bump bulma 0.8.2
* Merge stuff into beta that should have went there all along (#1393)
* PTZpresets.sh should not use inverted logic for motor control. (#1366)
* Allow example userscripts, with calibratePTZ example script. (#1371)
* PTZpresets.sh should not use inverted logic for motor control.
* Allow example userscripts, calibrate at boot example.
This commit changes run.sh to only execute files in /system/sdcard/config/userscripts/startup/
if they do not end with .dist. This allows example scripts to be included in the repository.
This commit also includes an example script calibratPTZ.sh.dist that will perform a PTZ calibration at boot
and if a /system/sdcard/config/cameraposition file exists it will also move the camera to the position it defines.
To enable the calibratePTZ.sh.dist demo, or any other script, copy or rename it to NOT end in .dist.
Example:
cp /system/sdcard/config/userscripts/startup/calibratePTZ.sh.dist /system/sdcard/config/userscripts/startup/calibratePTZ.sh
* enable zram by default as per the original firmware (#1323)
* enable zram by default as per the original firmware
this prevents crashes due to memory exhaustion on xiaofeng and other
64mb models
* Keep old swap variable names for backwards compatability
* Use zram swap with higher priority than sd-card swapfile
* Add configuration option for zram size
Co-authored-by: jmtatsch <jmtatsch@users.noreply.github.com>
* Update README.md
mention pull request should be against beta branch
* Add documentation about ram (#1375)
* Autoupgrade (#1374)
* 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
* Fix typo in status_overview.cgi (#1388)
Latest commit leads to blank content on Overview page under the Information tab. Based on below, I think it is a typo.
/var/log/lighttpd-cgi-stderr.log
/system/sdcard/www/cgi-bin/status_overview.cgi: line 59: syntax error: unexpected "else" (expecting ")")
* remove no original f/w note from Neos SmartCam (#1389)
2 versions are available
* Minor changes / correcting labeling (#1391)
* Minor changes / correcting labeling
run.sh: blue_led also off by default
common_functions.sh: fix typo
api.cgi, system_led.cgi, index.html: Correct display of cut_ir to IR Filter
sw_night.css: make some text easier to read
index.html.js: remove blank line
Co-authored-by: Steven McCombie <smccombie@fugnet.servegame.com>
* PTZ Presets - go home (#1387)
* Complete rewrite of PTZpresets.sh
Rewrite PTZpresets.sh to have better PID handling and full posix compatibility.
* left and right ptz presets where flipped
* Fix creation of PID file
Overly aggressive search and replace error, switch out logger to echo so PID is written to fille.
* Use full path to jq
Use full path to jq so that it still works when called from action.cgi and api.cgi
* Create Xiaomi.pm
Updated Xiaomi.pm that includes basic PTZ presets support.
* Update zoneminder.md
Co-authored-by: Solomon S <slm4996@users.noreply.github.com>
Co-authored-by: Yannik Sembritzki <yannik@sembritzki.me>
Co-authored-by: Yannik Sembritzki <yannik.sembritzki@gmail.com>
Co-authored-by: Gysmo <frederic@leroux.im>
Co-authored-by: fhl206 <fhl206@gmail.com>
Co-authored-by: Combie81 <classified_one@hotmail.com>
Co-authored-by: Steven McCombie <smccombie@fugnet.servegame.com>
* Hide dpad if camera have no PTZ
* Add topic update to start update from mqtt (#1399)
Co-authored-by: gysmo38 <frederic@leroux.im>
* Viewer (#1401)
* Add html page to show files in Recording directory
* more generic code and add timelapse files
* Rebased on latest version on https://github.com/mpromonet/v4l2rtspserver
- No more memory leak (hopefully)
- latest version of live555
* Add test for update process (#1405)
* Add test for update process
* Update action.cgi
* Bug fix for Fimware commit on status overview page (#1406)
Co-authored-by: root <nicolas.ebele@gmail.com>
Co-authored-by: nik0 <1867654+nik0@users.noreply.github.com>
Co-authored-by: J Posthuma <jposthuma25@gmail.com>
Co-authored-by: Jelle Posthuma <jelle@beyonit.nl>
Co-authored-by: gysmo38 <frederic@leroux.im>
Co-authored-by: Solomon S <slm4996@users.noreply.github.com>
Co-authored-by: Yannik Sembritzki <yannik@sembritzki.me>
Co-authored-by: Yannik Sembritzki <yannik.sembritzki@gmail.com>
Co-authored-by: fhl206 <fhl206@gmail.com>
Co-authored-by: Combie81 <classified_one@hotmail.com>
Co-authored-by: Steven McCombie <smccombie@fugnet.servegame.com>
* 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
autonight.conf.dist has arguments enclosed with ' but SW night configuration page passes arguments without. Currently, updating autonight.conf sw parameters using the SW night configuration page will stop autonight working correctly.
* Added time zone selection in web config based on time zone name.
* Added default timezone config file. Default is Abidjan because first in list that is GMT0, which probably matches the default in `/etc/TZ`
* Update timezone.conf
* Added default timezone config file. Default is Abidjan because first in list that is GMT0, which probably matches the default in `/etc/TZ`
* improved time zone changes with seperate function. timezone is now set at boot time to avoid time zone name and actual system time zone mismatch
* Added time zone selection in web config based on time zone name.
* Added default timezone config file. Default is Abidjan because first in list that is GMT0, which probably matches the default in `/etc/TZ`
* Update timezone.conf
* Log by default to /tmp so as to avoid SD card corruption
I discovered that the errors I was getting about the SD card similar to #880 were always related to the v4l2rtspserver log.
It seems to me that especially when turning detection tracking due to the high number of writes, writing to the log causes SD card corruption. I suppose that the SD card controller is not built for such a speed.
Since changing logging to log to /tmo which is mounted as tmpfs, I hadn't had any issues.
* Don't create a log subdirectory
* Apply same changes for mjpeg
* Update log view actions as well
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
* Audio and framerate settings
- Enable audio AES filter
- Now can choose more audio in/out bitrate
Please note the constraints:
* Filtering AES, NS is available with in bitrate under or egal 16000
* When select OPUS out birate is 48000
* When select PCM or PCMU in bitrate shall be egal to out bitrate
- Can now control video FPS
* I noticed that some configuration freeze the video (for example 1/1)
* Delete webrtc_profile.ini
* Update status.cgi
* Update rtspserver.conf.dist
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>
* Restore audio test
add the possibility to choose audio from audio delivered with original firmware
or choose audio from /system/sdcard/Media folder
* OSD was not displayed anymore if AXIS not set in OSD
I guess it is a regresion from previous commit (add the value in file with rewrite_config)
* Change the way the scripts (detection are launched)
* Restore audio test
add the possibility to choose audio from audio delivered with original firmware
or choose audio from /system/sdcard/Media folder
* Update action.cgi
Fix a typo and add missing quotes
* Update update.html
* New autoupdate page
- Autoupdate with progress bar (approximative as based on files already on card)
- associated log tab
- version in settings
* New autoupdate page
- Autoupdate with progress bar (approximative as based on files already on card)
- associated log tab
- version in settings
* add PTZperset function
* Display asix to OSD
* delete source
* add motor_PTZ function
* Motor adds f parameter (calibrate) and is compatible with the new version of DAFANG.
* calibrate,compatible newer models.
* OSD set POSY 0
* Wait for the previous command to run before running
* Disable Statements That Cause MQTT Alerts
* fix mqtt
* Fixed issue where multi-tasking motor was not moved to the specified position and was interrupted
* Add limit on the number of snapshots
* Add OSD Display AXIS
* Repair Limit Snapshot Number Does Not Take Effect..
* Enable log option
* Keep the original time style
* Keep default osd settings
* Modify loger as a logger
* Api.cgi is not in use
* Clear the old DAFANG calibration failure code.
New DAFANG Run the `/system/sdcard/bin/motor -d f` command to calibrate.
Old and generous Please run `/system/sdcard/bin/motor -d h && /system/sdcard/bin/motor -d v` command to calibrate
* Change the zero point of the motor calibration coordinate to the middle point of the motor.
* Fix the coordinate display of the new motor command.
* fix typo
* Add configuration for audio
- New sub menu for audio in (mic)
- Add birate configuration
- double click on tabs name in log page will clear the logs
* Add configuration for audio
- New sub menu for audio in (mic)
- Add birate configuration
- double click on tabs name in log page will clear the logs
* New video settings
- Can configure bitrate and video format
* Bad merge of videosettings
* Add configuration for audio
- New sub menu for audio in (mic)
- Add birate configuration
- double click on tabs name in log page will clear the logs
* Add configuration for audio
- New sub menu for audio in (mic)
- Add birate configuration
- double click on tabs name in log page will clear the logs
* New video settings
- Can configure bitrate and video format
* Add configuration for audio
- New sub menu for audio in (mic)
- Add birate configuration
- double click on tabs name in log page will clear the logs
* Add configuration for audio
- New sub menu for audio in (mic)
- Add birate configuration
- double click on tabs name in log page will clear the logs