Open spoelstraethan opened 11 months ago
Would love to see support for KVMs.
I was able find sort of a workaround by sending a command via the internal: System: Run shell path (local) The command: echo '0xAA0xBB0x030x010x010xEE' | xxd -r -p | nc xxx.xxx.x.xxx 5000
'0xAA0xBB0x030x010x010xEE' = input 1 '0xAA0xBB0x030x010x020xEE' = input 2 '0xAA0xBB0x030x010x030xEE' = input 3 and so on...
I learned later to just use the tesmart/tesla smart KVM module instead of this one. It is purpose built for them and works great.
It does actually support 16 port models even though it only says 8.
https://github.com/bitfocus/companion-module-tesla-smart/blob/master/index.js#L123
They would have 1x output and 1-16x inputs, but would hopefully follow a similar "API" to the matrix switches, accepting binary packets to perform configuration changes.
As a workaround I was able to control my KVM via the HTTP module by using another software that implemented a REST API and has a GPIO module for talking to the KVM via IP or USB/serial (the binary config blobs are essentially the same, just the transport medium is different I think) but it would be great to do it all right from Companion or a Satellite, as anything with a network/direct connection to the KVM should get notified of changes. If for some reason it isn't possible to actually have multiple devices "attached" that way via the network, I would hope that a way to have a single instance connect and then proxy other additional requests might work, but that is beyond the scope of this request.