Google Calendar has stopped working.

15 replies [Last post]
kema01
Offline
MAIDSTONE, United Kingdom
Joined: 8 Jul 2013

Hi my google calendar has stopped working; it had been running my central heating for the last 2 weeks with no problems. Luckily I have left all the old CH controls in place.

I do not see the aliasmsg arrive at the HAH. All other functions are fine (Twitter Cron etc etc). I can send a requirement to google cal and it is registered in the calendar. Heartbeat is seen.

I normally send a “relay 2 on” Alias msg  for 3 minutes to ensure operation.

I know I could use cron, but the GoogleCal GUI, using different colours makes it easy for the other half to see what is going on.

I have probably fiddled with something, but for the life of me cannot see what. I have now exhausted my limited knowledge on how to move on and resolve the problem.

What I have done is

Reloaded known working backups. 

Performed a Clean build 

Started from a virgin ini and rebuilt my configuration.

Created new GoogleCal account

Tried setting the calendar event aliasmsg time 1 hour before and 1 hour after real time just in case there is a problem with time zones.

 

Below is a log/debug file hopefully someone will be able to tell me if they can see any problems.

# xap-googlecal -d 6 -i br0

Google Calendar Connector for xAP v12

Copyright (C) DBzoo 2009-2010

[inf][init.c:118:discoverBroadcastNetwork] br0: address 192.168.1.87

[inf][init.c:130:discoverBroadcastNetwork] br0: netmask 255.255.255.0

[inf][init.c:137:discoverBroadcastNetwork] Autoconfig: xAP broadcasts on 192.168.1.255:3639

[ntc][init.c:54:discoverHub] Broadcast socket port 3639 in use

[inf][init.c:55:discoverHub] Assuming a hub is active

[ntc][init.c:64:discoverHub] Socket port 3640 in use

[ntc][init.c:64:discoverHub] Socket port 3641 in use

[ntc][init.c:64:discoverHub] Socket port 3642 in use

[ntc][init.c:64:discoverHub] Socket port 3643 in use

[ntc][init.c:64:discoverHub] Socket port 3644 in use

[ntc][init.c:64:discoverHub] Socket port 3645 in use

[ntc][init.c:64:discoverHub] Socket port 3646 in use

[inf][init.c:66:discoverHub] Discovered port 3647

[inf][googlecal.c:461:main] Connecting to google

[inf][filter.c:34:xapAddFilter] section=xap-header key=target value=dbzoo.livebox.GoogleCal

[inf][filter.c:34:xapAddFilter] section=xap-header key=class value=google.calendar

[inf][filter.c:34:xapAddFilter] section=event key=title value=XAP_FILTER_ANY

[inf][filter.c:34:xapAddFilter] section=event key=start value=XAP_FILTER_ANY

[inf][filter.c:195:xapAddFilterAction] section=event key=start value=XAP_FILTER_ANY data=0

[inf][tx.c:19:xapSend] send

xap-hbeat

{

v=12

hop=1

uid=FF00DA00

class=xap-hbeat.alive

source=dbzoo.livebox.GoogleCal

interval=60

port=3647

pid=192.168.1.87:337

}

 

[inf][tx.c:19:xapSend] send

xap-hbeat

{

v=12

hop=1

uid=FF00DA00

class=xap-hbeat.alive

source=dbzoo.livebox.GoogleCal

interval=60

port=3647

pid=192.168.1.87:337

}

Many thanks in advance.

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Kema,Increase to debug level

Kema,

Increase to debug level 7 (max) you might get more useful information back.

Brett

kema01
Offline
MAIDSTONE, United Kingdom
Joined: 8 Jul 2013
Increased to 7

H i Brett many thanks for getting back to me so quickly.

Here is the debug set to 7, I really hope this shows up something. I am beginning to start clutching at straws.

Please see atached file.

 

Many thanks

kema

AttachmentSize
Google cal problem.txt 3.95 KB
derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
Possibly a Google issue

Google have recently been testing out a new version (v3) of their calendar API. Their testing has broken the v2 API on previous occasions and there is one report of a similar issue today.

https://groups.google.com/forum/embed/?place=forum/google-calendar-api&showsearch=true#!topic/google-calendar-api/eoDMLe-OKDM

