Leo
10dba022a5
Added 'self-hosted' iCamera patch option to fix intermittent network issues ( #312 )
...
* Added iCamera patch option to fix intermittent network issues
This commit adds a ENABLE_ICAMERA_PATCH option to wz_mini.conf which
will patch the iCamera binary on the most recent firmware version so
that the device doesn't try bouncing the wireless interface when
iCamera is unable to reach the internet.
The iCamera program will be patched as part of the boot process when
`ENABLE_ICAMERA_PATCH=true` is set in wz_mini.conf. This patch can
be undone by setting `ENABLE_ICAMERA_PATCH=false` and then rebooting.
* Updated iCamera patch boot script to uninstall patch on failure
In case of an unsupported firmware update / downgrade, the iCamera
patch will uninstall itself and revert back to the stock executable.
* Set ENABLE_ICAMERA_PATCH default to false
The iCamera patch shouldn't be enabled unless network issues are
present. The user can toggle this option if they intend to run
the Wyze Cam on an isolated network.
* Fixed wait_for_icamera pgrep when running patched iCamera
The iCamera process may not be at /system/bin/iCamera if we run
the patched version of it.
This function is used to ensure that iCamera's running before
certain things happen. A search for just 'iCamera' should be
sufficient for this use case.
* Updated the iCamera patch feature as ENABLE_SELFHOSTED_MODE
This should make it clear this option should only be used in self-hosted
scenarios as it will break functionality with the Wyze App or other Cloud
services.
* Added iCamera patch support for v2 firmware 4.9.8.1002
This iCamera patch should handle the Wyze Cam v2 firmware 4.9.8.1002
and prevent the firmware from restarting the wireless network after
being unable to connect to the Wyze servers.
* Fixed iCamera build date check
Check was grepping for 'Build' which may include the build time
instead of build date.
* Updated readme for selfhosted iCamera patch feature
* Patched LED lights for v2 firmware
After connecting to WiFi, the blue LED status light will no longer blink.
* Changed the v2 status LED to remain on when connected
Looking at Wyze's documentation, the LED is supposed to be on when
it's connected and working. The off state from the last commit was
for the powered off state only.
2022-09-27 17:48:46 -07:00
Alfonso Gamboa
4cb55cbb1e
update logging on official rtsp fw
2022-09-01 20:53:03 -07:00
Alfonso Gamboa
8d85c31649
update checksum
2022-08-26 23:18:14 -07:00
virmaior
5b90d98ce5
fixes for recent errors ( #277 )
2022-08-26 23:17:38 -07:00
Alfonso Gamboa
80ee199cb6
update checksum
2022-08-20 19:08:03 -07:00
virmaior
da3ffcd467
updates to www ( #264 )
...
* updated shared.cgi to read T20 firmware ver
* improvements and fixes
1. now composes urls for RTSP
2. css improvements
3. added diagnostics (got to test first hand with a corrupt file system SD card!)
4. fixed reboot not rebooting ...
5. remove debug code from jpeg.cgi
2022-08-20 19:07:35 -07:00
Alfonso Gamboa
6f7c7111ce
update checksum
2022-08-19 22:25:57 -07:00
Alfonso Gamboa
a8ce83e17a
fix libcallback jpeg issue on t20
2022-08-19 22:25:32 -07:00
Alfonso Gamboa
ba366eb0c9
update checksum
2022-08-18 23:14:56 -07:00
Alfonso Gamboa
7e02536c79
update logging output for v4l2rtspserver
2022-08-18 23:12:10 -07:00
Alfonso Gamboa
fa4144a8f4
add fw version and update boot script
2022-08-18 23:04:44 -07:00
Alfonso Gamboa
16f8f7e477
add logging for mounts
2022-08-18 22:26:20 -07:00
Alfonso Gamboa
16c89dca72
fix gateway supervisor function for usb direct monitoring
2022-08-18 21:40:38 -07:00
Alfonso Gamboa
9212bd641d
add delay for dnsmasq start
2022-08-18 21:39:04 -07:00
Alfonso Gamboa
fa132925be
add dnsmasq and cron to backup script
2022-08-13 17:23:29 -07:00
Joshua Wang
3a39f5c89a
fix: change rmtp typo to rtmp ( #239 )
2022-08-13 17:20:09 -07:00
Alfonso Gamboa
0549b9b43d
update checksum
2022-08-11 14:09:11 -07:00
virmaior
5ff8ad6ce6
updated shared.cgi to read T20 firmware ver ( #232 )
2022-08-11 14:08:51 -07:00
Alfonso Gamboa
86bd5a85bd
update checksum
2022-08-09 18:26:37 -07:00
virmaior
91e76ec944
fixes to www ( #231 )
...
fixed display of camera version, fixed issue jpeg.cgi, added diagnostics page, minor css improvements, made shared.cgi for common code between diagnostics and config
2022-08-09 18:26:14 -07:00
Alfonso Gamboa
ee2fd1b757
fix execution order for dnsmasq
2022-08-08 11:34:03 -07:00
Alfonso Gamboa
df0d8631b6
update checksum
2022-08-07 19:01:28 -07:00
gtxaspec
9ce6bbd92a
New init system ( #216 )
...
* new init system
* update new init scripts
* update checksum
* fix broken audio promps with new init scripts
* fix debug/upgrade mode
* fix bonding and eth0 hw addr
* add checksum
* fix bonding setup
* add rtsp auth disable
* adjust network init scripts path
* recreated repo and re added cron scripts (#211 )
* recreated repo and re added cron scripts
* rename cron script and move it to the right folder.
* Delete .vs directory
remove .vs directory
* add deubg message to bonding rc.d script
* add crontab variable to wz_mini.conf
* fix mp4write
* add syslog debug feature
* fix syslog init blocking
* fix syslog save function
* increase imp_helper rerun delay
* update init scripts
* fix bonding and usb-direct
* update checksum
* add netmon for bonding
* fix supervisor function
* update model detection
* fix debugging injection on T20 devices
Co-authored-by: sideup66 <47700565+sideup66@users.noreply.github.com>
2022-08-07 18:46:00 -07:00
Alfonso Gamboa
98743f21c9
patch ucamera from normal mirrored, to normal
2022-08-03 19:54:00 -07:00
Alfonso Gamboa
4a6a5b2c4b
fix webcam mode orientation
2022-08-03 19:38:22 -07:00
Alfonso Gamboa
fcf827118d
update dnsmasq.conf to allow local hosts file
2022-07-26 07:58:11 -07:00
Alfonso Gamboa
46d65b87ce
update dnsmasq
2022-07-26 07:46:32 -07:00
Alfonso Gamboa
f713534805
update readme
2022-07-25 15:19:33 -07:00
virmaior
82101dcc6a
fix bad anchor ( #206 )
...
* updates to config.cgi and jpeg.cgi
* Update config.cgi
* config.cgi: type checks, blank line keep, css
* renamed to config.css (other css not used)
* fix bad link
2022-07-25 15:17:42 -07:00
Alfonso Gamboa
79a25ff331
improve v2 install script
2022-07-25 07:14:10 -07:00
Alfonso Gamboa
1a48a779e3
add all stop to car_control.sh
2022-07-23 23:40:12 -07:00
virmaior
38b0ad69d7
web fixes and improvements ( #205 )
...
* updates to config.cgi and jpeg.cgi
* Update config.cgi
* config.cgi: type checks, blank line keep, css
2022-07-23 23:39:09 -07:00
Alfonso Gamboa
3b1561d805
update checksum
2022-07-22 20:41:12 -07:00
Alfonso Gamboa
3175ed3d08
add local dns option
2022-07-22 20:39:53 -07:00
Alfonso Gamboa
b59823b61e
enhance car web control
2022-07-21 22:08:34 -07:00
virmaior
16def56fc9
no longer auto reboots, allows reverting to previous edits ( #198 )
...
* updates to config.cgi and jpeg.cgi
* Update config.cgi
2022-07-21 22:06:35 -07:00
Alfonso Gamboa
9a96eec5a1
update checksum
2022-07-20 19:33:48 -07:00
Alfonso Gamboa
57bd0e8d94
add lsusb output
2022-07-20 19:31:20 -07:00
virmaior
f0d8c03792
updates to config.cgi and jpeg.cgi ( #196 )
2022-07-20 19:16:27 -07:00
Alfonso Gamboa
3302897fd1
update checksum
2022-07-18 08:00:16 -07:00
Alfonso Gamboa
b3b6843012
remove old while loop from usb_direct and usb_rndis
2022-07-18 07:53:57 -07:00
Alfonso Gamboa
cc78be70b2
patch wz_user for usb_direct
2022-07-18 07:41:02 -07:00
Alfonso Gamboa
bec44c80ea
update checksum
2022-07-17 22:14:07 -07:00
gtxaspec
9016bab840
Merge pull request #193 from virmaior/master
...
updates to www system
2022-07-17 22:13:43 -07:00
Alfonso Gamboa
cd44f67dc7
update checksum:
2022-07-17 22:00:13 -07:00
Alfonso Gamboa
a26bf4f8f8
change function order in wz_user
2022-07-17 21:59:42 -07:00
virmaior
fe0b638fd4
Update index.html
2022-07-18 13:29:49 +09:00
virmaior
a838200241
Rename index.cgi to config.cgi
2022-07-18 13:28:04 +09:00
virmaior
7991ff7388
Update car.css
2022-07-18 13:26:37 +09:00
virmaior
17c3056f33
clean up car.html for OO-js
2022-07-18 13:26:30 +09:00
virmaior
74a07c5e4d
rewrite car.js as oo javascript
2022-07-18 13:24:36 +09:00
Alfonso Gamboa
7f3407fe78
fix rtsp password
2022-07-17 21:20:41 -07:00
virmaior
710bce63a0
Merge branch 'gtxaspec:master' into master
2022-07-18 12:38:24 +09:00
Alfonso Gamboa
3f73441116
wifi AP not needed when using eth0, after initial wifi setup has already completed
2022-07-17 16:48:30 -07:00
Alfonso Gamboa
263fc509b2
fix shebang error in index.cgi
2022-07-17 15:24:11 -07:00
Alfonso Gamboa
315dec23fc
add car support to web server
2022-07-17 15:14:08 -07:00
virmaior
c5bb6d6b0c
create jpeg.cgi for feed support
2022-07-18 01:21:23 +09:00
virmaior
1ea45de67b
add camera feed support
2022-07-18 01:20:24 +09:00
virmaior
13be01f68b
add feed support
2022-07-18 01:18:01 +09:00
virmaior
98d61c04fc
Update wz_mini.conf.dist
2022-07-17 17:29:10 +09:00
virmaior
8b772c503a
include WEB_SERVER_ENABLED in wz_mini.conf.dist
2022-07-17 17:28:01 +09:00
virmaior
cfcad72bbf
Update wz_user.sh
2022-07-17 17:09:37 +09:00
virmaior
c101fcec3b
Rename SD_ROOT/wz_mini/web/cgi-bin/wz_mini_web.css to SD_ROOT/wz_mini/www/cgi-bin/wz_mini_web.css
2022-07-17 17:08:16 +09:00
virmaior
4b50c8db37
Update and rename SD_ROOT/wz_mini/web/cgi-bin/index.cgi to SD_ROOT/wz_mini/www/cgi-bin/index.cgi
2022-07-17 17:07:52 +09:00
virmaior
02c7f12c2e
Rename SD_ROOT/wz_mini/web/cgi-bin/ENABLE_WIREGUARD.md to SD_ROOT/wz_mini/www/cgi-bin/ENABLE_WIREGUARD.md
2022-07-17 17:05:29 +09:00
virmaior
44873d44a2
Rename SD_ROOT/wz_mini/web/cgi-bin/ENABLE_USB_ETH.md to SD_ROOT/wz_mini/www/cgi-bin/ENABLE_USB_ETH.md
2022-07-17 17:05:02 +09:00
virmaior
f4f390db61
Rename SD_ROOT/wz_mini/web/cgi-bin/DISABLE_FW_UPGRADE.md to SD_ROOT/wz_mini/www/cgi-bin/DISABLE_FW_UPGRADE.md
2022-07-17 17:04:14 +09:00
virmaior
160a59167a
Create ENABLE_USB_ETH.md
2022-07-16 21:38:33 +09:00
virmaior
99de7de85f
Create DISABLE_FW_UPGRADE.md
2022-07-16 21:38:07 +09:00
virmaior
7642c141c3
Create ENABLE_WIREGUARD.md
2022-07-16 21:37:10 +09:00
virmaior
218a5ce26f
Update index.cgi
2022-07-16 21:36:21 +09:00
virmaior
9a76c39f67
Update wz_mini_web.css
2022-07-16 21:35:35 +09:00
virmaior
a9a76e7335
Rename wz_mini_web.sh to index.cgi
2022-07-16 21:22:58 +09:00
virmaior
a19d6f3552
Update wz_mini_web.sh
...
correctly identify wz_mini version
2022-07-16 21:21:55 +09:00
virmaior
c72441ea11
Merge branch 'gtxaspec:master' into master
2022-07-16 21:20:06 +09:00
Alfonso Gamboa
1fee46a051
add honking feature
2022-07-15 16:48:10 -07:00
Alfonso Gamboa
2365a35749
fix function order
2022-07-15 11:46:18 -07:00
Alfonso Gamboa
c6f6674e4b
fix upgrade mode and script execution in rc.local.d
2022-07-15 11:36:01 -07:00
virmaior
440bfc353d
Update wz_mini.conf
2022-07-15 18:05:08 +09:00
virmaior
f76a5f1db6
Update wz_mini_web.sh
2022-07-15 18:03:00 +09:00
virmaior
d51afff1b8
add webserver check
2022-07-15 17:55:36 +09:00
virmaior
51102719c9
Merge branch 'gtxaspec:master' into master
2022-07-15 17:54:29 +09:00
Alfonso Gamboa
f7dcb77d01
add irled and headlight toggle
2022-07-14 21:59:39 -07:00
Alfonso Gamboa
636b3ebac2
update checksum
2022-07-14 16:01:45 -07:00
Alfonso Gamboa
dd32a633e9
update read me with max fw version compatability
2022-07-14 16:01:07 -07:00
Alfonso Gamboa
16e3369ef1
fix script and add car changes to conf.dist
2022-07-14 14:14:39 -07:00
Alfonso Gamboa
84c893e593
add car supports for unsupported devices
...
added support for tto usecar accessory with devices normally unsupported. You may control it via the command line. Unsupported devices will not work using the car app.
2022-07-14 13:56:47 -07:00
virmaior
9c065b078f
Update wz_mini_web.sh
2022-07-14 23:39:25 +09:00
Alfonso Gamboa
3fa72158e7
change order of detection for car
2022-07-13 18:16:09 -07:00
Alfonso Gamboa
77a4bdd8f0
add support for car fw and enable drivers
2022-07-13 18:02:17 -07:00
Alfonso Gamboa
7e56f96e44
include curl
2022-07-13 16:31:44 -07:00
virmaior
815afe9083
Create wz_mini_web.sh
2022-07-13 21:03:30 +09:00
virmaior
df22da013b
Create wz_mini_web.css
...
css part
2022-07-13 21:02:32 +09:00
Alfonso Gamboa
68b0e2092e
new libcallback release
2022-07-13 02:49:26 -07:00
Alfonso Gamboa
79b4b6aaa3
remove atbm log disable statement, we set this using a kernel module parameter now
2022-07-08 19:38:15 -07:00
Claude Meyer
eacf29d905
added support for multiple custom scripts by simply creating them in wz_mini/etc/rc.local.d
2022-07-08 21:12:11 -05:00
Alfonso Gamboa
3dcece0b60
update kernel, modules, and add cp210x serial drivers for car
2022-07-08 19:04:02 -07:00
Alfonso Gamboa
84979cbbbd
revert libcallback soundcard changes, updated kernel fixed issue
2022-07-08 18:34:49 -07:00
Alfonso Gamboa
1b924ac39a
adjust imp_helper run delay
2022-07-08 17:58:50 -07:00
Alfonso Gamboa
fe1a2f1497
disable wifi driver debug information
...
disable all debug output from wifi drivers, reducing dmesg log spam
2022-07-08 17:53:54 -07:00