Connecting two Arduino Yuns over wifi

Hi guys!

I'm currently in the middle of a project involving connecting two Arduino Yun boards with a smartphone. The current premise is that one Yun has to send a message to another Yun and a smartphone.

I'm going to use Temboo to send a text to a smartphone upon a signal reaching the original Yun. However, is there a way of using Temboo to interface with the other Yun? I only need to trigger a function on the 2nd Yun, nothing special or anything.

I don't want you guys to do this for me, just point me in the right direction if possible!

Thanks
Ben

Hi Ben,
this is a possible solution.. the first one that came in my mind :drooling_face:
Supposing Arduino YUN A is the sender and Arduino YUN B is the receiver.. I would use an http connection for the communication between the 2:
1 - the arduino YUN B listen on a http page for request
2 - the arduino YUN A do "wget http://ip_yun_B/page?command" using bridge (wget is a tool to do http request and download page, maybe you can replace the command with something better...).
When the Arduino YUN B receive the data, it trigger the function.

This is a possibility.. not the best but it should works!
For Arduino bridge and http connection check this tutorial Hands on: the Arduino Yún's Bridge | Arduino Blog

Hi Ben,

I work at Temboo. There are several ways you could do this, and I would first suggest looking into using Amazon SQS via Temboo. We recently added an Arduino tutorial for this: Arduino Yún: Send commands to your Arduino Yún using Amazon SQS. SQS allows you to pass short messages among devices, which could be used to pass data or trigger functions remotely.

I hope that's helpful!

-Vaughn

vaughn-shinall:
Hi Ben,

I work at Temboo. There are several ways you could do this, and I would first suggest looking into using Amazon SQS via Temboo. We recently added an Arduino tutorial for this: Arduino Yún: Send commands to your Arduino Yún using Amazon SQS. SQS allows you to pass short messages among devices, which could be used to pass data or trigger functions remotely.

I hope that's helpful!

-Vaughn

Thank you! Gosh, you Temboo guys are so helpful! ^^