This Home Assistant integration retrieves ticket statistics from the TOPdesk API and displays them as sensors.
- Fetches statistics from the Call Management and Change Management modules
- Provides overall ticket counts per module
- Fetches the number of completed tickets
- Fetches the number of closed completed tickets
- Fetches the number of new tickets created today
- Supports multiple TOPdesk servers/instances
- A running instance of Home Assistant.
- API access to a TOPdesk server.
The API account used for this integration must have the correct permissions to read data from TOPdesk. It does not require write access.
- Username and application password for authentication.
- Copy the
custom_components/topdesk_statsfolder into your Home Assistantcustom_componentsdirectory. - Restart Home Assistant.
- Add the integration via the Home Assistant UI under Settings > Devices & Services > TOPdesk Statistics.
- Configure the integration with your TOPdesk API credentials.
- Host: Your TOPdesk instance URL (e.g.,
https://yourcompany.topdesk.net) - Username: The API username
- Application Password: The API application password
- Instance Name: A unique name for this integration instance
Once configured, the integration will provide the following sensors for each module:
Completed TicketsClosed Completed TicketsNew Tickets TodayTotal Tickets(overall count per module) Currently, only Call Management and Change Management are supported
- Ensure your TOPdesk API credentials are correct.
- Check that the API account has the necessary read permissions.
- Verify that your Home Assistant logs (
home-assistant.log) do not show authentication errors.
To enable debugging, add the following to your configuration.yaml:
logger:
default: warning
logs:
custom_components.topdesk_stats: debugThis integration is provided as-is, without any guarantees. Use it at your own risk. The developers are not responsible for any issues arising from its use.
Feel free to contribute via pull requests or open an issue for feature requests and bug reports.
For any questions, please create an issue on GitHub.