Homeseer to XLobby

Help each other out

Homeseer to XLobby

Postby Skibum on Sun Nov 27, 2005 6:35 pm

Hi

I currently have XLobby and Homeseer talking together, and I can control devices from XLobby. Very cool

How do I go about displaying Homeseer Device information in XLobby?

Thanks
Skibum
 
Posts: 26
Joined: Wed Sep 29, 2004 1:52 am
Location: Canton, Connecticut

Postby Skibum on Mon Nov 28, 2005 8:12 pm

Hasn't anyone one get this working? :cry:
Skibum
 
Posts: 26
Joined: Wed Sep 29, 2004 1:52 am
Location: Canton, Connecticut

Postby Skibum on Tue Nov 29, 2005 10:15 pm

Could someome please tell me if this is possible?
Skibum
 
Posts: 26
Joined: Wed Sep 29, 2004 1:52 am
Location: Canton, Connecticut

Postby andymorgan1 on Wed Nov 30, 2005 8:19 am

Hi Skibum...I had to wait a while for a response too but its worth the wait. Cheers Andy
andymorgan1
 
Posts: 15
Joined: Thu Nov 10, 2005 8:53 am

Postby ptrinchi on Wed Nov 30, 2005 11:03 am

Sorry for the delay.

With the XAP3 plugin you can intercept a specific kind of incoming XAP message and create 2 fields with the variables founded in the message. Then, in XL you will be able to use those fields to show texts or images.

If I take your request in example, you wanted to show HomeSeer Device information in Xlobby!

1-To do this you must first tell the plugin that it will intercept HomeSeer Device change messages (class xAPBSC.event). This can be made in the plugin configuration window with the incoming tab (It will change the parameters in the event.xml file) I have already made this configuration for HomeSeer and few other XAP applications so you can download the event.xml file here http://www.france.xlobby.com/forum/ptrinchi/events.zip , copy it on the plugins\xAP-Xlobby\Schema directory and restart Xlobby.

2–In XL, you can display 2 variables named state and text for each device. Go to your screen and create a text zone. For displaying the state variable of a device named light in the location bedroom (location and name are found in HomeSeer), put plugin>xap-xlobby>state>bedroom.light. For displaying the text variable of a device named temp in the location kitchen, put plugin>xap-xlobby>text>kitchen.temp

3-Xl can also display 2 kind of image for each device, one for state and one for text device. First you have to create all the images.
For state images, the name of each image must be like location.device.state.png. For example, I wanted to show image for the state on and off of my bedroom light, I would create 2 images, bedroom.light.on.png and bedroom.light.off.png. Those 2 images must be in the plugin\xap-xlobby diretory.
For text device it’s the same. For example, I wanted to show image for the text alert and normal of my livingroom alarm detector (location = livingroom and name=alarme), I will create 2 images, livingroom.alarme.normal.png and livingroom.alarme.alert.png
Then go to your screen and create a text zone. For displaying the state image of a device named light in the location bedroom, put plugin>xap-xlobby>image>bedroom.light. For displaying the text image of a device named alert in the location livingroom, put plugin>xap-xlobby>imagetext>livingroom.alert

That’s all …but the plug can also execute Xl commands when a special kind of incoming xap message is intercept. For those who wanted to understand how the events.xml file is made and what we can do with it, you can read the explanation below.
The events.xml file contain a message description for each xap message you wanted to intercept. If you open the file the first description is for HomeSeer Change.

- Name tag is for best understanding but not used in the plug.
- Class tag is the class of the message you wanted to intercept
- Address tag is the address of the message you wanted to intercept.
- Body tag is the explanation on how we create state and text variables. In this example, state=[state] will indicate that the Xl state variable will be field with the state line of the message (it’s the same for text). But if you look forward in the file you will see other line like state=You have [msg] new Mail(s) from [from]. When Xl interpret this line, it’ll take the msg line and the from line of the source xap message and put the values in the text.
- Xlobby tag is the description of the event you wanted to execute when this message is found. <xlobby>goto:goto menu</xlobby> will launch the event goto menu founded under the group goto. Only skin event can be started (those under skin in xlobby events manager)
- device tag is to specify if the name of the device is found in the address (like mi4.HomeSeer.computer1:bedroom.light then put <device>address</device>) or in a specific line in the body of the message (for example, your device name is B2 and you can find it on the line IDNAME=B2, put <device>[idname]</device>).

