Pterodactyl
Pterodactyl
The Pterodactyl integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] allows you to monitor your game servers of your Pterodactyl server within Home Assistant.
Prerequisites
To access your Pterodactyl server, an account API key is required. Follow these steps to create a new one:
- Access your Pterodactyl Panel and log in with your user account.
- From the main dashboard, click your username or profile icon in the top-right corner, then select API Credentials.
- Enter a Description to identify the key (for example, “Home Assistant”).
- Optionally, specify Allowed IPs to restrict where the key can be used (leave blank to allow all IPs).
- Click Create. The panel will generate and display your new account API key.
- Copy the account API key immediately and store it securely. You won’t be able to view it again after leaving the page.
Pterodactyl has two different types of API keys: Account and Application. Application API keys are not supported, an account API key as described above is required instead.
Configuration
To add the Pterodactyl integration to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select Pterodactyl.
-
Follow the instructions on screen to complete the setup.
During setup, you will be prompted to enter the URL and the account API key of the server.
Binary sensors
This integration provides a binary sensor with the following information for each game server of your Pterodactyl server:
- Status:
Running
orNot running
Removing the integration
This integration follows standard integration removal. No extra steps are required.
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- From the list of devices, select the integration instance you want to remove.
- Next to the entry, select the three-dot
menu. Then, select Delete.