variables

Help each other out

variables

Postby a0192677 on Wed Sep 22, 2004 2:48 am

I am new to Xlobby and can not figure out how to use variables.
For instance, I see how the "Now Playing" screen has a button with
the following text:
"audioplayer>now>%genre%"
Where is this located?

Thanks.
a0192677
 
Posts: 7
Joined: Tue Sep 21, 2004 9:20 pm

Postby BaddaBing on Wed Sep 22, 2004 3:01 am

Colby has written a great document on Xlobby variables and events. You can find it here: http://www.xlobby.incolby.com/EventVariableSheet
BaddaBing
 
Posts: 557
Joined: Fri Mar 26, 2004 2:39 pm
Location: DFW Texas

Postby a0192677 on Wed Sep 22, 2004 3:07 am

Thanks for the quick responce.

Is there a way to create custom varables for a new screen that can be assigned and referenced later?
a0192677
 
Posts: 7
Joined: Tue Sep 21, 2004 9:20 pm

Postby Colby on Wed Sep 22, 2004 3:23 am

such as?
Colby
 
Posts: 929
Joined: Mon Feb 02, 2004 7:42 am
Location: Brookline Station, MO, USA

Postby a0192677 on Wed Sep 22, 2004 12:54 pm

I am trying to do Homeseer integration and from the forums looks like
its easy for Xlobby->Homeseer communication via the hsc command.

It is not clear to me how to do the reverse and what that really means is ensuring Xlobby knows the current status of devices in homeseer before it displays a screen.

Therefore I thought if I can create custom variables in Xlobby like:
living_room_lamp
where living_room_lamp=ON or living_room_lamp=OFF, then I would refer to this variable in the button text of a custom screen.

It is not clear to me how to "create" a variable like that or "assign" it.
Of course then I need to figure out how to communicate that from homeseer but need to understand custom variable capabilities first.

Ultimately I would like to have "conditional buttons" that displayed different images depending on the variable status...but again, one step at a time.

Appreciate everyone's help.
a0192677
 
Posts: 7
Joined: Tue Sep 21, 2004 9:20 pm