by :wink: [/url]
Last edited by ptrinchi on Wed Nov 30, 2005 12:21 pm, edited 2 times in total.
ptrinchi
 
Posts: 108
Joined: Fri Sep 10, 2004 8:52 pm
Location: France

Postby Skibum on Wed Nov 30, 2005 11:29 am

Thank you French Team!

I'll try this after work this evening... :)
Skibum
 
Posts: 26
Joined: Wed Sep 29, 2004 1:52 am
Location: Canton, Connecticut

Postby Skibum on Wed Nov 30, 2005 12:18 pm

Could not wait to test... actually this was what I had tried without success.
The syntax must be correct, because there is no event listed in the text box, it is just blank. Do I need to specify anywhere the exact messages I want to intercept? (I can see the proper messages in a xap viewer)

Does XLobby and Homeseer need to be on the same machine?
Skibum
 
Posts: 26
Joined: Wed Sep 29, 2004 1:52 am
Location: Canton, Connecticut

Postby ptrinchi on Wed Nov 30, 2005 12:32 pm

there is no event listed in the text box
in witch text box ?

Do I need to specify anywhere the exact messages I want to intercept?
no, you have to specify some filter information like class and source but for begining quickly all the descriptions are coded in the events.xml file I post below. Have you downloaded the events.zip file with the latest events.xml file ?

When this file downloaded restart Xl, go to config (F2, plugin, chose xap... and then press config)
Go to incomming tab and then you will see on the left a list box named Triggers on xap incomming messges with 4 lines. Make sure you have a line like "homeseer change - xapbsc.event" and an other like "homeseer change - xapbsc.info" Those two lines intercepts all the homeseer change messages.
ptrinchi
 
Posts: 108
Joined: Fri Sep 10, 2004 8:52 pm
Location: France

Postby Skibum on Wed Nov 30, 2005 12:56 pm

Sorry... If I create a textbox in XLobby, and then specify plain text, it is correctly displayed... If you are calling a plugin correctly, no text is displayed.

I did not have the correct events.xml file in place. I replaced and restarted, and on quick check, did not see information.

I'll have to look again after work. Thank you so much for your assistance. It is appreciated!
Skibum
 
Posts: 26
Joined: Wed Sep 29, 2004 1:52 am
Location: Canton, Connecticut

Postby Skibum on Thu Dec 01, 2005 1:54 am

Working great..

Thank you again. :)
Skibum
 
Posts: 26
Joined: Wed Sep 29, 2004 1:52 am
Location: Canton, Connecticut

Postby ptrinchi on Thu Dec 01, 2005 7:30 am

I will give your thanks to all the Xlobby French Team... :wink:
ptrinchi
 
Posts: 108
Joined: Fri Sep 10, 2004 8:52 pm
Location: France

Postby justonemore on Sat Dec 03, 2005 4:45 pm

Thanks ptrinchi!

Working great here now for me as well after following your examples.
justonemore
 
Posts: 33
Joined: Sat Sep 18, 2004 12:54 pm
Location: Levittown, PA (outsite Philly)

Postby Skibum on Sun Dec 04, 2005 2:58 pm

It is possible to have XLobby capture homeseer.change events?
They seem to flow at a much faster rate than BSC events.

Thanks
Skibum
 
Posts: 26
Joined: Wed Sep 29, 2004 1:52 am
Location: Canton, Connecticut

Xap text shows opposite valvue.

Postby Echnics on Thu Jan 19, 2006 6:36 am

Hei!
I finaly have Homseer and Xlobby talking together.
But when i try to display text from Homeseer,it shows the oposite text.
Have a gameport plugin on homeseer to show door status.
And a script to change the status to "Open" and "Closed",
instead of on and off.
But in Xlobby i get "Open" when homeseer shows "closed",and vise versa.
Any idea anyone?

Hope you understand my English :D

Echnics from Norway
Echnics
 
Posts: 3
Joined: Mon Apr 11, 2005 10:32 pm
Location: Norway

Postby drodegeb on Thu Jan 26, 2006 8:02 pm

I can't get the xap3 plugin to show up in the latest xlobby, how can I get ahold of an older version that still works properly with the xap3 plugin?

Thanks,

Dave
drodegeb
 
Posts: 9
Joined: Tue Jan 04, 2005 2:44 am

Next