API or CLI to control a connected device?

First, i’m very happy with the RM1. I got it up and running very quickly for my specific use-case - my PC needs F1 to continue booting and I wanted a way to to press it remotely. So problem solved for now.

However, I’d like to be able to automate this but I couldn’t find any kind of API or command line tool. Is one available?

curl --location --request POST 'https://glkvm//api/hid/events/send_key?key=F1'

You still need to resolve the authentication issue, whether using cookies or headers.

That’s exactly what I need. Thanks for the quick response. Is the API documented somewhere?

HTTP API reference - PiKVM Handbook

Thank you again!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.