/web_kvm

REST service controller for the rack mountable TESmart 8-port HDMI enterprise-grade KVM switch (TES-HKS0801A1U-USBK)

Primary LanguageRustApache License 2.0Apache-2.0

web_kvm

REST service controller for the rack mountable TESmart 8port HDMI enterprise grade KVM (TES-HKS0801A1U-USBK)

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install --git https://github.com/gwihlidal/web_kvm --branch main
RUST_LOG=info web_kvm
curl -X GET http://localhost:5577/health

curl -X GET http://localhost:5577/current

curl -X POST http://localhost:5577/switch/1
curl -X POST http://localhost:5577/switch/2
curl -X POST http://localhost:5577/switch/3
curl -X POST http://localhost:5577/switch/4
curl -X POST http://localhost:5577/switch/5
curl -X POST http://localhost:5577/switch/6
curl -X POST http://localhost:5577/switch/7
curl -X POST http://localhost:5577/switch/8

curl -X POST http://localhost:5577/beeping_mode/0
curl -X POST http://localhost:5577/beeping_mode/1

curl -X POST http://localhost:5577/detect_mode/0
curl -X POST http://localhost:5577/detect_mode/1

curl -X POST http://localhost:5577/led_mode/0
curl -X POST http://localhost:5577/led_mode/1
curl -X POST http://localhost:5577/led_mode/2