GCAL3 - General Discussion

[quote=“Stuart, post:20, topic:182612”][quote=“farang, post:13, topic:182612”]I’ve upgraded from GCal II to GCal 3.

Now, whenever Vera needs to make a reload it will take like ages. I have 4 defined calendar devices. The reload happens an arbitrary number of times, typically 4 times in a row. It says “Unit Busy”, then it says “Running LUA Startup” or “Starting LUA Engine”. Then it starts with “Unit Busy” and so on… Before it was only a single cycle.[/quote]

I had a long flight delay and was able to put in and test some semaphore code that should prevent this from happening. It forces a staggered calendar refresh between instances of the plugin.

The problem looked to be due to simultaneous https requests - but that’s a bit speculative. Can you try this version and let me know? I could not get it to ‘break’ running two plugins at the same time trying for the same calendar …[/quote]

Thank You Stuart :slight_smile:

Currently I’m quite busy working but I’ll try to test when I get some time left. PM me if You’d like to get access to a busy GCal calendar for testing purposes (I manage a school schedule you could use for stress test)

Cheers ;D

Hi,

Moving from the original Gcal to Gcal3 and having some issues with PLEG & GCAL3 I don’t get.

I’m reading the gc_Trippedevent variable and using this value as a condition. See below for the PLEG logic.

What I don’t get is that all three conditions are true.

Please note that the calendar items do not overlap so only one should be true.

Device Properties
Name Device Name Device Variable Value Last Change Previous Change
GcalEvent GCal3 Sensor gc_TrippedEvent KIDSWEG 2014-08-28 06:27:21.102 2014-08-28 06:26:21.789

Conditions
TempKidsWeg No GcalEvent==“KIDSWEG” true 2014-08-26 20:03:18.346 2014-08-26 20:01:51.372
TempKidsWarm No GcalEvent==“KIDSWARM” true 2014-08-26 20:09:23.507 0
TempKidsSlapen No GcalEvent==“KIDSSLAPEN” true 2014-08-26 20:09:23.510 0

[quote=“tyfoon, post:22, topic:182612”]Hi,

Moving from the original Gcal to Gcal3 and having some issues with PLEG & GCAL3 I don’t get.

I’m reading the gc_Trippedevent variable and using this value as a condition. See below for the PLEG logic.

What I don’t get is that all three conditions are true.

Please note that the calendar items do not overlap so only one should be true.

Device Properties
Name Device Name Device Variable Value Last Change Previous Change
GcalEvent GCal3 Sensor gc_TrippedEvent KIDSWEG 2014-08-28 06:27:21.102 2014-08-28 06:26:21.789

Conditions
TempKidsWeg No GcalEvent==“KIDSWEG” true 2014-08-26 20:03:18.346 2014-08-26 20:01:51.372
TempKidsWarm No GcalEvent==“KIDSWARM” true 2014-08-26 20:09:23.507 0
TempKidsSlapen No GcalEvent==“KIDSSLAPEN” true 2014-08-26 20:09:23.510 0[/quote]

Just a shot in the dark. If gc_triggerNoKeyword is false. What happens if you set it to true?

Hi

I am also having trouble getting this to work in PLEG. I am using the “Event has specified name” option. I noticed when I looked in the gcal device advanced tab that the gc_jsonEvents variable is empty. From reading the docs, I believe this is probably what PLEG would be looking at?

Thanks

Hi Stuart,

I must be doing something wrong, have been trying for the last 3 day to get it working, first in UI7, but I have reverted to UI6, but no luck there either.

I have tried to set up the plugin both automatically via the ‘app store’ and manually. I get the calendar view in the calendar tab and I see the test event, but I get stuck in the ‘checking loop’

This is the info from the log file

06      08/29/14 15:17:53.003   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_lastCheck was: 2014-08-29T15:17:52 now: 2014-08-29T15:17:53 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2cd63680>
06      08/29/14 15:17:53.004   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_jsonEvents was: [] now: [] #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2cd63680>
50      08/29/14 15:17:53.004   luup_log:107: GCal3 gc_V 0.6:Device nil blocked semaphore request from device 107 <0x2cd63680>
06      08/29/14 15:17:53.005   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_nextCheck was: 2014-08-29T15:18:02 now: 2014-08-29T15:18:03 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2cd63680>
50      08/29/14 15:17:53.006   luup_log:107: GCal3 gc_V 0.6:Next check will be in 10 sec at 2014-08-29T15:18:03 <0

