I'm looking at hacking around a bit to accomplish a certain task. What I'm trying to do is have my iPhone send certain data over the internet, and have the data available to action scripts in Indigo.
Off the top of my head, the way I've thought of to do it is:
* Create an iPhone app that sends the data I'm interested in to the mac running Indigo server, via a TCP socket
* Create a program on the mac that runs in the background. It listens on a port and accepts incoming connections. When the iPhone app connects, it reads a packet, and based on the value in it, it writes a true/false status to a file.
* Create an Indigo action that does something conditional on the true/false status in the file.
Is there a simpler way to accomplish this task?
Thanks in advance,
Joe