Go Down

Topic: GetYahooWeatherReport Example doesn't work (Read 1 time) previous topic - next topic

simon_schvartzman

Hi team, looking for help with the following:

1 - my Yun is properly connected to the internet (wifi or cable)
2 - I have created my credentials on Temboo
3 - I have updated the GetYahooWeatherReport's TembooAccount.h file accordingly

still I  keep getting the following message:


Unable to connect: retrying (1)...
Unable to connect: retrying (2)...
Unable to connect: retrying (3)...
Unable to connect: retrying (4)...
Unable to connect: is the sketch using the bridge?

Any hint as what am i doing wrong? by the way the HTTPClient example is not working as well.

Many thanks in advance.

Cheers!

84billy

use Console.begin() instead Serial.begin(9600);
and Console.print

simon_schvartzman

As a matter of fact I'm already using the Console instead of the Serial connection (BTW I don't get why most of the examples are using the Serial connection instead of the Console which should be the "natural" way to communicate with the Yun)

Thanks anyway, Simon

federicofissore

Hi Simon
I suggest to first run the example as it is: with Serial. If it runs ok, we know that it's porting it to work with Console that's causing the problem.
Then I would post the modified sketch, in order to make it easier to spot the bug

simon_schvartzman

#4
Sep 23, 2013, 03:30 am Last Edit: Sep 23, 2013, 04:54 pm by simon_schvartzman Reason: 1
Federico, i did as you suggested and everything is working fine now. I sure did something wrong the first time.

Many thanks

evilblender

I was struggling with this example as well.

The solution for me was to stop programming over the wireless connection in the 'Tools>Port'  menu.
I changed it from the wireless connection to the /dev/tty.usbmodem ... connection and then this example worked as expected.

Additionally, I was then able to make other examples in the 'File>Examples>Bridge' menu work as well.

Up until then - all of the bridge examples didn't seem to actually DO anything.
(hope that is helpful to someone more than just me! :) )

Go Up