This is what I get after updating to yesterdays V0.6 lua. It seems to me it doesn’t get any events at all. Prior to updating the the most recent lua, I had the package file from post one and I got the following message:

LuaInterface::CallFunction_Timer-5 function GCalMain failed [string "local GCAL_VERSION = "V 0.6"..."]:234: attempt to concatenate local 'client_email' (a nil value)

But that seems to work now with the new version

Any ideas would be greatly appreciated!

Keep up the good work

Kr,
Hans

[quote=“Borat, post:24, topic:182612”]Hi

I am also having trouble getting this to work in PLEG. I am using the “Event has specified name” option. I noticed when I looked in the gcal device advanced tab that the gc_jsonEvents variable is empty. From reading the docs, I believe this is probably what PLEG would be looking at?

Thanks[/quote]

PLEG would not look at gc_jsonEvents. Provided the browser UI was refreshed (F5) to update the advanced tab - if gc_jsonEvents is empty, this means that no events were read from the calendar - none at all.

What does the front panel of the plugin indicate ? Does it show an event ? Not tiggered / active / triggered ? (lightbulb ==> grey / light yellow / full yellow). It’s the value of gc_trippedEvent that causes “Event has specified name” to work. Note also that your matching condition MUST be all upper case.

Please check these things and we will get it working. Also - was this an existing or new PLEG configuration ?

The quickest way to troubleshoot is to get a log file with gc_debug set to 3. The infoviewer plugin is great for that …

Attached is a patched file. There was a problem with the semaphore and that certainly affected Hansibal , quite likely Borat and likely everyone else who tried the last patch (which I have removed).

Here is version 6.1.2 – please let me know how it goes. I deliberately tried to make it misbehave - and think I’ve got it this time … learning about Lua all the time …

Edit: Removed Attachment

[quote=“hansibal, post:25, topic:182612”]Hi Stuart,

I must be doing something wrong, have been trying for the last 3 day to get it working, first in UI7, but I have reverted to UI6, but no luck there either.

I have tried to set up the plugin both automatically via the ‘app store’ and manually. I get the calendar view in the calendar tab and I see the test event, but I get stuck in the ‘checking loop’

This is the info from the log file

06      08/29/14 15:17:53.003   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_lastCheck was: 2014-08-29T15:17:52 now: 2014-08-29T15:17:53 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2cd63680>
06      08/29/14 15:17:53.004   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_jsonEvents was: [] now: [] #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2cd63680>
50      08/29/14 15:17:53.004   luup_log:107: GCal3 gc_V 0.6:Device nil blocked semaphore request from device 107 <0x2cd63680>
06      08/29/14 15:17:53.005   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_nextCheck was: 2014-08-29T15:18:02 now: 2014-08-29T15:18:03 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2cd63680>
50      08/29/14 15:17:53.006   luup_log:107: GCal3 gc_V 0.6:Next check will be in 10 sec at 2014-08-29T15:18:03 <0

This is what I get after updating to yesterdays V0.6 lua. It seems to me it doesn’t get any events at all. Prior to updating the the most recent lua, I had the package file from post one and I got the following message:

LuaInterface::CallFunction_Timer-5 function GCalMain failed [string "local GCAL_VERSION = "V 0.6"..."]:234: attempt to concatenate local 'client_email' (a nil value)

But that seems to work now with the new version

Any ideas would be greatly appreciated!

Keep up the good work

Kr,
Hans[/quote]

I’d [size=14pt]love[/size] to know how this goes in UI7 …

I think I fixed the problem you were seeing … see post above …

[quote=“Stuart”][quote=“Borat, post:24, topic:182612”]Hi

I am also having trouble getting this to work in PLEG. I am using the “Event has specified name” option. I noticed when I looked in the gcal device advanced tab that the gc_jsonEvents variable is empty. From reading the docs, I believe this is probably what PLEG would be looking at?

Thanks[/quote]

PLEG would not look at gc_jsonEvents. Provided the browser UI was refreshed (F5) to update the advanced tab - if gc_jsonEvents is empty, this means that no events were read from the calendar - none at all.

What does the front panel of the plugin indicate ? Does it show an event ? Not tiggered / active / triggered ? (lightbulb ==> grey / light yellow / full yellow). It’s the value of gc_trippedEvent that causes “Event has specified name” to work. Note also that your matching condition MUST be all upper case.

Please check these things and we will get it working. Also - was this an existing or new PLEG configuration ?

The quickest way to troubleshoot is to get a log file with gc_debug set to 3. The infoviewer plugin is great for that …[/quote]
Hi Stuart, please see my pleg code above (all capitals) and a screenshot of the Plugin. The Plugin nicely shows a burning light bulb and the correct event.

[quote=“Stuart, post:26, topic:182612”][quote=“Borat, post:24, topic:182612”]Hi

I am also having trouble getting this to work in PLEG. I am using the “Event has specified name” option. I noticed when I looked in the gcal device advanced tab that the gc_jsonEvents variable is empty. From reading the docs, I believe this is probably what PLEG would be looking at?

Thanks[/quote]

PLEG would not look at gc_jsonEvents. Provided the browser UI was refreshed (F5) to update the advanced tab - if gc_jsonEvents is empty, this means that no events were read from the calendar - none at all.

What does the front panel of the plugin indicate ? Does it show an event ? Not tiggered / active / triggered ? (lightbulb ==> grey / light yellow / full yellow). It’s the value of gc_trippedEvent that causes “Event has specified name” to work. Note also that your matching condition MUST be all upper case.

Please check these things and we will get it working. Also - was this an existing or new PLEG configuration ?

The quickest way to troubleshoot is to get a log file with gc_debug set to 3. The infoviewer plugin is great for that …[/quote]

It was definitely tripping on am event. Away at the mo so can’t send a screenshot but it was showing the event I was looking for in pleg at the top and showing tripped. Will try the new version when I get home and let u know.

[quote=“Stuart, post:27, topic:182612”]Attached is a patched file. There was a problem with the semaphore and that certainly affected Hansibal , quite likely Borat and likely everyone else who tried the last patch (which I have removed).

Here is version 6.1.2 – please let me know how it goes. I deliberately tried to make it misbehave - and think I’ve got it this time … learning about Lua all the time …[/quote]

hi Stuart,

Thanks for taking time to look into this. I know get the following error:

06      08/30/14 14:57:44.101   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_lastCheck was: 2014-08-30T14:56:55 now: 2014-08-30T14:57:44 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2dacb680>
06      08/30/14 14:57:44.102   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_jsonEvents was: [] now: [] #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2dacb680>
50      08/30/14 14:57:44.102   luup_log:107: GCal3 gc_V 0.6.2:Checking semaphore <0x2dacb680>
50      08/30/14 14:57:44.103   luup_log:107: GCal3 gc_V 0.6.2:Semaphore file returned nil <0x2dacb680>
01      08/30/14 14:57:44.103   LuaInterface::CallFunction_Timer-5 function GCalMain failed [string "local GCAL_VERSION = "V 0.6.2"..."]:101: /etc/cmh-ludl/GCal3/GCal3.sem: No such file or directory <

Kr,
Hans

Hi Stuart

Thank you for your work with this app, I seem to be having an issue after upgrading to Gcal3. After installing from the most recent patch in the forum, I can’t get the calendar to load. I put in the URL and i received a message that it was set. I closed the window and refreshed. I then set up the triggers and none of them would fire. I then pressed the check button and its been checking for over an hour and nothing populates in the calendar tab.

Any pointers?

PS its on a vera lite.

Thanks

Sent from my iPad using Tapatalk HD

Hi Stuart,

I have a problems when I ask a “check” the message “Checking …” persist. I check with two devices.
On tab “calendar” is ok I see my calendar.

