Commit Graph

208 Commits

Author SHA1 Message Date
archandanime
f4373856cc Support dufs fileserver 2024-02-24 00:12:56 -08:00
virmaior
f772b5b46f Update S10httpd 2024-02-24 00:11:24 -08:00
gtxaspec
88dd459d59 add build date on login, #688 2024-01-01 21:30:57 -08:00
Simon Sickle
c5f5cf125c Update go2rtc.yml 2023-12-31 00:44:15 -08:00
Simon Sickle
9aa61a537d Update go2rtc.yml 2023-12-31 00:37:58 -08:00
Simon Sickle
aa9ffa39f6 Add 360/1080 mjpeg streams for octoprint
Octoprint requires mjpeg streams still and the rtsp streams don't contain the mjpeg codec. To work around this, go2rtc can consume the jpeg URL from the localhost and rebroadcast the jpegs as a mjpeg stream.
2023-12-31 00:37:58 -08:00
virmaior
a9c102d3b8 Update S10httpd
remove erroneous link
2023-10-25 00:54:03 -07:00
virmaior
f99c1f2090 Update S10httpd
fix message not displaying when no config set
2023-10-25 00:53:19 -07:00
virmaior
348ddac0ca improve status.cgi and multicam tool (#627)
* add irled and night mode testing to status.cgi

* move multicam / update code to show night/day mode

* Create index.js

* Create index.css

* Update S10httpd to reflect move of multicam

* Update index.js

fix broken timer issue (would incorrectly calculate necessary update frequency).
2023-09-30 11:46:33 -07:00
gtxaspec
4719cb5634 fix duplicate S10httpd 2023-09-26 01:38:25 -07:00
virmaior
a91b20a959
make clearer why base page is not populating / add check recording (#624)
* add ability to check if last minute recorded to SD

* improve composition of web root

* add multicam to list of options in s10httpd

* make cgi-bin and sh functional / improve logic
2023-09-24 19:36:42 -07:00
gtxaspec
c4c10e65cd S17motor: add startup motor position. Thanks @Grntrenchman 2023-09-20 16:19:10 -07:00
gtxaspec
1a1cd03a64 rc.common: add sleep to wait_for_icamera function, fixes S18fps 2023-09-19 16:44:39 -07:00
gtxaspec
930cbe2e9d init: add S00config, validate and repair invalid line endings in wz_mini.conf 2023-09-19 15:58:48 -07:00
87435
f65b076aa2
Fixed message when wyze_config_backup exists (#592) 2023-09-17 19:44:37 -07:00
virmaior
d9c2c160b1
Update S10httpd (#614)
fix path error in pages
2023-09-17 19:43:45 -07:00
virmaior
a8b70cf19d
pull request to display go2rtc when it is active in the webserver (#606)
* improve index.html for wz_mini webserver

* shared top for dynamically generated base index

* base documentation for go2rtc in webserver

It seems like there should be more but I didn't immediately see any...
2023-09-13 22:30:43 -07:00
gtxaspec
76be5e7995 go2rtc: add further clarification to endpoint descriptions. README.md: move changelog to wiki. 2023-07-19 21:01:47 -07:00
Tom Bresson
efbf869c6a
Add Wyze Cam V2 Note to go2rtc.yml (#566)
Co-authored-by: gtxaspec <gtxent@gmail.com>
2023-07-19 20:57:08 -07:00
Alfonso Gamboa
9c88234f87 S03ethernet/wz_mini.conf: add USB_ETH_MAC_ADDR variable to config and init script 2023-07-19 17:07:37 -07:00
Alfonso Gamboa
2fabba2e38 go2rtc: update to master version, update alsa config to support dsnooper, add ca-bundle certificate to support tls 2023-07-19 15:12:00 -07:00
Alfonso Gamboa
5df2944af9 S11configbackup: change visibility to ON of the cloud config backup folder on sd card 2023-07-19 15:11:26 -07:00
Alfonso Gamboa
cde9a372fd ser2net: update init scripts and wz_mini.conf, socat is deprecated 2023-07-19 15:11:11 -07:00
Alfonso Gamboa
ac34e561cc usb_direct: fix netmon script when bonding is enabled 2023-07-19 15:10:58 -07:00
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
65d407f6d7 go2rtc.yml: update opus audio parameters 2023-07-13 20:05:36 -07:00
Alfonso Gamboa
4883506fcf go2rtc: set opus as default codec 2023-07-12 13:16:29 -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
d898fdc80d Update readme, config file with new variables 2023-07-11 19:02:18 -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
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
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
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
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
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
9973c5869d
Fixed configbackup init script not backing up files (#304)
* Fixed configbackup init script not backing up files

The /configs directory isn't mounted at this point in the boot process,
as a result this backup doesn't actually work and just copies an empty
directory every time.

* Tested on T20 and added missing /configs mount in backup script
2022-09-27 17:50:56 -07:00
Leo
b7c27c73bd
Run a NTP client at startup (#301)
* Added NTP service to startup

A NTP service script will run a NTP client on a custom NTP server
in order to synchronize the camera's clock. This may be useful in
cases where the camera has to use a local NTP server rather than
the one hard coded in iCamera.

To use this, simply set your desired NTP server in the `NTP_SERVER`
option in `wz_mini.conf`.

* Kill timesync if a custom NTP server is used

When using a custom NTP server, the timesync service with its
hard-coded NTP servers should not be running.
2022-09-27 17:50:21 -07:00
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
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