Problem with googlecal
17 October, 2010 - 09:37
Hi,
I've been having a go with the plugboard and sample scripts, in particular the gcal_on_state script. The script seems to be working fine however no event appears on my calendar. I ran xap-googlecal with debug level 9 and got this:
Send EVENT to Google
event(title=Relay 1 is off,start=2010-10-17T00:00:00,end=2010-10-17T00:01:00,where=xap-event,content=LUA monitored event)
Failed adding a new event! HTTP code: 201
msg: (null)
Any ideas what's going on?
Chris
17 October, 2010 - 13:52
#3
It might be a 252 firmware issue
I can't reproduce this either. Having said that I rewrote the program when I migrate it to xaplib2 so its possible I've fixed some latent bug along the way let see if you still have issues when 253 is released.
18 October, 2010 - 00:26
#4
201 Status code denotes success?
I'll run the code on my system tomorrow and check my results.
I'm running 252.
Hi Chris,
I wanted to see if I could replicate your issue. However, I can't seem to find the Lua script that you refer to. Can you point me at this?
I did use the following (from the Wiki) to successfully create a google calendar entry ... just opened up any old message in xFx, pasted this in & hit the 'Send message' button.
However, I'm currently running a beta release ... does this work for you?
Cheers,
Derek