[code]
50 08/30/14 18:32:35.516 luup_log:186: GCal3 gc_V 0.6.2:This is device # 186 LEAK this:8192 start:774144 to 0x1152000 <0x2c18f680>
06 08/30/14 18:32:35.517 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_TrippedEvent was: now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.517 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_TrippedID was: now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.518 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_Value was: now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.518 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEvent was: Checking … now: Checking … #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.518 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEventTime was: now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.519 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_Interval was: 180 now: 180 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.519 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_StartDelta was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.520 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_EndDelta was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.520 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_Keyword was: now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.520 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_exactKeyword was: true now: true #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.521 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_ignoreKeyword was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.521 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_triggerNoKeyword was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.521 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_ignoreAllDayEvent was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.522 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_retrip was: true now: true #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.523 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_CalendarID was: ir5jbk6tlfgprcag2pc6b1ei2o@group.calendar.google.com now: ir5jbk6tlfgprcag2pc6b1ei2o@group.calendar.google.com #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.523 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_jsonEvents was: [] now: [] #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.524 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_lastCheck was: 2014-08-30T18:25:40 now: 2014-08-30T18:25:40 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.524 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_nextCheck was: 2014-08-30T18:12:46 now: 2014-08-30T18:12:46 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.525 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_debug was: 3 now: 3 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.525 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_displaystatus was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
50 08/30/14 18:32:35.525 luup_log:186: GCal3 gc_V 0.6.2:GCal3 gc_V 0.6.2:Variables initialized … <0x2c18f680>
50 08/30/14 18:32:35.542 luup_log:186: GCal3 gc_V 0.6.2:Command ls /usr/lib/lua/googlejwt.sh returned 0 <0x2c18f680>
50 08/30/14 18:32:35.543 luup_log:186: GCal3 gc_V 0.6.2:/usr/lib/lua/googlejwt.sh already exists <0x2c18f680>

50 08/30/14 18:32:35.585 luup_log:186: GCal3 gc_V 0.6.2:Command ls /usr/lib/lua/json.lua returned 0 <0x2c18f680>
50 08/30/14 18:32:35.585 luup_log:186: GCal3 gc_V 0.6.2:/usr/lib/lua/json.lua already exists <0x2c18f680>
50 08/30/14 18:32:35.586 luup_log:186: GCal3 gc_V 0.6.2:Function: checkforcredentials <0x2c18f680>

50 08/30/14 18:32:35.616 luup_log:186: GCal3 gc_V 0.6.2:Command ls /etc/cmh-ludl/GCal3.json.lzo returned 256 <0x2c18f680>
50 08/30/14 18:32:35.617 luup_log:186: GCal3 gc_V 0.6.2:GCal3 gc_V 0.6.2:Timezone is 2 hrs and 0 min <0x2c18f680>
50 08/30/14 18:32:35.617 luup_log:186: GCal3 gc_V 0.6.2:GCal3 gc_V 0.6.2:Running Plugin … <0x2c18f680>
06 08/30/14 18:32:35.617 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEvent was: Checking … now: Successfully Initialized #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2c18f680>
06 08/30/14 18:32:35.618 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEventTime was: now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
50 08/30/14 18:32:35.622 luup_log:187: GCal3 gc_V 0.6.2:This is device # 187 <0x2c18f680>
06 08/30/14 18:32:35.635 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_TrippedEvent was: now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.636 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_TrippedID was: now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.636 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_Value was: now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.636 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEvent was: Checking … now: Checking … #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.637 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEventTime was: now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.637 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_Interval was: 180 now: 180 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.638 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_StartDelta was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.638 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_EndDelta was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.638 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_Keyword was: now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.639 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_exactKeyword was: true now: true #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.639 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_ignoreKeyword was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.639 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_triggerNoKeyword was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.640 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_ignoreAllDayEvent was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.640 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_retrip was: true now: true #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.641 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_CalendarID was: dgmhk36mgd4s54s0ircbl68k0j72v04s@import.calendar.google.com now: dgmhk36mgd4s54s0ircbl68k0j72v04s@import.calendar.google.com #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.641 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_jsonEvents was: [] now: [] #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.641 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_lastCheck was: 2014-08-30T18:25:10 now: 2014-08-30T18:25:10 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.643 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_nextCheck was: 2014-08-30T18:16:57 now: 2014-08-30T18:16:57 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.643 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_debug was: 1 now: 1 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
06 08/30/14 18:32:35.644 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_displaystatus was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>
50 08/30/14 18:32:35.644 luup_log:187: GCal3 gc_V 0.6.2:GCal3 gc_V 0.6.2:Variables initialized … <0x2c18f680>

50 08/30/14 18:32:35.822 luup_log:187: GCal3 gc_V 0.6.2:GCal3 gc_V 0.6.2:Running Plugin … <0x2c18f680>
06 08/30/14 18:32:35.822 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEvent was: Checking … now: Successfully Initialized #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2c18f680>
06 08/30/14 18:32:35.843 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEventTime was: now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c18f680>

