forked from sibbl/hass-lovelace-kindle-screensaver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
59 lines (59 loc) · 1.51 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Lovelace Screenshotter
version: 1.0.1
slug: kindle-screensaver
description: Tool to take screenshot of a Lovelace View and export it as a jpg image
startup: application
boot: auto
arch:
- aarch64
- amd64
# - - See github/ci.yml
url: 'https://github.com/Comiter/hass-lovelace-screenshotter'
image: 'comiter/hass-lovelace-screenshotter-ha-addon-{arch}'
webui: 'http://[HOST]:[PORT:5000]'
ingress: true
ingress_port: 5000
ports:
5000/tcp: 5000
ports_description:
5000/tcp: 'Node Webserver hosting rendered image'
map:
- media:rw
watchdog: 'http://[HOST]:[PORT:5000]/'
init: false
options:
HA_BASE_URL: 'https://your-path-to-home-assistant:8123'
HA_SCREENSHOT_URL: '/lovelace/0'
HA_ACCESS_TOKEN: ''
LANGUAGE: 'en'
CRON_JOB: '* * * * *'
RENDERING_TIMEOUT: '60000'
RENDERING_DELAY: '0'
RENDERING_SCREEN_HEIGHT: '800'
RENDERING_SCREEN_WIDTH: '600'
BROWSER_LAUNCH_TIMEOUT: '30000'
ROTATION: '0'
SCALING: '1'
GRAYSCALE_DEPTH: '8'
COLOR_MODE: 'GrayScale'
PREFERS_COLOR_SCHEME: 'light'
HA_BATTERY_WEBHOOK: ''
schema:
HA_BASE_URL: "url"
HA_SCREENSHOT_URL: "str"
HA_ACCESS_TOKEN: "password"
LANGUAGE: "str"
CRON_JOB: "str"
RENDERING_TIMEOUT: "int"
RENDERING_DELAY: "int"
RENDERING_SCREEN_HEIGHT: "int"
RENDERING_SCREEN_WIDTH: "int"
BROWSER_LAUNCH_TIMEOUT: "int"
ROTATION: "int"
SCALING: "int"
GRAYSCALE_DEPTH: "int"
COLOR_MODE: "list(GrayScale|TrueColor)?"
PREFERS_COLOR_SCHEME: "list(light|dark)?"
HA_BATTERY_WEBHOOK: "str"
environment:
output_path: "/output/cover.jpg"