Skip to content

Commit

Permalink
WebUI Auth related config for HA
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed May 12, 2024
1 parent 97a62a6 commit fc94e6f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
4 changes: 4 additions & 0 deletions home_assistant/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ panel_icon: mdi:bridge
options:
ENABLE_AUDIO: true
ON_DEMAND: true
WB_AUTH: true
MOTION_API: true
MQTT_DTOPIC: homeassistant
CAM_OPTIONS: []
Expand Down Expand Up @@ -126,3 +127,6 @@ schema:
WB_RTMP_URL: str?
WB_RTSP_URL: str?
WB_WEBRTC_URL: str?
WB_AUTH: bool?
WB_USERNAME: str?
WB_PASSWORD: str?
4 changes: 4 additions & 0 deletions home_assistant/dev/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ panel_icon: mdi:bridge
options:
ENABLE_AUDIO: true
ON_DEMAND: true
WB_AUTH: true
MOTION_API: true
MQTT_DTOPIC: homeassistant
CAM_OPTIONS: []
Expand Down Expand Up @@ -125,3 +126,6 @@ schema:
WB_RTMP_URL: str?
WB_RTSP_URL: str?
WB_WEBRTC_URL: str?
WB_AUTH: bool?
WB_USERNAME: str?
WB_PASSWORD: str?
11 changes: 9 additions & 2 deletions home_assistant/dev/translations/en.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
configuration:
API_ID:
name: Key ID
description: Now required. Can be obtained from the wyze developer portal.
description: Optional, but must be used in combination with the API Key.
API_KEY:
name: API Key
description: Now required. Can be obtained from the wyze developer portal.
description: Optional, but must be used in combination with the Key ID.
REFRESH_TOKEN:
name: Refresh Token
description: Use existing refresh token for authentication.
Expand Down Expand Up @@ -94,3 +94,10 @@ configuration:
TOTP_KEY:
name: TOTP Key
description: Used to auto generate a TOTP code when needed.
WB_AUTH:
name: WebUI Auth
description: Enable authentication for WebUI
WB_USERNAME:
name: WebUI Username
WB_PASSWORD:
name: WebUI Password
7 changes: 7 additions & 0 deletions home_assistant/translations/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,10 @@ configuration:
TOTP_KEY:
name: TOTP Key
description: Used to auto generate a TOTP code when needed.
WB_AUTH:
name: WebUI Auth
description: Enable authentication for WebUI
WB_USERNAME:
name: WebUI Username
WB_PASSWORD:
name: WebUI Password

0 comments on commit fc94e6f

Please sign in to comment.