06 08/30/14 18:32:37.104 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_lastCheck was: 2014-08-30T18:25:10 now: 2014-08-30T18:32:37 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 LEAK this:131072 start:1101824 to 0x11a2000 <0x2d98f680>
06 08/30/14 18:32:37.104 Device_Variable::m_szValue_set device: 187 service: urn:srs-com:serviceId:GCalIII variable: gc_jsonEvents was: [] now: [] #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d98f680>
06 08/30/14 18:32:37.107 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_lastCheck was: 2014-08-30T18:25:40 now: 2014-08-30T18:32:37 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2d78f680>
06 08/30/14 18:32:37.107 Device_Variable::m_szValue_set device: 186 service: urn:srs-com:serviceId:GCalIII variable: gc_jsonEvents was: [] now: [] #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d78f680>
50 08/30/14 18:32:37.108 luup_log:186: GCal3 gc_V 0.6.2:Checking semaphore <0x2d78f680>
50 08/30/14 18:32:37.108 luup_log:186: GCal3 gc_V 0.6.2:Semaphore file returned nil <0x2d78f680>[/code]

thanks

[quote=“hansibal, post:31, topic:182612”][quote=“Stuart, post:27, topic:182612”]Attached is a patched file. There was a problem with the semaphore and that certainly affected Hansibal , quite likely Borat and likely everyone else who tried the last patch (which I have removed).

Here is version 6.1.2 – please let me know how it goes. I deliberately tried to make it misbehave - and think I’ve got it this time … learning about Lua all the time …[/quote]

hi Stuart,

Thanks for taking time to look into this. I know get the following error:

06      08/30/14 14:57:44.101   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_lastCheck was: 2014-08-30T14:56:55 now: 2014-08-30T14:57:44 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2dacb680>
06      08/30/14 14:57:44.102   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_jsonEvents was: [] now: [] #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2dacb680>
50      08/30/14 14:57:44.102   luup_log:107: GCal3 gc_V 0.6.2:Checking semaphore <0x2dacb680>
50      08/30/14 14:57:44.103   luup_log:107: GCal3 gc_V 0.6.2:Semaphore file returned nil <0x2dacb680>
01      08/30/14 14:57:44.103   LuaInterface::CallFunction_Timer-5 function GCalMain failed [string "local GCAL_VERSION = "V 0.6.2"..."]:101: /etc/cmh-ludl/GCal3/GCal3.sem: No such file or directory <

Kr,
Hans[/quote]

Hi Hans –
I’m wondering if there is an upstream error ? Are you able to see if the directory /etc/cmh-ludl/GCal3 exists ? If so - what files are in that directory ? It should get created when the credentials are being parsed. What does the log file look like during the plugin startup ?

The creation of the GCal3.sem file should occur immediately after the “semaphore file returned nil” message. Clearly it is not (and the logs confirm that) and the function I am using assumes the folder exists So the question may be “why isn’t the folder being created”

If the

[quote=“kiethr, post:32, topic:182612”]Hi Stuart

Thank you for your work with this app, I seem to be having an issue after upgrading to Gcal3. After installing from the most recent patch in the forum, I can’t get the calendar to load. I put in the URL and i received a message that it was set. I closed the window and refreshed. I then set up the triggers and none of them would fire. I then pressed the check button and its been checking for over an hour and nothing populates in the calendar tab.

Any pointers?

PS its on a vera lite.

Thanks

Sent from my iPad using Tapatalk HD[/quote]

I use a vera light - so you should be good to go. If it’s hung when you press the check button - it could be several things. Please get a log file with gc_debug = 3 and we can figure out what’s happening.

When you say you put in the url - do you mean the calendar ID ? GCal3 works very differently that GCal_II

@Stuart

Veralite and Vera2 is not the same. Veralite should be the same as Vera3 as far as I know only less memory and some less ethernet ports.

I could be wrong.

[quote=“korttoma, post:36, topic:182612”]@Stuart

Veralite and Vera2 is not the same. Veralite should be the same as Vera3 as far as I know only less memory and some less ethernet ports.

I could be wrong.[/quote]
I had misread the post and quickly corrected myself. … not quickly enough :cry:

Don’t cry Stuart, we all make mistakes. Btw, thanks again for all your har work! :wink:

Hi Hans -- I'm wondering if there is an upstream error ? Are you able to see if the directory /etc/cmh-ludl/GCal3 exists ? If so - what files are in that directory ? It should get created when the credentials are being parsed. What does the log file look like during the plugin startup ?