Since nothing else has changed, I'm guessing that the problem might well be at their end.

Brett can possibly look under the bonnet to check the actual response stream from Google.

Always good to have a workaround/alternative comms channel. You can ask Google Calendar to send an SMS message at the start of an event. If you have SMS feeding into your HAH, that might be a decent fallback.

Cheers,
Derek.

garrydwilms
Offline
United Kingdom
Joined: 31 Mar 2011
Must admit I never got this

Must admit I never got this to work reliably.

debug used to say no events when I knew there were some. I had to set 10-15 min long events to ensure at least one got through. 

So it worked sometimes but mostly not, I moved to cron and find this very stable. You can still setup endpoints for heating on/off times and have a script update the cron file for you. This allows the other half to see what's happening via a gui displaying the endpoints.

would be good to understand the googlecal issue but it was wasting too much of my time messing with it, I gave up.

Garry

kema01
Offline
MAIDSTONE, United Kingdom
Joined: 8 Jul 2013
Are we all affected ?????

Is this a universal problem or is it just affecting a few people? I would be interested to know.

I have just purchased a spare Livebox and may give this a try.

I must admit that I had a few issues with Google Cal initially. But over the few weeks I have had it set up, it has worked well. I cannot comment on long term reliability.

I will have to brush up on my vi editing skills and set my scheduling using cron, as I do not have HAH SMS capability.

Many thanks

 

kema

allanayr
Offline
Ayr, United Kingdom
Joined: 25 Sep 2011
I'm with Garry on this one. I

I'm with Garry on this one. I never really got google calendar to work effectively. I gave up on it more than 2 years ago and have use cron ever since. That said, obvously my experience is way out of date, but I've never really felt the need to try it again.

derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
Broken for me too

I use googlecal for nightlight scheduling. It's been fine for around a year.

Was away from home in the week so don't know exactly when it stopped working, but it didn't work last night.

Had a chat with Brett this morning (well, evening for him), he will have a look & see what is going on. I do like the nice UI on Google Calendar & also the ease of use on mobile devices.

Really should script up something to catch the falling/rising light level from a roomNode and do control that way. This would save playing with the calendar events as the seasons change.

kema01
Offline
MAIDSTONE, United Kingdom
Joined: 8 Jul 2013
You’ve made my day

Derek

Many thanks for letting me know. You would mot believe the amount of hours I spent looking into this problem before I posted on the forum (my lack of experience). I thought it was me, as I made some major changes to my setup and configuration around the time it stopped working. I think around Wednesday.

I also like Google Cal UI even the wife can use it, not sure about teaching her "vi" though.

You’ve made my day.

Thanks again.

 

Kema.

leighton.olds
Offline
Joined: 10 Nov 2012
Mine is broken as well

I can confirm it is no longer working.

magill
Offline
Joined: 27 Apr 2012
HAH editor

Hi

I'm not great on the old linux stuff and forget vi commands each time I return, consequently I put together a little vb app. I have added Cron to it.

I can email it if anyone is interested.

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Really should script up

Really should script up something to catch the falling/rising light level from a roomNode and do control that way. This would save playing with the calendar events as the seasons change.

@Derek: there is a sample called: automaticLightsApplet.lua combined with sunForecastApplet.lua whcih does something close its driven from the actual sun up/down times for your long/lat.

Brett

allanayr
Offline
Ayr, United Kingdom
Joined: 25 Sep 2011
Or IFTTT will post a tweet at

Or IFTTT will post a tweet at sr/ss

AndrewJ
Offline
United Kingdom
Joined: 22 Nov 2012
Hi Magill, as a fellow VB

Hi Magill, as a fellow VB coder i would love to give your app a go

 

cheers - Andrew

garrydwilms
Offline
United Kingdom
Joined: 31 Mar 2011
How busy is this forum this

How busy is this forum this weekend!? Any correlation to the fact it's Xfactor final weekend :)

Glad to see people getting back into all things HaaH, interesting to see what others are up to!

Garry 

AndrewJ
Offline
United Kingdom
Joined: 22 Nov 2012
Garry could be..... either

Garry could be.....

 

either that or its dark and cold out and its the time of year to catch up on these neat little projects :)

 

Andrew

Hardware Info