Google Calendar

4 replies [Last post]
BoxingOrange
Offline
United Kingdom
Joined: 11 Jun 2010

Help,

Going away imminently, about to "sell" the HAH to HWMBO to turn light etc on and off while away, but the Google Calendar option is missing in version 251.  It's not on the web interface, I looked in the ini file, but no [googlecal] section, so I added it, as per the Wiki, rebooted....  Still not there.

Has anyone else noticed this?

Derek/Brett, if you can squeeze it into 252 I'll be happy to beta test, or have I just made a stupid mistake and not looked hard enough, I'll go and read through again just in-case.

Thanks

 

Karl

 

Update 1:

The xap-googlecal service won't start if the google credentials are wrong, corrected this.

But, I still can't see the page on the web interface, no big problem.

 

Update 2:

Just checked the source code, and although you can call kloned with calendar.kl1 and see the settings, something is wrong with it.  (note to self: Try harder to get dev. environment up and running)

 

Update 3:

The menu.kl1 doesn't seem to have a section for the Google calendar.  I think it needs a line like {"Automation","Calendar","calendar.kl1", NULL} inserting between lines 28 and 29.  Update 2 still stands, the Calendar configurations does display, but not correctly, if called directly from the web browser address bar.

derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
Mysterious

Hmm, missing from the latest test build (251.5) too. Thanks for the good analysis. This will require a little bit of investigation ...

derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
Calendar is back

There was an issue that crept in when the code behind the UI menus was re-structured. This is now fixed (by Brett in record time) in the latest beta - Version 251.6.

This available for download. Just reboot your HAH, then telnet in and issue the following command

/etc_ro_fs/update-dev hah-beta.dbzoo.com

This release is still under test ... as yet, I've found no problems.

Derek.

BoxingOrange
Offline
United Kingdom
Joined: 11 Jun 2010
Well Done

Nice one.  I'm now at 251.6, the calendar is back.  Brett's obviously settled down quickly in the States.

Is there anything specific that you'd like me to test?  I see from the Google Code issues page that the Twitter issue has been fixed, so I'll look at that, is there anything else?

Keep up the good work, and thanks,

Karl

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Only today I got a skeleton

Only today I got a skeleton OAUTH program authenticating and sending tweets so now I need to figure out how to integrate this demo code back into the HAH framework.

Progress is slow as I've only got a few hours each day to work on it so it'll probably be at least another week before xap-twitter is fully back online hopefully I'll have this done before the end of the month when basic AUTH is being shut off.  The good news is once OAUTH is setup the poll rate can increase to 230 connections per hour or once every 15 seconds.

See also issue 9

Beginning on August 17th, 2010, basic auth rate limits will decrease by 15 requests/hour on each week day.   Default was 150.  150-15=135.

60*60/135= connection every 26 seconds.

The default xap-twitter rate limit is a connection every 30 seconds so we should be good until they shut off basic auth.

Hardware Info