The creation of the GCal3.sem file should occur immediately after the “semaphore file returned nil” message. Clearly it is not (and the logs confirm that) and the function I am using assumes the folder exists So the question may be “why isn’t the folder being created”

If the

Hi,

Only had my vera kit for a couple of days, but I think I am starting to like this stuff. Here is the stuff from the startup:

06      08/30/14 20:28:19.702   Device_Variable::m_szValue_set device: 107 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Armed was: 0 now: 0 #hooks: 1 upnp: 0 v:0xde0cc0/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.702   Device_Variable::m_szValue_set device: 107 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Tripped was: 0 now: 0 #hooks: 1 upnp: 0 v:0xde0070/NONE duplicate:0 <0x2b673680>
06      08/30/14 20:28:19.741   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_TrippedEvent was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.741   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_TrippedID was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.742   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_Value was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.742   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEvent was: Successfully Initialized now: Successfully Initialized #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.742   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEventTime was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.743   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_Interval was: 180 now: 180 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.743   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_StartDelta was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.744   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_EndDelta was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.744   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_Keyword was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.744   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_exactKeyword was: true now: true #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.745   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_ignoreKeyword was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.745   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_triggerNoKeyword was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.746   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_ignoreAllDayEvent was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.746   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_retrip was: true now: true #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.746   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_CalendarID was: ------------@googlemail.com now: --------n@googlemail.com #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.747   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_jsonEvents was: [] now: [] #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.747   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_lastCheck was: 2014-08-30T20:07:26 now: 2014-08-30T20:07:26 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.747   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_nextCheck was: 2014-08-30T14:55:11 now: 2014-08-30T14:55:11 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.748   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_debug was: 3 now: 3 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.748   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_displaystatus was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
50      08/30/14 20:28:19.752   luup_log:107: GCal3 gc_V 0.6.2:GCal3 gc_V 0.6.2:Variables initialized ... <0x2b673680>
50      08/30/14 20:28:19.770   luup_log:107: GCal3 gc_V 0.6.2:Command ls /usr/lib/lua/googlejwt.sh returned 0 <0x2b673680>
50      08/30/14 20:28:19.770   luup_log:107: GCal3 gc_V 0.6.2:/usr/lib/lua/googlejwt.sh  already exists <0x2b673680>
50      08/30/14 20:28:19.789   luup_log:107: GCal3 gc_V 0.6.2:Command ls /usr/lib/lua/json.lua returned 0 <0x2b673680>
50      08/30/14 20:28:19.789   luup_log:107: GCal3 gc_V 0.6.2:/usr/lib/lua/json.lua  already exists <0x2b673680>
50      08/30/14 20:28:19.790   luup_log:107: GCal3 gc_V 0.6.2:Function: checkforcredentials <0x2b673680>
50      08/30/14 20:28:19.808   luup_log:107: GCal3 gc_V 0.6.2:Command ls /etc/cmh-ludl/GCal3.json.lzo returned 256 <0x2b673680>
50      08/30/14 20:28:19.809   luup_log:107: GCal3 gc_V 0.6.2:GCal3 gc_V 0.6.2:Timezone is 1 hrs and 0 min <0x2b673680>
50      08/30/14 20:28:19.809   luup_log:107: GCal3 gc_V 0.6.2:GCal3 gc_V 0.6.2:Running Plugin ... <0x2b673680>
06      08/30/14 20:28:19.810   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEvent was: Successfully Initialized now: Successfully Initialized #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.810   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEventTime was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x

The /etc/cmh-hudl/ doesn’t contain the directory GCAL3, there are three files in the dir for Gcal:
GCal3.lua.lzo
GCal_II.lua.lzo
Gcal3.json.lzo

hope this helps,

Kr,
Hans

[quote=“hansibal, post:39, topic:182612”]

Hi Hans –
I’m wondering if there is an upstream error ? Are you able to see if the directory /etc/cmh-ludl/GCal3 exists ? If so - what files are in that directory ? It should get created when the credentials are being parsed. What does the log file look like during the plugin startup ?

The creation of the GCal3.sem file should occur immediately after the “semaphore file returned nil” message. Clearly it is not (and the logs confirm that) and the function I am using assumes the folder exists So the question may be “why isn’t the folder being created”

If the

Hi,

