Skip to main content

JetKVM smart home integration, free and open source

JetKVM integration for Gladys Assistant

Monitor your JetKVM IP KVM on the local network: temperature, uptime, firmware, alerts.

Monitor your JetKVM IP KVMs from Gladys, on your local network: SoC temperature, uptime, free memory and storage, firmware versions, and — with the password — the JetKVM Cloud connection and the time synchronization. Gladys warns your scenes when a JetKVM goes offline, restarts or gets a firmware update.

Everything stays on your network: no account, no cloud. The integration reproduces the community Home Assistant integration HomeAssistant-JetKVM, and reads the same sources.

Prerequisites​

The JetKVM firmware has no public API. Like the Home Assistant integration, Gladys reads a small local API (port 8800) installed by the api-setup.sh script. Install it once on each JetKVM:

  1. In the JetKVM web interface, open Settings → Advanced, enable the Developer mode and paste your SSH public key.

  2. From a computer of your network, connect to the JetKVM and run the script:

    ssh root@<jetkvm-ip>
    wget --no-check-certificate -qO- https://raw.githubusercontent.com/Poshy163/HomeAssistant-JetKVM/main/api-setup.sh | sh
  3. Check that http://<jetkvm-ip>:8800/device_info answers in your browser.

The script survives reboots. To remove it later, run the same command followed by sh -s -- --uninstall instead of sh. Read the script before running it: it comes from a third-party project, not from JetKVM nor from Gladys.

Installation​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for JetKVM and click Install.
  3. Wait for the container to start: the integration shows up in the list.

Configuration​

Open the Configuration tab of the integration:

  • JetKVM addresses: the IP address or hostname of each JetKVM, separated by commas (192.168.1.50, jetkvm-office.local). Give your JetKVM a fixed address in your router if you can.
  • API port: the port of the api-setup.sh API, 8800 unless you changed it.
  • JetKVM password (optional): the password of the JetKVM web interface. It unlocks the JetKVM Cloud connection and time synchronization status (Prometheus metrics of the JetKVM). Without it, everything else works. It never leaves your network and never appears in the logs.
  • Refresh interval: how often each JetKVM is read, in seconds (one minute minimum).

Save, then click Test the connection: for each address, the integration says whether the JetKVM answers, with its name, version and temperature. The JetKVM devices then show up in the Discovery tab: add them.

Devices​

Each JetKVM becomes a Gladys device with these features:

FeatureUnitDetail
Temperature°CSoC temperature
UptimesTime since the last restart
Free memoryMBAvailable RAM
Free storageMBAvailable space on the root file system
App versiontextVersion of the JetKVM application
System versiontextVersion of the JetKVM system

The device card carries a badge: local when the JetKVM answers, unreachable otherwise, with an orange dot when the JetKVM refuses the password.

The video stream of the JetKVM (WebRTC) is not available in Gladys: use the JetKVM web interface for it.

Scenes and dashboards​

Scene triggers

  • JetKVM online or offline: a JetKVM stops answering, or answers again. Filter on the JetKVM and on the new status; the scene receives status (online or offline) and host.
  • JetKVM restarted: the uptime of a JetKVM went back to zero. The scene receives uptime_seconds.
  • JetKVM firmware updated: the app or system version changed. The scene receives app_version, previous_app_version, system_version and previous_system_version.

The triggers are evaluated at every refresh of the JetKVM (refresh interval of the configuration).

Scene action

  • Read a JetKVM: reads the chosen JetKVM now and gives the next actions online, temperature, uptime_seconds and app_version. An unreachable JetKVM is not an error: online is then false, test it in a condition.

Dashboard widget

  • JetKVM status: the connection, live temperature, memory and storage used, uptime, firmware versions, Ethernet link and — with the password — the JetKVM Cloud and time sync status of a JetKVM, with a Refresh button. Choose the JetKVM in the widget settings (the first one by default).

Troubleshooting​

  • "No JetKVM answers": check the address, that api-setup.sh is installed (http://<jetkvm-ip>:8800/device_info must answer) and that Gladys can reach the JetKVM network.
  • "Password refused": retype the password of the JetKVM web interface, or leave the field empty.
  • A JetKVM changed address: update the list of addresses; the device keeps its history (it is identified by its serial number, not its address).

Help​

A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.

Configuration settings​

These are the settings JetKVM asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Getting startedsectionNoThe JetKVM firmware has no public API: like the Home Assistant integration, Gladys reads the small local API that the api-setup.sh script installs on the JetKVM (port 8800). Enable SSH in the JetKVM settings, run the script once over SSH (see the documentation), then type the address of your JetKVM below.
JetKVM addressesstringYesIP address or hostname of each JetKVM, separated by commas.
API portnumberNoPort of the API installed by api-setup.sh (8800 unless you changed it).
JetKVM password (optional)secretNoPassword of the JetKVM web interface. Optional: it unlocks the JetKVM Cloud and time sync status.
Refresh interval (s)numberNoHow often each JetKVM is read, in seconds (one minute minimum).

How to install JetKVM in Gladys​

  1. In Gladys, open Integrations: JetKVM appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/prohand/gladys-jetkvm:1.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/prohand/gladys-jetkvm.

JetKVM requires Gladys >=5.1.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

JetKVM is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by prohand, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