I want to control my fritz 301 with the calendar but i donât know how.
The workaround shows a way how, but the configuration-section isnât very detailed and I donât understand what I have to do
Has someone an example or config-files which I can use?
Can someone help me, to figure this out?
Yes, I followed the steps from the description.
I get no errors from the openhab logs.
And yes I use a separate calendar, but I wrote this in the gcal.cfg.
I think this is working, but I donât know, how I must configure the calendar in Openhab.
If you got the Google API credentials and put them in gcal.cfg, then all you should need to do is to create new calendar entries for the things you want to perform on a schedule.
For example, letâs say you have a light whose item name is MyLight. And, you want to turn on that light at 10:00 and turn it off at 13:00 every day. You would create a calendar entry that looks like this.
I 'm trying to use GCAL scheduler .
I have the API configured , Google Calendar Scheduler is running ver : misc-gcal1 - 1.14.0
OPenhab is running 2.5.0
the send command is capture in the event log (see snapshot) :
I have tried to implement this on multiple OH installation 2.5.2 and 2.5.10. I cannot get either to authenticate enough to even get the device authorization code. See figure 2
The Figure 1 below is from a test installation of OH 2.5.10, I use to perform test installations of bindings ,etc. before installation on my live system.
Few observations:
Configuration directions state to use the application type of âotherâ I donât have that option in my personal API Manager or in my business G-Suite API manger either. Outside of Googleâs every changing menus, all other directions were close enough to follow. I used âweb applicationâ for the project OauthClient
gcal_oauth2_token is found in c:\openhab-2.5.10\userdata\gcal
I have placed my client_id & client_secret as well as my calendar into the gcal.cfg files in c:\openhab-2.5.10\conf\services\
GCAL bundle is version: org.openhab.io.gcal v1.14.0
Okay⊠I was able to get gcal working this morning.
Login to your Google API Manager.
From the project drop-down, select an existing project or create a new one by selecting Create project.
In the sidebar under âAPI Managerâ, select Credentials, then select the OAuth consent screen tab.
Choose an Email Address, specify a Product Name, and press Save.
**Click on Libraries and add Google Calendar API
In the Credentials tab, select the Create credentials drop-down list, and select Help Me choose
for âWhich API are you using?â select âGoogle Calendar APIâ from the drop-down menu
for Where will you be calling the âAPI fromâ select "Other UI(e.g. Windows, CLI tool)
for What data will you be accessing? select âUser Dataâ