Only had my vera kit for a couple of days, but I think I am starting to like this stuff. Here is the stuff from the startup:

06      08/30/14 20:28:19.702   Device_Variable::m_szValue_set device: 107 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Armed was: 0 now: 0 #hooks: 1 upnp: 0 v:0xde0cc0/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.702   Device_Variable::m_szValue_set device: 107 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Tripped was: 0 now: 0 #hooks: 1 upnp: 0 v:0xde0070/NONE duplicate:0 <0x2b673680>
06      08/30/14 20:28:19.741   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_TrippedEvent was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.741   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_TrippedID was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.742   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_Value was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.742   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEvent was: Successfully Initialized now: Successfully Initialized #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.742   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEventTime was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.743   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_Interval was: 180 now: 180 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.743   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_StartDelta was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.744   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_EndDelta was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.744   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_Keyword was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.744   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_exactKeyword was: true now: true #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.745   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_ignoreKeyword was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.745   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_triggerNoKeyword was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.746   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_ignoreAllDayEvent was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.746   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_retrip was: true now: true #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.746   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_CalendarID was: ------------@googlemail.com now: --------n@googlemail.com #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.747   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_jsonEvents was: [] now: [] #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.747   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_lastCheck was: 2014-08-30T20:07:26 now: 2014-08-30T20:07:26 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.747   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_nextCheck was: 2014-08-30T14:55:11 now: 2014-08-30T14:55:11 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.748   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_debug was: 3 now: 3 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.748   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_displaystatus was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
50      08/30/14 20:28:19.752   luup_log:107: GCal3 gc_V 0.6.2:GCal3 gc_V 0.6.2:Variables initialized ... <0x2b673680>
50      08/30/14 20:28:19.770   luup_log:107: GCal3 gc_V 0.6.2:Command ls /usr/lib/lua/googlejwt.sh returned 0 <0x2b673680>
50      08/30/14 20:28:19.770   luup_log:107: GCal3 gc_V 0.6.2:/usr/lib/lua/googlejwt.sh  already exists <0x2b673680>
50      08/30/14 20:28:19.789   luup_log:107: GCal3 gc_V 0.6.2:Command ls /usr/lib/lua/json.lua returned 0 <0x2b673680>
50      08/30/14 20:28:19.789   luup_log:107: GCal3 gc_V 0.6.2:/usr/lib/lua/json.lua  already exists <0x2b673680>
50      08/30/14 20:28:19.790   luup_log:107: GCal3 gc_V 0.6.2:Function: checkforcredentials <0x2b673680>
50      08/30/14 20:28:19.808   luup_log:107: GCal3 gc_V 0.6.2:Command ls /etc/cmh-ludl/GCal3.json.lzo returned 256 <0x2b673680>
50      08/30/14 20:28:19.809   luup_log:107: GCal3 gc_V 0.6.2:GCal3 gc_V 0.6.2:Timezone is 1 hrs and 0 min <0x2b673680>
50      08/30/14 20:28:19.809   luup_log:107: GCal3 gc_V 0.6.2:GCal3 gc_V 0.6.2:Running Plugin ... <0x2b673680>
06      08/30/14 20:28:19.810   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEvent was: Successfully Initialized now: Successfully Initialized #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b673680>
06      08/30/14 20:28:19.810   Device_Variable::m_szValue_set device: 107 service: urn:srs-com:serviceId:GCalIII variable: gc_NextEventTime was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x

The /etc/cmh-hudl/ doesn’t contain the directory GCAL3, there are three files in the dir for Gcal:
GCal3.lua.lzo
GCal_II.lua.lzo
Gcal3.json.lzo

hope this helps,

Kr,
Hans[/quote]

Hans –

the log entry
08/30/14 20:28:19.808 luup_log:107: GCal3 gc_V 0.6.2:Command ls /etc/cmh-ludl/GCal3.json.lzo returned 256 <0x2b673680>
together with no /etc/cmh-ludl/GCal3 directory
tells me that the code which sets up the credentials did not execute before

the /etc/cmh-ludl/GCal3 directory gets created the first time credentials are created. This does not occur unless you upload the GCal3.json generated when you setup your google api service account.

Did you do this ? If not, then this is the reason. If you did - then there was some sort of problem the last time: upload the file GCal3.json again (you don’t need to regenerate it - the original is still good), restart and get the logs.