PiKVM Integration for Home Assistant
I’m excited to announce a new custom integration for Home Assistant: PiKVM Integration! This integration allows you to monitor your PiKVM devices seamlessly from within Home Assistant. This integration brings powerful monitoring capabilities right to your Home Assistant dashboard.
Key Features:
- CPU Temperature Monitoring: Keep an eye on your PiKVM’s CPU temperature.
- Fan Speed Tracking: Monitor the fan speed to ensure optimal cooling.
- Device Throttling Status: Check if your PiKVM is being throttled due to overheating or power issues.
- MSD Status and Storage Monitoring: Track the status and storage of your Mass Storage Device.
- Service Monitoring: Keep tabs on additional PiKVM services like IPMI, Janus, VNC, and Webterm.
Installation:
Automagic Installation via HACS:
Due to a current issue with HACS hitting some rate limit and no longer accepting contributions, you must manually add this repository to use it with HACS.
Use the Home Assistant My link to add this repository to HACS.
Manual Installation:
- Download the
custom_components
folder from the GitHub repository. - Copy the
pikvm
folder into your Home Assistantcustom_components
directory. - Restart Home Assistant.
Configuration:
Both DHCP and Standard data entry config flows are available. DHCP will automatically detect your device and either add it, or request additional information.
Configuration via Standard Config Flow
- Go to Configuration > Integrations in Home Assistant.
- Click on the “+ Add Integration” button.
- Search for “PiKVM” and follow the setup instructions.
Automatic configuration via DHCP
- Reboot PiKVM or re-plug the PiKVM ethernet cable.
- Wait 15s and check Settings>Devices for any additional steps.
Troubleshooting:
- Ensure your PiKVM device is accessible from your Home Assistant instance.
- Double-check that you have provided the correct URL, username, and password.
- Review Home Assistant logs for any error messages related to the PiKVM integration.
Contributing:
Contributions are welcome! Fork the GitHub repository and open a pull request with your improvements.
To contribute your own changes, it’s super easy to get started.
- Clone the Repository: Clone the repository to your Home Assistant
/config
directory.
cd /config;
git clone https://github.com/adamoutler/pikvm-homeassistant-integration;
- Open with VSCode: Use Visual Studio Code with SSH to open the repository workspace in
/config/pikvm-homeassistant-integration/.vscode/
.
Note: this works best in Home Assistant OS with Advanced SSH Addon.
3 Use the IDE: Assistive scripts are built into the repository so you can just F1->Tasks->Link the code, and then F1->Tasks->Restart home assistant.
Join the Discussion:
I’m looking forward to your feedback and seeing how you utilize this integration. Feel free to share your automations, ask questions, or suggest features.