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
Alfonso Gamboa
c9acdc25bc
improve the method of setting variables via the impdbg utility
2022-07-08 17:49:17 -07:00
Alfonso Gamboa
a901c24868
Prepare support to enable fsck.vfat on boot
2022-07-08 16:28:07 -07:00
Alfonso Gamboa
9d618c6a99
add wifi driver support for atomcam2 testing
2022-07-07 22:14:57 -07:00
Alfonso Gamboa
9e73f7d252
update libcallback.so
...
Fix a bug only present in wyze devices, which have enhanced soundcard support, conflicting with recent changes to the kernel made for an upcoming libcallback release
2022-07-05 20:26:18 -07:00
Alfonso Gamboa
478b1ceba0
enable libcallback by default
...
libcallback is now enabled by default.. libcallback commands, such as cmd <function> are now operational, independent of the rtsp server
2022-07-02 02:08:25 -07:00
Alfonso Gamboa
b6276ca1df
add comments, clean up
2022-07-02 01:45:13 -07:00
Alfonso Gamboa
973cc4d8e7
update kernel and modules
...
Update kernel and modules, disabled CONFIG_KALLSYMS_ALL to reduce kernel size, stripped modules of debug symbols
2022-07-02 00:19:11 -07:00
Alfonso Gamboa
6c8f59f741
Reduce log level of 8189 driver
...
8189 driver spams logs with debug info, reduce the level so only the initialization information is logged.
2022-07-01 21:42:24 -07:00
gtxaspec
f1c0e3725e
Merge pull request #149 from skilau/Fix_Workaround_Issue_145
...
Fix (workaround) for issue #145 .
2022-07-01 20:26:01 -07:00
Alfonso Gamboa
19ff6e3fcd
Backup /configs & /params
...
Backup /configs & /params partitions to <sd_root>/.wz_backup
2022-07-01 20:22:50 -07:00
Scott Kilau
986fcc447d
Merge branch 'master' into Fix_Workaround_Issue_145
2022-07-01 15:07:45 -05:00
Alfonso Gamboa
5db0faf000
change wz_post.sh execution order
...
Change the order in which wz_post.sh runs, before we used to execute right before mounting /configs, now we execute after /configs and /params, but before app_init.sh
2022-07-01 00:06:50 -07:00
Alfonso Gamboa
d87d43241f
add DISABLE_MOTOR function for motorized devices
2022-06-30 23:31:32 -07:00
Scott Kilau
1d75c9f4fd
Fix (workaround) for issue #145 .
2022-06-30 17:35:14 -05:00
Alfonso Gamboa
43f6e7dba8
update t20 modules:
2022-06-29 02:22:50 -07:00
Alfonso Gamboa
de484789ae
netfilter on t20 uses modules now
2022-06-29 01:33:46 -07:00
Alfonso Gamboa
999210e385
add 8189es for panv1
...
Add a newer version of the 8189es driver for the PanV1
2022-06-28 21:39:57 -07:00
Alfonso Gamboa
c5c93d27f2
fix rtmp-stream stalling execution
...
Run rtmp-stream.sh in the background, preventing wz_user.sh from completing execution
2022-06-27 23:55:27 -07:00
Alfonso Gamboa
f1fe733db6
change libcallback loading
...
Since we now hook and bind our own copy of app_init.sh, we no longer need to copy iCamera to a staging directory to load libcallback
2022-06-27 23:54:39 -07:00
Alfonso Gamboa
f42a38794e
disable rndis if usb ethernet is also enabled
...
Disable USB RNDIS mode if USB Ethernet support is also enabled. They are not compatible
2022-06-27 22:07:18 -07:00
Alfonso Gamboa
d330294c1d
update wz_mini.conf.dist
...
Update the wz_mini.conf template with the latest version
2022-06-27 21:35:19 -07:00
gtxaspec
f392d1b109
Merge pull request #103 from skilau/DetectAndAutoLoadEthernetDrivers
...
Add support for auto detecting the USB Ethernet adapter, and loading its respective driver
2022-06-27 21:02:33 -07:00
Alfonso Gamboa
f4174f39d8
fix watch_up log spam
...
send output of watch_up.sh to /dev/null unless debug mode is specifically enabled in the script
2022-06-26 20:53:44 -07:00
Alfonso Gamboa
65e839b6a9
update bonding functions, add fail_over_mac option
2022-06-26 20:02:06 -07:00
Alfonso Gamboa
2a0515761f
fix variable typos in rtmp scripts
2022-06-26 01:34:05 -07:00
Alfonso Gamboa
7de1b43616
enable wifi drivers on upgrade
2022-06-24 19:11:30 -07:00
Scott Kilau
cb4871b06b
Merge branch 'master' into DetectAndAutoLoadEthernetDrivers
2022-06-24 20:38:33 -05:00
Alfonso Gamboa
13ebe9bc0c
update 8189fs module, disable power saving mode
2022-06-24 17:36:13 -07:00
Alfonso Gamboa
ec50893e19
fix upgrades from previous versions
2022-06-24 11:13:40 -07:00
Scott Kilau
983a8d39a6
Fix typos, (ie, missing $'s)
2022-06-24 11:12:41 -05:00
Scott Kilau
d0aae1aed7
Set default Ethernet value to false
2022-06-24 09:29:06 -05:00
Scott Kilau
c69c19621d
Create new AUTODETECT variable, so as to be very specific what will happen
2022-06-24 09:25:16 -05:00
Scott Kilau
c58ce37637
Merge branch 'master' into DetectAndAutoLoadEthernetDrivers
2022-06-24 09:22:26 -05:00
Alfonso Gamboa
1fa3b9a88f
enable drivers when variable is missing
2022-06-24 00:49:44 -07:00
Alfonso Gamboa
5858bd6e22
fix upgrade mode to prevent deleted wz_mini dir on failed upgrade
2022-06-23 23:46:47 -07:00
Alfonso Gamboa
a571a051bc
merge wifi branch:
2022-06-23 23:08:26 -07:00
Alfonso Gamboa
de38d87458
update bonding to work with usb_direct
2022-06-23 21:14:54 -07:00
Alfonso Gamboa
596e48fe10
add branch option to upgrade script
2022-06-23 10:07:24 -07:00
Alfonso Gamboa
660174301c
set default config new drivers on
2022-06-22 23:08:52 -07:00
Alfonso Gamboa
61c78d3c72
recompile kernels and corresponding modules, new wifi drivers, iptables conntrack crash fixeds
2022-06-22 22:47:52 -07:00
Alfonso Gamboa
2b74217bb5
add atbm603x driver option to wz_mini.conf
2022-06-22 08:08:16 -07:00
Scott Kilau
20d0995a04
Merge branch 'master' into DetectAndAutoLoadEthernetDrivers
2022-06-21 17:18:15 -05:00
Alfonso Gamboa
cf02d1aeb9
add additional file verification to upgrade-run.sh to prevent broken upgrades
2022-06-21 14:00:11 -07:00
Alfonso Gamboa
f5ed108c62
add dnsmasq
2022-06-21 13:22:41 -07:00
Scott Kilau
98cc19a228
Fix typo.
2022-06-21 09:21:15 -05:00
Scott Kilau
618018fc05
Allow for the user to override the auto-detect Ethernet code.
...
Also, update README for this change
2022-06-21 09:01:45 -05:00
Scott Kilau
0bd0c36401
Merge branch 'master' into DetectAndAutoLoadEthernetDrivers
2022-06-21 08:45:08 -05:00
Alfonso Gamboa
10a27ca01f
fix night drop early boot
2022-06-20 20:25:50 -07:00
Alfonso Gamboa
e3fc6d3f39
fix no rtsp video on old rtsp firmware
2022-06-20 20:25:45 -07:00
Alfonso Gamboa
a4ec416c67
v4l2rtspserver add -F0, don't modify FPS fed by camera
2022-06-20 20:25:38 -07:00