View unanswered posts | View active topics It is currently Sat Jul 31, 2010 10:45 am



Reply to topic  [ 76 posts ]  Go to page: 1, 2, 3, 4, 5, 6  Next
 iPhone...works 
Author Message

Joined: Oct 12, 2006
Posts: 24
Post iPhone...works
just a note that the iPhone works correctly with control pages (the AJAX ones) when done through Wifi on your local network. The iPhone does not support bonjour addressing, so you have to use IP addresses, but it does work and makes for an expensive remote control :)


Sat Jun 30, 2007 11:30 pm
Profile
User avatar

Joined: Dec 29, 2005
Posts: 528
Location: Third byte on the right
Post 
Image :wink:

_________________
"I tawt I taw a puddy tat!" Tweety


Sun Jul 01, 2007 4:40 am
Profile WWW

Joined: Oct 12, 2006
Posts: 24
Post 
Image


Sun Jul 01, 2007 3:35 pm
Profile

Joined: Jul 10, 2005
Posts: 160
Location: Northville, Michigan
Post 
I've found some good links on how to set iPhone specific CSS stylesheets. So it wouldn't be hard to make it fit the size/UI better.

now if only I had an iPhone ;)

Too bad there probably won't be salling clicker anytime soon due to the lack of an SDK. Could do a lot of interesting things like measuring ambient room light via the iPhone to then set the room lights accordingly. Or using the accelerometers to "shake" at devices to turn them on/off. Or "rotate" to change volume or light-level.

_________________
Share and read automation tips and setups:
http://automation.highearthorbit.com/wiki

Control Indigo from anywhere in the world:
http://highearthorbit.com/software/indigowidget


Sun Jul 01, 2007 4:19 pm
Profile WWW

Joined: Sep 07, 2005
Posts: 79
Location: NY
Post 
ajturner wrote:Could do a lot of interesting things like measuring ambient room light via the iPhone to then set the room lights accordingly. Or using the accelerometers to "shake" at devices to turn them on/off. Or "rotate" to change volume or light-level.


(Jaw drops in awe) You blow my mind Andy, you blow my mind. :D


Tue Jul 03, 2007 2:20 pm
Profile
Online

Joined: Jul 19, 2006
Posts: 159
Post 
... ok, so I redid all of my control pages to 480 x 320 and they pop up TINY on the iPhone. What size should I make them to fill the screen?


Tue Jul 03, 2007 3:42 pm
Profile

Joined: Oct 12, 2006
Posts: 24
Post 
Apple posted guidelines for making iPhone styles

http://developer.apple.com/iphone/


Tue Jul 03, 2007 7:45 pm
Profile
Online

Joined: Jul 19, 2006
Posts: 159
Post 
Thanks ... but I still can't find an example of the code that I need to add to my .css file to make it fit the size/UI better. Can you post one for me to use in portrait mode (320) ???

That would be wonderful :)


Wed Jul 04, 2007 9:05 am
Profile

Joined: Dec 14, 2004
Posts: 4
Post Re: iPhone...works
ethank wrote:but it does work and makes for an expensive remote control :)


Actually, it makes for a free remote control since I want one for phoning/Web/PDA/iPod functionality anyway. Home automation control on top of that? Gravy.

See, the glass is actually half full. :D

For an iPhone Indigo interface, I'd rather see the blueprint-style control scheme disappear. Give me a list of iPhone-looking button icons, one for each room in the house. Click the appropriate button, and it gives you a list of the items you can control in that list. Seems to me this approach would be much simpler to navigate on the small iPhone screen, and would stay consistent with the beautiful iPhone interface design.


Thu Jul 05, 2007 9:12 pm
Profile
User avatar

Joined: Dec 29, 2005
Posts: 528
Location: Third byte on the right
Post 
This is a bit off topic, but as you are looking for using the iPhone as a remote control, here's the e-mail I got from the developer of iRed.
iRed is used to send and receive IR commands on a Mac via an IRtrans.
And it works very well with Indigo using AppleScript.

Robert Fischer wrote:Dear iRed user,

