diff options
author | Devaev Maxim <[email protected]> | 2018-06-27 18:25:59 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-06-27 18:25:59 +0300 |
commit | 4c145f363f33222b948df981d8c936844f2b17dc (patch) | |
tree | 7932ea4f2af537caed6b8cbc9750db05fe14e72b /kvmd/kvmd.yaml |
initial commit
Diffstat (limited to 'kvmd/kvmd.yaml')
-rw-r--r-- | kvmd/kvmd.yaml | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/kvmd/kvmd.yaml b/kvmd/kvmd.yaml new file mode 100644 index 00000000..5a534a3a --- /dev/null +++ b/kvmd/kvmd.yaml @@ -0,0 +1,64 @@ +kvmd: + server: + host: localhost + port: 8081 + ws: + heartbeat: 3.0 + + keyboard: + pinout: + clock: 17 + data: 4 + delay: 0.0002 + + atx: + leds: + pinout: + power: 16 + hdd: 12 + poll: 0.1 + + switches: + pinout: + power: 26 + reset: 20 + click_delay: 0.1 + long_click_delay: 5.5 + + video: + pinout: + cap: 21 + vga: 25 + sync_delay: 1.0 + + mjpg_streamer: + prog: /usr/bin/mjpg_streamer + device: /dev/video0 + width: 720 + height: 576 + every: 2 + host: localhost + port: 8082 + +logging: + version: 1 + disable_existing_loggers: false + + formatters: + console: + (): contextlog.SmartFormatter + style: "{" + datefmt: "%H:%M:%S" + format: "[{asctime}] {app:10.10} {fg_bold_purple}{name:20.20} {log_color}{levelname:>7}{reset} {message} -- {cyan}{_extra}{reset}" + + handlers: + console: + level: DEBUG + class: logging.StreamHandler + stream: ext://sys.stdout + formatter: console + + root: + level: INFO + handlers: + - console |