Skip to content

Commit a0f535b

Browse files
committed
Remove screen width and height options and add prefers_reduced_motion
1 parent 86c390b commit a0f535b

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

hassio/remote_webview_server/config.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "Remote WebView Server"
2-
version: "1.1.1"
2+
version: "1.1.2"
33
slug: "remote_webview_server"
44
description: "Streams your HA dashboard or any website to ESP32-based displays as tiles via WebSocket."
55
url: "https://github.com/strange-v/RemoteWebViewServer/tree/main/hassio/remote_webview_server"
@@ -22,8 +22,6 @@ map:
2222
read_only: false
2323

2424
options:
25-
screen_w: 480
26-
screen_h: 480
2725
tile_size: 32
2826
full_frame_tile_count: 4
2927
full_frame_area_threshold: 0.5
@@ -37,11 +35,10 @@ options:
3735
expose_debug_proxy: false
3836
debug_proxy_port: 9222
3937
health_port: 18080
38+
prefers_reduced_motion: false
4039
user_data_dir: "/pw-data"
4140

4241
schema:
43-
screen_w: int
44-
screen_h: int
4542
tile_size: int
4643
full_frame_tile_count: int
4744
full_frame_area_threshold: float
@@ -55,4 +52,5 @@ schema:
5552
expose_debug_proxy: bool
5653
debug_proxy_port: int
5754
health_port: int
55+
prefers_reduced_motion: bool
5856
user_data_dir: str

hassio/remote_webview_server/run.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ get_opt() {
1212
fi
1313
}
1414

15-
export SCREEN_W="$(get_opt screen_w 480)"
16-
export SCREEN_H="$(get_opt screen_h 480)"
1715
export TILE_SIZE="$(get_opt tile_size 32)"
1816
export FULL_FRAME_TILE_COUNT="$(get_opt full_frame_tile_count 4)"
1917
export FULL_FRAME_AREA_THRESHOLD="$(get_opt full_frame_area_threshold 0.5)"
@@ -25,6 +23,7 @@ export MAX_BYTES_PER_MESSAGE="$(get_opt max_bytes_per_message 14336)"
2523
export WS_PORT="$(get_opt ws_port 8081)"
2624
export DEBUG_PORT="$(get_opt debug_port 9221)"
2725
export HEALTH_PORT="$(get_opt health_port 18080)"
26+
export PREFERS_REDUCED_MOTION="$(get_opt prefers_reduced_motion false)"
2827

2928
USER_DATA_DIR_OPT="$(get_opt user_data_dir "/pw-data")"
3029
if [ "$USER_DATA_DIR_OPT" = "/pw-data" ]; then

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "remotewebviewserver",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"type": "module",
55
"scripts": {
66
"dev": "tsx src/index.ts",

0 commit comments

Comments
 (0)