I am very proud to release the first preview version of iRed 2 NOW.
It has been no beta testing yet, it's a preview release, however, I hope you understand, why I let it go into the wild so quickly:

iRed 2 runs on the iPhone!

Well, not really, because Apple has closed this device, but I've found an elegant way to use the resources I got, that is Safari on the iPhone! At least I hope that everything works as expected. I don't own an iPhone, too! You know, it's a little bit difficult here in Germany to get hold of this magic device.

If you are NOT an owner of an iPhone, you may be pleased as well, because you will also benefit from the massive technical overhaul:
- All VRCs are now free scalable, do support multiple fonts, images, what you like.
- Online repository, to download and share VRCs, IR codes and AppleScripts
- Very easy way to access a VRC with a web browser, even from anywhere on the Internet

Please have a look at "www.filewell.com/iRed2" to see some screenshots.
On a second page (www.filewell.com/iRed2/preview.html) there are the download links, screenshots of iRed 2 and the link to the manual with much more details.

Although I do NOT yet recommend to switch to iRed 2 completely, you may try out the new app without harming your iRed 1 installation. iRed 2 will import your archive at first startup, then you may import your VRCs just by Drag&Drop a VRC onto iRed 2's icon. All IR codes and AppleScripts will be imported, too. It will NOT import triggers, tuners, sequence codes, etc. yet. AppleScripting iRed 2 is also under construction, as well as control with commandline "ired", via sockets, or ired:// protocol.
The IRTrans configuration is worse than in iRed 1, no modules panel, etc., but it works at least as good as on iRed 1.

One caveat: iRed 1 and iRed 2 can't run at the same time!


So, please give it a try, I am eager to get your feedback, especially if you own an iPhone, and I will fix any problems which may occur, ASAP.



Stay tuned,

Robert

_________________
"I tawt I taw a puddy tat!" Tweety


Thu Jul 05, 2007 11:12 pm
Profile WWW

Joined: Nov 05, 2004
Posts: 62
Post 
I ran across this: http://groups.google.com/group/iphonewebdev/browse_thread/thread/f43493a828dffdb3

It seems that the key is to use a line like:

<meta name="viewport" content="width=320; user-scalable=false" />

in the head of the server pages. The thread goes into more detail, but I've patched my server templates, and the Indigo pages now open perfectly on my iPhone.


Fri Jul 06, 2007 2:28 pm
Profile
Online

Joined: Jul 19, 2006
Posts: 159
Post 
stoney wrote:I ran across this: http://groups.google.com/group/iphonewebdev/browse_thread/thread/f43493a828dffdb3

It seems that the key is to use a line like:

<meta>

in the head of the server pages. The thread goes into more detail, but I've patched my server templates, and the Indigo pages now open perfectly on my iPhone.


Yep, I figured that out last night and it works for me too :)


Fri Jul 06, 2007 3:59 pm
Profile

Joined: Dec 01, 2006
Posts: 39
Location: Sherman Oaks, CA
Post 
could one of you kindly post how to accomplish this? I've looked at the templates, but it doesn't seem to be HTML code.

thanks,
dan


Tue Jul 10, 2007 8:13 pm
Profile
Online

Joined: Jul 19, 2006
Posts: 159
Post 
editordz wrote:could one of you kindly post how to accomplish this? I've looked at the templates, but it doesn't seem to be HTML code.

thanks,
dan


Here is an example ... note that I had to make it 500 instead of 480 to give it a 10 pixel border on each side. The control page is 480 x 480 ...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title>Fletcher Home</title>
<link rel="stylesheet" type="text/css" href="fletcher.css" />
<meta name="viewport" content="width = 500" />
</head>

<body>
<p>
<iframe src="http://10.0.1.201:8000/controlpage?name=itunes" width="480" height="480" scrolling="no"</iframe>
</p>
</body>

</html>


Tue Jul 10, 2007 10:02 pm
Profile

Joined: Dec 01, 2006
Posts: 39
Location: Sherman Oaks, CA
Post 
thanks... Which file does this go into?

-Dan


Tue Jul 10, 2007 10:08 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 76 posts ]  Go to page: 1, 2, 3, 4, 5, 6  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.