Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: caldav compatibility #7

Open
klundry opened this issue Apr 1, 2020 · 7 comments
Open

Feature Request: caldav compatibility #7

klundry opened this issue Apr 1, 2020 · 7 comments

Comments

@klundry
Copy link

klundry commented Apr 1, 2020

Would it be difficult to make this skill usable with a caldav account I purposefully avoid google services and use my Nextcloud server for my contact and calendar sync instead. It would be great to be able to use a caldav account.

@forslund
Copy link
Owner

forslund commented Apr 1, 2020

With a layer of abstraction it could work. I know very little of caldav but there seem to be a python module available for it (https://pythonhosted.org/caldav/)

Can you recommend a good starting point if I want to setup a caldav calendar for trying it out?

@klundry
Copy link
Author

klundry commented Apr 1, 2020

If you have access to a Nextcloud instance you can just use that. Otherwise radicale is good and looks like its super easy to setup. https://radicale.org/2.1.html

@klundry
Copy link
Author

klundry commented Apr 1, 2020

Also, I am willing to help test if you would like. I already use caldav calendars.

@forslund
Copy link
Owner

forslund commented Apr 2, 2020

I'll experiment a bit with radiacle this weekend and see how far I'll get. Will update here when / if I get a branch ready for test

@forslund
Copy link
Owner

forslund commented Apr 6, 2020

Short update didn't get as much time as I wanted this weekend but tonight I have at least refactored the code to allow for adding caldav support. Hopefully I get some more free time one of these evenings to make that part working as well.

@forslund
Copy link
Owner

I've pushed a branch called feature/caldav, I've basically just barely got it up and fetching events. So there is still lots of work to be done but what's next on my calendar should return something.

If you check out the branch you will need to install the requirements.txt manually int o the mycroft-venv: mycroft-pip install -r /opt/mycroft/skills/gcalendar_skill.forslund/requirements.txt (I think)

@forslund
Copy link
Owner

I'll continue working on this but on the Mycroft-chat I learned that there exists a calendar skill already with caldav support if you wish to try it out: https://github.com/LinusS1/calendar-skill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants