import shopping / calendar entries from sepia into nextcloud #159
royrogermcfreely
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Awesome! Thanks for this great contribution 🥇 😀 . |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
thats my first "tutorial". most of the stuff was copy&paste and try/error.
and its working for me. can be that you have to adapt it for your needs.
my sepia server runs on a proxmox debian vm
you will need a nextcloud app-id passwort if you use 2FA
prepare sepia vm:
you will need the following stuff:
i created a folder for my scripts "python_scripts"
create a new file and name it for example "importsepiatask.py" with the following code:
for the calendar entries i made a new file "importsepiacalendar.py" with this code:
i created a cronjob for each script to start the script every 10 minutes with:
so every 10 minutes the script looks if there are new alarms / shopping entries. get a array from them, import it to nextcloud and delete it in sepia.
i delete it in sepia because for the next time i dont have to search which entry is allready synct and which not.
to ask sepia for the next events / shopping entries, i will make another thread cause i need HomeAssistant for that but im pretty sure you can use OpenHab or FHEM too.
Beta Was this translation helpful? Give feedback.
All reactions