Text entry via Control Page?

Posted on
Tue Jan 27, 2009 5:31 pm
tridens offline
Posts: 35
Joined: Jan 12, 2009

Text entry via Control Page?

Apologies if this has been asked/covered ... but is there a way to have a text entry box on a control page?

The ability to change a variable's value from afar would be extremely useful!

Thank you!

Posted on
Tue Jan 27, 2009 5:43 pm
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

(No subject)

Try the IWS Variable Plugin in the User Contribution Library. It doesn't work with Indigo Touch, but it works great in web pages.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Jan 27, 2009 8:41 pm
tridens offline
Posts: 35
Joined: Jan 12, 2009

(No subject)

Jay,

Thank you, I'll give that a try.

Any chance the Indigo Touch app might be able to incorporate its own text entry function? :D

Posted on
Tue Jan 27, 2009 8:54 pm
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

(No subject)

It's in the plan, but we don't know yet if it'll make the first release.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Dec 13, 2012 2:06 pm
alang_94526 offline
Posts: 250
Joined: Apr 13, 2009

Re: Text entry via Control Page?

Any update on this?
I would also have several use cases where this feature would be great.

Posted on
Thu Dec 13, 2012 2:24 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Text entry via Control Page?

It has been in there for quite a while. Create a new Variable Value control object on the Control Page then set the Client Action to Popup UI Controls. When touched it will let you type in a new value.

Image

Posted on
Thu Dec 13, 2012 2:43 pm
alang_94526 offline
Posts: 250
Joined: Apr 13, 2009

Re: Text entry via Control Page?

Oh. That IS cool. Thanks.

Posted on
Thu Dec 13, 2012 2:47 pm
alang_94526 offline
Posts: 250
Joined: Apr 13, 2009

Re: Text entry via Control Page?

The only thing I need now is to be able to set a Venstar Heatpoint to a variable rather than a hard-coded value.
It doesn't seem possible. Is there a way to do it?

Posted on
Thu Dec 13, 2012 3:17 pm
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Text entry via Control Page?

With a python script script:

Code: Select all
try:
    setPoint = int(indigo.variables[VARIDHERE].value)
    indigo.thermostat.setHeatSetpoint(THERMOIDHERE, value=setpoint)
except:
    # the value of the variable couldn't be converted to a number so log an error
    indigo.server.log("Couldn't convert variable value to number")

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Dec 13, 2012 8:40 pm
alang_94526 offline
Posts: 250
Joined: Apr 13, 2009

Re: Text entry via Control Page?

Thanks. I've never used Python but that worked for me.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests