v2.10.0
What's Changed in v2.10.0
WebUI Authentication
Simplify default credentials for the WebUI:
- This will not affect users who are setting their own
WB_PASSWORD
andWB_API
. - Default
WB_PASSWORD
will now be derived from the username part of the Wyze email address instead of using a randomly generated password.- Example: For the email address
[email protected]
, theWB_PASSWORD
will bejohn123
.
- Example: For the email address
- Default
WB_API
will be based on the wyze account for persistance.
Stream Authentication
NEW: STREAM_AUTH
option to specify multiple users and paths:
- Username and password should be separated by a
:
- An additional
:
can be used to specify the allowed IP address for the user.- This does NOT work with docker desktop
- Specify multiple IPs using a comma
- Use the
@
to specify paths accessible to the user.- Paths are optional for each user.
- Multiple paths can be specified by using a comma. If none are provided, the user will have access to all paths/streams
- Multiple users can be specified by using
|
as a separator
EXAMPLE:
STREAM_AUTH=user:pass@cam-1,other-cam|second-user:password@just-one-cam|user3:pass
user:pass
has access tocam-1
andother-cam
second-user:password
has access tojust-one-cam
user3:pass
has access to all paths/cameras
See Wiki for more information and examples.
Recording via MediaMTX
Recoding streams has been updated to use MediaMTX with the option to delete older clips.
Use RECORD_ALL
or RECORD_CAM_NAME
to enable recording.
RECORD_PATH
Available variables are%path
or{cam_name}
,%Y
%m
%d
%H
%M
%S
%f
%s
(time in strftime format).RECORD_LENGTH
Length of each clip. Uses
for seconds ,h
for hours. Defaults to60s
RECORD_KEEP
Delete older clips. Uses
for seconds ,h
for hours. Set to 0s to disable automatic deletion. Defaults to0s