This is a custom integration for Home Assistant to monitor and control PiKVM devices.
Use the Home Assitant My link to add this repository to HACS.
https://github.com/adamoutler/pikvm-homeassistant-integration
and select "Integration" as the category.custom_components
folder from this repository.pikvm
folder into your Home Assistant custom_components
directory.admin
).admin
).Once the PiKVM integration is added and configured, you will have several sensors available in Home Assistant to monitor the status and health of your PiKVM device. These sensors will include CPU temperature, fan speed, MSD status, and more.
/config
folder.
git clone https://github.com/yourusername/pikvm-homeassistant /config/pikvm-homeassistant
A script is included to automatically link the repository to the correct directory for development. This script will run when you open the workspace.
Script: .vscode/scripts/link-repository.sh
#!/bin/sh
# Check if /config/custom_components directory exists
if [ ! -d /config/custom_components ]; then
echo "cannot find custom components directory"
exit 1
fi
# Check if /config/custom_components/pikvm folder already exists
if [ -d /config/custom_components/pikvm ]; then
echo "/config/custom_components/pikvm folder already exists"
exit 1
fi
# Unlink /config/custom_components/pikvm if it's a symbolic link
if [ -L /config/custom_components/pikvm ]; then
unlink /config/custom_components/pikvm
fi
# Check if custom_components directory exists in the current workspace
if [ ! -d custom_components ]; then
echo "this must be run from the root of the pikvm workspace"
exit 1
fi
# Create symbolic link
ln -s "$(pwd)/custom_components/pikvm" /config/custom_components/pikvm
echo "Linking Successful"
Contributions are welcome! Please fork this repository and open a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.