Exosite and Arduino Yun WiFi upload code advice

Hi all :slight_smile:

I would like to upload temperature sensor readings to Exosite like in this post:-
http://support.exosite.com/hc/en-us/articles/200095738-Arduino-Basic-Temperature-Monitor

I would like to use an Arduino Yun via Wifi to upload the information. I've attempted to use the code/sketch mentioned in the guide though unfortunately I'm pretty new to the interface with the internet and was wondering if any one could give me some guidance on how the sketch would require adjusting for the Yun and Wifi rather than Ethernet?

Thanks in advance for any pointers :smiley:

Hey indieflow,

Modifying that code to work on the Yun should be pretty easy. I don't have a Yun handy to test with, but from memory is should just be a matter of changing:

  • The included files at the top.
  • The initialization code for the Client class. (in the setup function)
  • Optionally changing all the Serial.print statements to use the Bridge library

This page should have most of the information you'll need: http://arduino.cc/en/Reference/YunClientConstructor

I work for Exosite and actually wrote the library that that demo uses, so let me know if you have any other questions. I've got some code at home that I wrote to monitor my washer and dryer that I can post for you later tonight if you'd like.

Azdle:
Hey indieflow,

Modifying that code to work on the Yun should be pretty easy. I don't have a Yun handy to test with, but from memory is should just be a matter of changing:

  • The included files at the top.
  • The initialization code for the Client class. (in the setup function)
  • Optionally changing all the Serial.print statements to use the Bridge library

This page should have most of the information you'll need: http://arduino.cc/en/Reference/YunClientConstructor

I work for Exosite and actually wrote the library that that demo uses, so let me know if you have any other questions. I've got some code at home that I wrote to monitor my washer and dryer that I can post for you later tonight if you'd like.

Please, would be interesting to see your code :slight_smile: