tags:

views:

262

answers:

1

Hi,

I want to use ssh protocol. I want to make an app to transmit signal that would ultimately converted to control IR based home appliences (like controlled by IR remote control. i.e TV)

This stuff is new to me. I don't have any clear understanding about how it will be possible.

I got suggession to use SSH :

->Install SSH on your server.

->Configure your Network / Router to forward the SSH port to server and

->use the SSH client on the iPhone.

Now. Is it the only way? someone also suggested to develop UPnP base app!

Is there any sample code available using which I can learn How to transmit the signal from iphone to do above. Any guidence is appriciated.

Please give some guidence if anybody has done such thing before or if they know how to do? so that i can understand the flow and put my efforts afterwards. thanks in advance.

+3  A: 

If I understand correctly, you want to go iPhone->IR transmitter->(some device that is controlled by IR)

If so, you probably want to use whatever protocol the IR transmitter device is expecting. If it's not expecting anything, I would look to HTTP, rather than SSH. Implementing SSH on the iPhone sounds like a huge hassle, and the only benefit of it is the tight security. Unless the device you are controlling is a nuclear weapon, I would go with some simple HTTP authentication.

For example, if it was a TV you were controlling, you could just request http:///remote.php?action=turnonthetv from your server. Then you'd use a PHP script to generate the IR signal to turn on the TV. This moves a lot of the logic off of the iPhone, which may or may not work with what you're doing.

Kenny Winker
Hi kenny , Thanks a lot for this help. Now the concept is more clear in my mind.Now the only question is regarding generating the IR signal.so If possible please explain bit more so that flow gets more clear. It is really very helpful to me Thanks.
Nic
I mean is there any special Hardware requirement for that?
Nic
What if My Server is far from the TV set. Will it work?
Nic
Yeah, you are going to need visual contact between your server and the TV set. I don't think macs ship with IR transmitters (only receivers) these days, so you'll need some external hardware. That ought to come with an SDK that will show you how to generate an IR message.
Kenny Winker
Rambo
http://lmgtfy.com/?q=usb+ir+transmitter
Kenny Winker