Basic Home Automation via xAP BSC enabled devices (updated 9-01-2008) (2 Viewers)

ricatti

Portal Member
March 26, 2005
5
0
"architectural help needed"

Hi,
first of all, many thanks to Patrick for plugin and support.
I need some help set up my hardware:

- an "Homeseer Server" (Cm11 (usb), 1-Wire sensor, Usb-uirt)

- 2 Mediaportal HTPC

My goal is to launch homeseer events from Mediaportal Htpc, but i don't know exactly what i need, and the plugin configuration. Are others cm11 required?

Thanks
Luca
 

patrick

Portal Pro
April 20, 2005
608
45
Southeast
Home Country
United States of America United States of America

patrick

Portal Pro
April 20, 2005
608
45
Southeast
Home Country
United States of America United States of America
Hi,
first of all, many thanks to Patrick for plugin and support.
I need some help set up my hardware:

- an "Homeseer Server" (Cm11 (usb), 1-Wire sensor, Usb-uirt)

- 2 Mediaportal HTPC

My goal is to launch homeseer events from Mediaportal Htpc, but i don't know exactly what i need, and the plugin configuration. Are others cm11 required?

Thanks
Luca

Luca,

I am not very familiar with Homeseer but the basic idea is that you install
one of the xAP Connectors for Homeseer(on the Homeseer server) and this
in turn allows you to make Homeseer devices available as xAP BSC devices
and then those devices can be auto-detected and controlled by this plugin
(on the same computer or over a network).
So basically the cm11 attached to your Homeseer box is fine but you need
an xAP connector installed with Homeseer as well.

Hopefully I answered you question, if not just let me know and I will do my best to help.

Thanks,
patrick
 

ricatti

Portal Member
March 26, 2005
5
0
thank you patrick. i have a succesfull interaction mp/homeseer on the same machine, but some problems when mp is running on a client pc.

I got hub and xapviewer running on server and client: looks like the bha plugin doesn't receive and send xap messages. the devices list is populating inside mediaportal and xapviewer logged traffic from hs server to client.

Probably i miss something in xap network configuration (hub/vendor names?). Do you have any hint?

Luca
 

patrick

Portal Pro
April 20, 2005
608
45
Southeast
Home Country
United States of America United States of America
Hi Luca,

Strange, are there any firewalls running that could interfere?

If the devices are auto-populating on the MP machine it sounds like it is receiving xAP messages from the Homeseer box.
It could be something(firewall or other app) on the Homeseer box blocking the incoming connection/port or something on the MP box blocking the outgoing attempts.

HTH,
patrick
 

shred444

Portal Pro
May 13, 2006
143
0
Hey Peter,
So I finally received all my x10 hardware and can control the lights via the included software.

I added your latest version of BHA-f plugin, but when i go to configure it, i get a series of errors.

************** Exception Text **************
System.TypeLoadException: Could not load type 'BHACore.Database.SettingsDatabase' from assembly 'BHACore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
at BHAAhCmdLine.Settings.AhCmdLineSettings..ctor()
at BHAAhCmdLine.AhCmdLineController.Init()
at BHACore.BHADeviceManager.LoadPluginConnectors()
at BHAProcessPlugin.BHAPlugin.Start_NonGUI()
at BHAProcessPlugin.BHAPlugin.ShowPlugin()
at MediaPortal.Configuration.Sections.PluginsNew.itemConfigure_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

once that window pops up, i get an illegal operation in media portal.

Any idea what this could mean?
 

shred444

Portal Pro
May 13, 2006
143
0
to further explain my previous post,

i also tried version F from the first post on this forum thread. Using this version, I get another Exception error

BHA error log:
6/22/2007 3:04:29 PM - HADatabase: Index Exists SQL: SELECT name FROM sqlite_master WHERE name LIKE 'objectClassName_idx' and type = 'index';
6/22/2007 3:04:29 PM - HADatabase: Cleaning Up Object Propety Table
6/22/2007 3:04:29 PM - Switched LogLevel to: Normal
6/22/2007 3:04:36 PM - BHAPlugin: BHAProcessPlugin: Calling DeviceManager.LoadPluginConnectors
6/22/2007 3:04:36 PM - BHAPluginManager: Loading Conntroller Plugins

exception text:
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {001000AF-2DEF-0208-10B6-DC5BA692C858} failed due to the following error: 80040154.
at BHAAhCmdLine.AhCmdLine.AclCommandSender..ctor()
at BHAAhCmdLine.AhCmdLineController.StartUp()
at BHAAhCmdLine.AhCmdLineController.Start()
at BHACore.BHADeviceManager.StartPluginConnectors()
at BHAProcessPlugin.BHAPlugin.Start_NonGUI()
at BHAProcessPlugin.BHAPlugin.ShowPlugin()
at MediaPortal.Configuration.Sections.PluginsNew.itemConfigure_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 

Users who are viewing this thread

Top Bottom