Commit Graph

533 Commits

Author SHA1 Message Date
Alfonso Gamboa
86b4f38429 S19video: wait for icamera before launching monitor 2023-07-19 15:10:41 -07:00
Alfonso Gamboa
9b2c2d735b ser2net: initial support 2023-07-19 15:10:13 -07:00
Alfonso Gamboa
c3256902b7 FFMPEG: buildroot-2023.02.2 musl version 2023-07-13 20:13:31 -07:00
Alfonso Gamboa
9d880653eb README: reformat + wiki changes 2023-07-13 20:08:03 -07:00
Alfonso Gamboa
bc0e9eee07 ffmpeg: update to musl build, cpu optimizations 2023-07-13 20:06:01 -07:00
Alfonso Gamboa
65d407f6d7 go2rtc.yml: update opus audio parameters 2023-07-13 20:05:36 -07:00
Alfonso Gamboa
0f202a18fc update checksum 2023-07-12 13:16:53 -07:00
Alfonso Gamboa
4883506fcf go2rtc: set opus as default codec 2023-07-12 13:16:29 -07:00
virmaior
c94a678467
fix unicast urls for v2s / disable editing of camera config (#558)
* Update config.js

correct RSTP links for V2

* Update config.cgi

fix urls for v2 RTSP in config.cgi

* Update cam.cgi

prevent editing of cam config (not hack config) in www
2023-07-12 13:13:30 -07:00
Alfonso Gamboa
9dc5e756e8 README: add tinycam audio fixes 2023-07-11 23:10:50 -07:00
Alfonso Gamboa
2407d8fe87 go2rtc: update ffmpeg version, include libopus, enable audio in go2rtc config 2023-07-11 23:01:14 -07:00
Alfonso Gamboa
2a60137bb6 Update checksum 2023-07-11 19:22:52 -07:00
John Elkins
46ec7dd02b
Improve v2 firmware validation and error checks (#449)
To reduce the chance that a bad firmware image is created and used, the
following functionality has been implemented:

1. Check md5 sums of local files in addition to downloaded files
2. Copy a backup of the original firmware, instead of removing it
3. Do not make an image unless all parts are present
4. Only output success message if the image file exists

The above fixes an issue where if a provided firmware zipfile is unable to
be read, the script continues on, generates a bad demo.bin file, and suggests
the file is good for loading into the camera. The above updates help prevent
this from occurring
2023-07-11 19:21:13 -07:00
Garulf
df3a8945bd
Adhere header to http/1.1 specification (#542)
This function is imported and ran inside jpeg.cgi and causes errors with scrypted
2023-07-11 19:20:57 -07:00
Alfonso Gamboa
d7bea141d4 imp_monitor.sh: fix utility paths 2023-07-11 19:14:32 -07:00
Alfonso Gamboa
2a4d7c2efa README: clearify max fps for v3 2023-07-11 19:03:16 -07:00
Alfonso Gamboa
d898fdc80d Update readme, config file with new variables 2023-07-11 19:02:18 -07:00
Alfonso Gamboa
a4869fcfd2 imp_monitor.sh: switch paths to /opt 2023-07-11 18:36:56 -07:00
Alfonso Gamboa
ff7a49e273 S18fps: source rc.common 2023-07-11 18:35:28 -07:00
Alfonso Gamboa
e4d8cd462c S19video: source rc.common 2023-07-11 18:34:32 -07:00
Alfonso Gamboa
211d049a80 imp_monitor.sh: fix bash path 2023-07-11 18:23:33 -07:00
Alfonso Gamboa
70127bf4cf S19video: fix path for imp_monitor.sh 2023-07-11 18:14:53 -07:00
Alfonso Gamboa
8f18af08e6 S18fps: fix wrong impdbg parameters for frame rate 2023-07-11 18:14:30 -07:00
Alfonso Gamboa
f0c7c4e092 go2rtc: add initial support 2023-07-11 18:13:43 -07:00
Alfonso Gamboa
34712eb4ee S18fps: add function to set using impdbg if fps>20 2023-07-11 17:34:36 -07:00
Alfonso Gamboa
20ea8e772e S15v4l2rtspserver: remove references to old imp_helper.sh 2023-07-11 01:34:30 -07:00
Alfonso Gamboa
ec00c105e7 S15fwupdate: fix typo 2023-07-11 01:11:39 -07:00
Alfonso Gamboa
79ae1a1fd8 imp_monitor.sh: adjust variables to match config vars 2023-07-11 01:06:04 -07:00
Alfonso Gamboa
8bdd6aced6 wz_mini.conf: add new video parameters to conf 2023-07-11 01:04:34 -07:00
Alfonso Gamboa
8586cd4df0 imp_monitor.sh: add date to logging output 2023-07-11 00:54:26 -07:00
Alfonso Gamboa
a123d9106b imp_monitor.sh: fix log path 2023-07-11 00:47:17 -07:00
Alfonso Gamboa
ff62b922ed Remove old imp_helper.sh from rtspserver scripts and add init script for imp_monitor.sh 2023-07-11 00:46:19 -07:00
Alfonso Gamboa
5abcbe5a42 Add imp_monitor.sh daemon 2023-07-11 00:40:06 -07:00
Your Name
66e96805cc update checksum 2023-06-28 20:08:20 -07:00
Squirrelf
f729f684a9
Now compliant with HTTP/1.1 RFC7230, so that it can be externally retrieved with nodejs and axios (#538)
Makes this page compliant with HTTP/1.1 RFC2616 and RFC7230

"HTTP/1.1 defines the sequence CR LF as the end-of-line marker for all protocol elements except the entity-body"

This only had LF, and when used with nodejs and axios that page would fail to be retrieved and throw a HPE_INVALID_HEADER_TOKEN error. (other pages likely need that fix, but retrieving the image was most important and most useful, I personally use it with Scrypted, which then uses this as the camera snapshot in Apple Home app)

Added -n to echo to make it clearer for myself, which removes the otherwise automatically added LF
2023-06-28 19:40:23 -07:00
glessa1
f004af3ef5
Add Basic Auth to Web Server portal (#391)
Add Basic Auth to Web Server portal
2023-06-28 19:39:02 -07:00
Sherman K
725e52609e
Clarify v2/Panv1 setup instructions (#356)
* Clarify v2/PanV1 setup instructions

* Fix indentation for sub-bullet points
2023-06-28 19:37:47 -07:00
virmaior
8d7060c4b1
ability to restrict which parts of the webserver are accessible (#372)
* add ability to restrict www access / css changes

-can now use WEB_SERVER_OPTIONS to decide what parts of the web system are accessible. Set it to  `WEB_SERVER_OPTIONS="cam config car jpeg"` to access everything. Remove things you don't want accessible.
-make the top part of the pages cleaner - now the image in config/cam defaults to smaller but is clickable to see it bigger. 
- separate feed.js from config.js and cam.js
-add warning about RTSP fimrware to diagnostics

* add info on WEB_SERVER_OPTIONS

* Update multicam.html

track and display refresh speed.
2023-06-28 19:36:53 -07:00
Alfonso Gamboa
83a05d7221 update checksum 2022-10-13 00:37:32 -07:00
Leo
2388a135ef
Added startup script to kill sinker and hl_client in self-hosted mode (#339)
These two processes do nothing in self-hosted mode and is now removed
from the init startup script.
2022-10-13 00:34:01 -07:00
Leo
b35653f86f
Updated NTP to start using dmon (#338)
Replace timesync with ntpd but retain dmon so that NTP status can be
read from the system logs.
2022-10-13 00:33:51 -07:00
Leo
436f5e30d6
Fixed cron being incorrectly copied in during upgrade (#337)
The cron directory was being copied into the existing cron directory
during the upgrade, resulting in a doubly nested cron directory for
every upgrade.
2022-10-13 00:33:40 -07:00
virmaior
851578ee02
cam config www bricking fixed (#330)
* fix bricking, improve cam.cgi interface

* Delete cam2.cgi

* Delete cam3.cgi

* fix for url encoding of POST parameters
2022-10-13 00:33:25 -07:00
Alfonso Gamboa
da43a02fac update checksum 2022-10-01 20:56:12 -07:00
virmaior
e74a9f8d13
updates to web (#321)
* add basic support cam configuration file

* multiple cams at 1 frame/sec

can switch which is big.

* Update cam.cgi
2022-10-01 20:55:07 -07:00
Alfonso Gamboa
2fcd3dcee6 further enhance imp_helper, check variables first, and only set if changed 2022-09-30 17:03:12 -07:00
Leo
b7b1e37854
Fix imp_helper.sh from a recursive function call rather than looping (#302)
This script was calling hi/lo updates without honoring the loop
interval. This was also calling itself recursively which could lead
to memory issues for long running cameras.
2022-09-30 16:59:42 -07:00
Alfonso Gamboa
de23abb057 update checksum 2022-09-28 17:19:06 -07:00
Leo
4d6c1d8651
Added auto bind feature for offline / cloud-less setup (#303)
* Added auto bind feature for offline / cloud-less setup

Automatically sets bindOk=1 when WiFi settings are detected without
needing the camera to interact with the Wyze cloud. This feature
can be enabled when ENABLE_AUTO_BIND=true is set in wz_mini.conf

* Added 'WiFi Connected' audio message when QR code is valid

* Fixed the auto bind script improperly checking WiFi status

/configs isn't mounted during the init phase from the SD card and
as a result, the checks for whether bindOk=0 done by the init
script was ineffective. The script now mounts it if necessary before
checking.

* Updated autobind feature to use ENABLE_SELFHOSTED_MODE option

The feature to update the bindOk value will now use the same
`ENABLE_SELFHOSTED_MODE` option as the self-hosted iCamera patch.

This feature should only be used by advanced users in isolated
networks or when the user does not intend to use the Wyze App or
cloud services.

* Updated ENABLE_SELFHOSTED_MODE to false by default

The default should be to rely on Wyze servers. Ooops.
2022-09-28 17:17:49 -07:00
Leo
fe4c982796
Fixed broken iCamera patch script for Wyze Cam v3 (#315)
The return code for `false||return` is non-zero, which causes the
script to fail when the v2 checks fail.

Tested on my v3 and it seems to apply the patch properly now.
2022-09-28 17:16:45 -07:00