Iām struggling to get this up and running on a Google calendar. Iāve followed most instructions with no problem(I think).
The step Iām unsure about is where you store the .json file on Ha, I had no folder named āshareā. So I created 1 in the config directory and used that, I also copied the file to the config directory. These 2 options donāt appear to work, any pointers greatly appreciated
The easiest way would be to use the official Samba addon (install from addon-store in HA), this should expose the /share folder as a network folder. Just copy the file into the shared folder then.
I personally use ssh to connect to my HA install, the folder then shows up here in my case (supervised install on debian):
That could do the trick, changed it to de but will try out some. Thanks for your answer
Edit: Still persisting - and is probably something with the icloud integration. its not for every event true, and for those events the endDate is correct and also start_day is correct and for recurring events start & endDate are correct - i dont get the point, sorry for bothering you with this. I
This probably happens because you have not yet shared your calendar with the service-account.
Give acces to the service-account client_email (it can be found inside the json file if you donĀ“t remember) here in the calendar settings (screenshot shows dutch language, but youāll be able to deduce I guess):
Could very well be an issue with my code as well, I only have my own data to test against of course. Are you familiar with how to install an addon locally? I could then give you a version of the code that will log the data to the console.
im sorry i never did this bevor, but if you have a website with a how-to i will try to get it working.Perhaps a easy fix would be to change the format of āstart_monthā to a more generic ā02ā instead of āFeb.ā, with that i could imagine to build a sensor for the sensor:D
But instead of creating a new hello_world folder in your local /addons folder you need to copy the files of my addon there. Easiest is to download my repo as a zipfile from github, then unpack the hass-addon-calendar folder to your local /addons folder.
Now delete index.js and rename indexWithExtraLogging.js to index.js.
Then follow step 2 of the tutorial. You donāt need the next steps or the other info pages.
To eliminate confusion uninstall the addon that you installed previously via my repository.
Now upon running the locally installed add-on the logs should show the raw data of your calendar. If the information there is too private you can send it to me via a direct message.
I have no nextcloud install to test against so I hope you can debug yourself what is going wrong.
The log you posted seems to indicate you didnāt wait long enough for the addon to query and post your caldavprovider. As explained in the docs it queries only every 30 minutes, so you might have to wait up to 30 minutes.
As for the password: in yaml the ā ā is not needed normally, though it could be that including them is accepted as well.
You could also try to follow the advice I gave Flipso about installing the addon locally with extra logging.
Earlier before updating the add-on I strangely had data in the sensorā¦after not ā¦ well I downgraded and will wait tomorrow if it fills up with my data again
Hey there, sorry for my slow replay here - will come to this at the weekend and will try to get everything to logging and send it to you then. thanks for all you effort here=)
It may help to delete the json file with backup of your calendar when you change the configuration. I still need to improve the code when it comes to dealing with changed config. You can find that file here in the HA filesystem: