go-vikunja / vikunja

Mirror of vikunja from https://code.vikunja.io/api
GNU Affero General Public License v3.0
773 stars 56 forks source link

Feature Request: Home Assistant To-do List Integration #94

Open bepstein111 opened 8 months ago

bepstein111 commented 8 months ago

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!

kolaente commented 8 months ago

Is this related to the mobile app?

gravelfreeman commented 8 months ago

+1

bepstein111 commented 8 months ago

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?

kolaente commented 8 months ago

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?

gravelfreeman commented 8 months ago

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 6 months ago

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?

gravelfreeman commented 6 months ago

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.

Craftoncu commented 5 months ago

+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.

Craftoncu commented 5 months ago

Nevermind, I'll start right now.

pinpox commented 5 months ago

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

Craftoncu commented 5 months ago

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

Craftoncu commented 5 months ago

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

gravelfreeman commented 5 months ago

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.

Craftoncu commented 5 months ago

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.