This Home Assistant integration allows you to sync tasks from your Vikunja instance to Home Assistant. You can view and manage tasks as entities and sensors within the Home Assistant UI.
- Fetch tasks from Vikunja and display them as entities in Home Assistant
- Supports viewing and completing tasks. (more to come)
- Easy integration with Home Assistant UI for task management
- Open HACS. Click the ... in the top right and "Custom Repositories"
- Add the link to this repository and select "Integration" from the dropdown.
- Then install Vikunja integration.
- Open Home Assistant and go to Settings > Integrations.
- Click the + icon in the bottom right corner to add an integration.
- Search for Vikunja in the list and select it.
- Follow the prompts to complete the installation.
- Download the integration repository from GitHub.
- Place the
custom_components/vikunjafolder inside thecustom_components/directory in your Home Assistant configuration folder.- The folder structure should look like this:
homeassistant/ └── custom_components/ └── vikunja/
- The folder structure should look like this:
- Restart Home Assistant.
Once the integration is installed, you need to provide your Vikunja instance's URL and API key.
- Go to your Vikunja instance at https://vikunja.io/ or your self-hosted Vikunja.
- Log in to your account.
- Navigate to the API Keys section in your Vikunja user settings.
- Create a new API key. Giving some subset of access:
- An expiration you'd prefer. I set mine to 10 years.
- Projects (the integration fetches projects first, then tasks for projects)
- Read All
- Read One
- Tasks
- Create (optional if you want to create more via Todo)
- Delete (optional if you want to delete via Todo)
- Read All (required)
- Read One (required)
- Update (required)
- Copy the generated API key.
This integration can be setup from the UI, so simply go to "Devices" -> "Add integration" and search for Vikunja.
The API key needs permission to read and update tasks. This allows Home Assistant to fetch and update task data. Ensure that the key has sufficient privileges for accessing the task-related endpoints.
These are the permissions I have that work:
After successfully setting up the integration, Vikunja tasks will automatically appear as sensors and entities in Home Assistant. You can view their status, modify task attributes, and automate based on task data.
You will also find that each "Project" in Vikunja has created a Todo List in HA.
And you can Create/Update/Complete tasks from the Todo section

Note I am considering committing this to become a core home assistant integration but using HACS as a quicker to market solution.
If you'd like to contribute to this project, feel free to submit a pull request.








