Jump to content









Photo

can't connect to google doc's using the arduino tutorial


  • Please log in to reply
6 replies to this topic

#1 comteccie

comteccie

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 31 December 2014 - 04:46 PM

Hi everybody,

 

I hope someone can help me.

I was following the tutorial about arduino and carriots. The first part worked fine, meaning, send a datastream to carriots.

But when i came to the second part, sending the data to google spreadsheets, I can't login.

the tutorial says to get the google credentials, use https://www.hurl.it/ to make a http request and to recieve the AUTH value. The url to make the request is www.google.com/accounts/ClientLogin.

But i have a google account with two step verification and i read (forgot where), that ClientLogin does not work with two step verification.

The other login method is to use oAuth2 but i am not sure how to get that in working order.

I hope someone has the answer for me.

 

ps,

I noticed that, looking at my datastreams, date and time are wrong. They stay at 25/12/2012 00:00:00.

Can I manually change that? Or is this a bug?

 

Thanks,

Johnny



#2 jpastor

jpastor

    Development leader

  • Administrators
  • 159 posts

Posted 02 January 2015 - 09:40 AM

Hello comteccie

 

the date that you are receiving in your datastreams is entered in "at" field when you send a stream.

If you want to receive another date, you must specify the corresponding timestamp or the reserved word "now".

Example:

 

 

{
        "protocol":"v1",
        "at":"now",
        "device":"test@carriots",
        "data":{
                "temp":"21",
                "hum":"58"
        },
        "checksum":""
}

As for your problem with two step authentication, it is a security measure that prevents the authentication of the form shown in the tutorial.



#3 comteccie

comteccie

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 04 January 2015 - 11:37 AM

Hello JPastor,

 

Thanks for your reply. About time and date, that's clear to me.

About 2 step authentication, I understand that it is a security measure, but that doesn't solve my problem.

Should i turn 2step auth off? Or get deeper in the understanding of OAuth2?

 

Thanks



#4 fernandogonzalez

fernandogonzalez

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 03 September 2015 - 10:22 AM

Hello, I have the same problem when accessing https://www.hurl.it/ ClientLogin gives me this error "Method not Allowed" and does not give me the data AUTH.

 

I would greatly appreciate assistance with this problem
Thank you


#5 snehal.jabade

snehal.jabade

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 07 January 2016 - 10:01 AM

Facing the same issue.Does anyone know how to solve this issue?



#6 Yoleon

Yoleon

    Sugar Master

  • Members
  • PipPip
  • 27 posts

Posted 13 January 2016 - 11:22 AM

Hi snehal.jabade

 

Google has changed the way to get the credentials. Now you need to access Google Developers Console to obtain the credential.

We are currently working on changing the tutorial to adapt to the new way to connect with Google Doc's.

 

Carriots Staff



#7 billwatson

billwatson

    Member

  • Members
  • PipPip
  • 14 posts

Posted 12 April 2016 - 08:02 AM

Thanks Yoleon! Will be great to get some help on how to work with the new Google credentials. The IFTTT tutorial still results in starting a google spreadsheet if others are interested




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users