Shantur Rathore c644a9f6e1
Implement servo angles (#58)
/etc/kvmd/override.yaml
```
kvmd:
    gpio:
        drivers:
            servo1:
                type: servo
                chip: 0                  # PWM Chip Number
                period: 20000000         # Servo Motor SG90 Period in nano-seconds
                duty_cycle_min: 350000   # Servo Motor SG90 duty_cycle for -90 degrees
                duty_cycle_max: 2350000  # Servo Motor SG90 duty_cycle for +90 degrees
                angle_max: 90            # Servo Motor SG90 angle at duty_cycle_max
                angle_min: -90           # Servo Motor SG90 angle at duty_cycle_min
                angle_push: 45           # Servo Motor SG90 angle to push button
                angle_release: 20        # Servo Motor SG90 angle to release button
        scheme:
            short_press:
                driver: servo1
                pin: 0                       # Pin number is the PWM channel number on the PWM Chip
                mode: output
                switch: false
                pulse:
                    delay: 0.5
                    max_delay: 2
            long_press:
                driver: servo1
                pin: 0                       # Pin number is the PWM channel number on the PWM Chip
                mode: output
                switch: false
                pulse:
                    delay: 2
                    max_delay: 2
            extra_long_press:
                driver: servo1
                pin: 0                       # Pin number is the PWM channel number on the PWM Chip
                mode: output
                switch: false
                pulse:
                    delay: 10
                    max_delay: 20
        view:
            header:
                title: Controls
            table:
                - ["#Servo - Short Press", "short_press|Press"]
                - ["#Servo - Long Press", "long_press|Press"]
                - ["#Servo - Extra Long Press", "extra_long_press|Press"]
```
2021-08-15 10:15:53 +03:00
2020-10-17 02:21:39 +03:00
2021-06-17 18:40:53 +03:00
2021-07-23 11:28:53 +03:00
2021-08-15 10:15:53 +03:00
2021-08-14 02:01:37 +03:00
2021-08-14 00:30:41 +03:00
2021-08-11 17:11:28 +03:00
2021-07-27 04:16:53 +03:00
2021-07-25 04:22:27 +03:00
2021-01-07 10:33:02 +03:00
2021-07-03 09:58:09 +03:00
2021-08-02 23:10:46 +03:00
2018-09-26 02:57:24 +03:00
2021-07-16 19:39:11 +03:00
2020-05-11 06:25:54 +03:00
2021-08-11 17:11:28 +03:00

KVMD

CI Discord

This repository contains the configuration and code of KVMD, the main PI-KVM daemon. If your request does not relate directly to this codebase, please send it to issues of the Pi-KVM repository.

Description
One-KVM 是基于廉价计算机硬件和 PiKVM 软件二次开发的 BIOS 级远程控制项目。
Readme GPL-3.0 29 MiB
Languages
Python 54.1%
JavaScript 20.6%
Shell 5.7%
HTML 5.4%
C 4.5%
Other 9.6%