go-vikunja/vikunja

Feature Request: Home Assistant To-do List Integration

bepstein111 opened this issue · 16 comments

Home Assistant just released a new update which included the addition of to-do lists into Home Assistant. The only way Vikunja could make my life more convenient is by having an integration for Home Assistant so I can display my Vikunja tasks with the rest of my home dashboard. Thanks for all you do!

Is this related to the mobile app?

Is this related to the mobile app?

I guess it could be? Depending how it's implemented? But no, sorry, that's my bad I didn't realize this repo was the mobile app, it has a pretty generic name, easy mistake I think. Where do you think it would belong better?

I've moved it now to the api, probably fits better here but unsure still. I'd say it's definitely not app-related though.


Do you have any information on how To-Do lists work in Home Assistant? Should this be a sync-feature from Home Assistant's to-do list to Vikunja, or should it be more like a widget with an embed of Vikunja?

Personally once I have time I'll check out to-do lists in HA and it might be exactly what I need for smaller recurrent tasks. Then would use Vikunja for big projects.

pinpox commented

Isn't this something to be implemented on HA's side? Home-assistant has integrations for about everything upon earth, I guess there could be a vikunja integration doing what you want?

Like you said, they've got so many things already integrated. Anything you're asking on their forums or Github gets buried down quickly. I feel like the best place to speak about this is here.

+1, but its not an Feature Request for this project. It should be done as @pinpox said already. It has to be an integration.

If someone wants collab. I would sacrifice myself to create one.
Not a big deal, a bit hass framework, css and some rest calls.
But I'm a noob in css.

Nevermind, I'll start right now.

pinpox commented

Nevermind, I'll start right now.

Not sure how much time I'll find right now to help develop, but let me know if I can help with testing

So, quick status. I managed to access vikunja through an hass adapter. I already get projects and their tasks. But I found out, that Python is completely different than Java or GoLang

Update again. The Integration seems working. I will do a few tests then I will release it below:

https://github.com/craftoncu/hacs-vikunja-integration

image

That's some great news, thank you so much for taking the time in developing this extension. I'll try it and report back to you once it's on your Github.

No worries!
I uploaded the code into GitHub.

https://github.com/Craftoncu/hacs-vikunja-integration

But there is still one issue, you're currently not able to mark a task as done. There is some home -assistant logic which I don't understand right now. And I literally never worked that much with python.

Maybe one of you finds this issue. I will fix the lint errors and push the changes in a few minutes.