View unanswered posts | View active topics It is currently Sat May 25, 2013 11:11 pm



Reply to topic  [ 66 posts ]  Go to page: Previous  1, 2, 3, 4, 5  Next
 iPad Control Page 
Author Message
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6667
Location: Austin, Texas
Post Re: iPad Control Page
nexx wrote:Jay,

out of curiosity, what do you use for as an amplifier attached between the airport express and the speakers?


I'm just using an old Pioneer (~20 yrs) amp as my whole house amp (attached to a speaker distribution system) although it's starting to sound crackly so it's probably time to replace it.

_________________
Jay (Indigo Support)
Image


Sat Jan 01, 2011 2:08 pm
Profile WWW

Joined: Jun 21, 2010
Posts: 11
Post Re: iPad Control Page
Hey Morps,
Thanks for your input. I'm still having issues getting it to work. Is it ok to PM?


Sun Jan 02, 2011 2:09 pm
Profile

Joined: Nov 01, 2003
Posts: 117
Post Re: iPad Control Page
Absolutely...


Sun Jan 02, 2011 3:10 pm
Profile

Joined: Nov 01, 2003
Posts: 117
Post Re: iPad Control Page
Just a cross-post courtesy, I have provided example and links for downloading a four state button sequence here: http://www.perceptiveautomation.com/userforum/viewtopic.php?f=3&t=6453. The buttons (ready to roll) are for thermostats as well as "home modes". Source Photoshop files are included. Read more at the url above.


Sat Jan 08, 2011 9:26 am
Profile

Joined: Feb 07, 2009
Posts: 8
Post Re: iPad Control Page
Jay,

I have successfully used your approach for creating the button images and script to control my HVAC (using Image Builder and PhotoShop was too bad at all). But for some reason, I'm really having some difficulty in apply the same process to my garage door.

I can easily add a device state button which controls the garage door perfectly. However, since the IO Linc is in Momentary C mode, the image of the device state resets to "off" a few seconds after issuing the command.

I see you have created an "Open/Closed" button on your interface. Can you share the logic you use to toggle the image between open and closed as well as control the garage door? As reference, I am using the Insteon IO Linc with garage door kit.

Thanks,
Jeff


Sun Jan 16, 2011 7:29 am
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6667
Location: Austin, Texas
Post Re: iPad Control Page
I have two images for the garage door - on where open is selected and one where closed is selected. In the control page, it's defined like this:

Display: Device State
For: Garage Door, Binary Input 1 (on/off)
As image: iOS Open Closed+.jpg
Caption: Garage Door is
Client action: None
Server action: Control Input / Output Device (Turn On Output output 1)

Remember - the IOLinc's outputs are the ones that do the commands and the input is the one that shows the state. Image names:

iOS Open Closed+.png (open image although it could be either)
iOS Open Closed+off.png (open image)
iOS Open Closed+on.png (closed image)

_________________
Jay (Indigo Support)
Image


Sun Jan 16, 2011 9:15 am
Profile WWW

Joined: Feb 07, 2009
Posts: 8
Post Re: iPad Control Page
Many thanks Jay. That did the trick. I forgot that I need to have three images.


Tue Jan 18, 2011 8:18 pm
Profile

Joined: Mar 31, 2008
Posts: 739
Post Re: iPad Control Page
HeadleyMon wrote:Many thanks Jay. That did the trick. I forgot that I need to have three images.

Why are 3 images needed? I am using two, one to represent the open and one for closed. Am I missing something?


Wed Jan 19, 2011 6:26 am
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6667
Location: Austin, Texas
Post Re: iPad Control Page
There's a bug that requires a base image (image+.png) even if you don't use it. Can't remember the exact details at the moment but it's just best practice to make sure you have a base image. If you're not experiencing any problems then good on ya! ;)

_________________
Jay (Indigo Support)
Image


Wed Jan 19, 2011 10:18 am
Profile WWW

Joined: Mar 28, 2010
Posts: 13
Post Re: iPad Control Page
First of all, thanks Jay. After getting my iPad I wanted to create a similar page to control all my lights and thermostats -- seeing your detailed example made it possible.

I wanted to experiment a little to see if i could change the mode directly without having to cycle through the different states of the thermostat. So first I made the -- Off-Cool-Heat-Auto buttons as part of the background image but all in the off state (grey). Then I created a transparent off state and blue on state images for each of the buttons. I then set the Display: Device State, For: Thermostat1 and Mode is Heat (true/false), and the Server action to Control Thermostat and set mode "Thermostat1" to heat on.

So far everything seems to work fine. But I am a little concerned about the temp control buttons. Currently the server actions are set to increase/decrease heat setpoint by 1, and noticed that there are separate server actions for heat vs cool -- so I am afraid this will not work in Summer when I switch to AC.

Did you add logic to make the buttons behave differently based on heat vs. cool mode? But then what do you do if the mode is auto?

Thanks in advance.

Haseen


Tue Jan 25, 2011 11:53 pm
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6667
Location: Austin, Texas
Post Re: iPad Control Page
I have two actions: one to increase/decrease the heat setpoint, one to increase/decrease the cool setpoint. It doesn't matter what mode the thermostat is in, this will always work.

_________________
Jay (Indigo Support)
Image


Wed Jan 26, 2011 10:58 am
Profile WWW

Joined: Mar 28, 2010
Posts: 13
Post Re: iPad Control Page
Hmmm... I thought your screen only showed one pair of arrows for each thermostat. I was thinking of doing something like this in code...

if mode=cool then
adjust cool setpoint
else if mode=heat then
adjust heat setpoint
else if mode=auto then
?? don't know what to do :?:
else
// ignore when off
endif

Haseen


Wed Jan 26, 2011 1:12 pm
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6667
Location: Austin, Texas
Post Re: iPad Control Page
It does. When you hit the up button, it increases both setpoints. When you hit the down button, it decreases both setpoints. No scripting necessary. It doesn't matter what the HVAC mode is (heat on, cool on, etc) - you can still set both setpoints.

_________________
Jay (Indigo Support)
Image


Wed Jan 26, 2011 3:20 pm
Profile WWW

Joined: Apr 01, 2003
Posts: 823
Location: Rio Rancho, NM
Post Re: iPad Control Page
Here's my iPad control page that I have been working on for years. Only recently has it become something useful.

Image
photo by gregjsmith, on Flickr

_________________
Greg In The Desert


Mon Feb 14, 2011 1:24 pm
Profile WWW

Joined: May 13, 2006
Posts: 66
Location: Copperas Cove, TX
Post Re: iPad Control Page
Here's my simple iPad control page. I was going for something along the lines of the school map in the Harry Potter movies, but I haven't had the time to sit down and do some hand-drawn lights and fans. The floor plan was done in Keynote and was incredibly easy. I'm looking forward to using additional control fonts in Indigo 5 ;)

Image



Edit (21 Feb 2011), updated to make it more 'sketch'-like:

Image


Last edited by hammer32 on Mon Feb 21, 2011 12:55 pm, edited 1 time in total.



Sun Feb 20, 2011 2:43 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 66 posts ]  Go to page: Previous  1, 2, 3, 4, 5  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.