first commit
This commit is contained in:
23
dash/src/local/env.sh
Normal file
23
dash/src/local/env.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# Export environment variables here
|
||||
export WIFI_TEST_IP=${WIFI_TEST_IP:-1.1.1.1}
|
||||
# 测试配置:全天每分钟刷新一次,便于验证图片拉取与屏幕刷新是否正常。
|
||||
export REFRESH_SCHEDULE=${REFRESH_SCHEDULE:-"* * * * *"}
|
||||
export TIMEZONE=${TIMEZONE:-"Asia/Shanghai"}
|
||||
|
||||
# By default, partial screen updates are used to update the screen,
|
||||
# to prevent the screen from flashing. After a few partial updates,
|
||||
# the screen will start to look a bit distorted (due to e-ink ghosting).
|
||||
# 测试阶段强制每次都做一次全刷,避免首页残影和局部刷新的旧内容干扰验证。
|
||||
# 等图片尺寸与刷新逻辑确认无误后,再改回 4 之类的值以节省功耗。
|
||||
export FULL_DISPLAY_REFRESH_RATE=${FULL_DISPLAY_REFRESH_RATE:-0}
|
||||
|
||||
# When the time until the next wakeup is greater or equal to this number,
|
||||
# the dashboard will not be refreshed anymore, but instead show a
|
||||
# 'kindle is sleeping' screen. This can be useful if your schedule only runs
|
||||
# during the day, for example.
|
||||
export SLEEP_SCREEN_INTERVAL=3600
|
||||
|
||||
export LOW_BATTERY_REPORTING=${LOW_BATTERY_REPORTING:-false}
|
||||
export LOW_BATTERY_THRESHOLD_PERCENT=10
|
||||
Reference in New Issue
Block a user