NEW - MLHAI Plugin and Agent

Plugin for the HAI family of security panels
User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

NEW - MLHAI Plugin and Agent

Postby CinemarDave » Thu Oct 08, 2009 8:16 pm

After 26 years in development an ALPHA test version of the new MLHAI_Agent is available for anyone who would like to experiment with it. Version 3.75.3568.31934 of the Agent is available in the beta section of MLInstaller. Do not run this on production MLServer PCs.

This is the initial alpha test release. The Agent is not yet 100% functional but is more than 90% there. The agent is now using the new HomeAuto SDK and communicates to the HAI panels using the new OMNI Link II protocol. You'll need to be using 3.x version firmware on your panels and the Agent has only been tested using the network connection. Firmware 2.16e and above can be used but HAI does not recommend using the 2.16e firmware with OMNI link II as is has known problems and therefore will not be supported. I am testing the Agent using version 3.2a firmware on an OMNI Pro II panel.

I am primarily interested in the following
1) Stability - this agent no longer has to poll for every bit of information. Does your panel stay connected for long periods of time.
2) Does the Agent collect the appropriate information from the panel on startup?
3) How is it handling events? What events is it missing.
4) How does the command builder work. Do the commands actually work? Which ones don't
5) What errors are being generated. Your events logs will be helpful.
6) Any and all other strange things that may happen

Again. DO NOT USE this agent on any production MLServer. Have fun...

ricks
Is there life beyond Cinemar?
Is there life beyond Cinemar?
Posts: 1127
Joined: Wed Oct 27, 2004 7:01 pm
Location: Latham, Massachusetts
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby ricks » Thu Oct 08, 2009 10:06 pm

After 26 years of development, Dave still has a sense of humor. :) Can't wait to light the candle.

User avatar
DaveB
Simply Incredible
Simply Incredible
Posts: 3143
Joined: Sun May 30, 2004 10:57 pm
Location: Mays Landing, NJ
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby DaveB » Thu Oct 08, 2009 10:41 pm

Dave Rick and All;

Here we go... I am up and running and will report back....
Thanks!

Dave Bruner
:shock:

ricks
Is there life beyond Cinemar?
Is there life beyond Cinemar?
Posts: 1127
Joined: Wed Oct 27, 2004 7:01 pm
Location: Latham, Massachusetts
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby ricks » Fri Oct 09, 2009 9:37 am

Hi Dave,

Installed latest MLHAI plugin, several problems.

OMNI II, v3.0 firmware, serial connection

1. Agent will not start on MLServer startup or system startup.
2. No data shown in plugin, see attached 3 files.

Note that this is a serial connection.

Rick
You do not have the required permissions to view the files attached to this post.

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby CinemarDave » Fri Oct 09, 2009 12:21 pm

I have not tested through the serial port at this time. Please use the network connection for now. If you panel does not have a network interface then hold off your testing until I can test on the serial port here.

ricks
Is there life beyond Cinemar?
Is there life beyond Cinemar?
Posts: 1127
Joined: Wed Oct 27, 2004 7:01 pm
Location: Latham, Massachusetts
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby ricks » Fri Oct 09, 2009 3:41 pm

Will do. Thanks.

User avatar
DaveB
Simply Incredible
Simply Incredible
Posts: 3143
Joined: Sun May 30, 2004 10:57 pm
Location: Mays Landing, NJ
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby DaveB » Fri Oct 09, 2009 5:22 pm

DaveP;

Agent was working then starting blowing up. It starts and connects and starts getting data, then fails and windows shuts it down. It did this all day when I was not here. See the log below from windows. Nothing getting logged in the program side. I will try a system reboot and will report back.

Log Name: Application
Source: Windows Error Reporting
Date: 10/9/2009 6:16:39 PM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: GIGA
Description:
Fault bucket 763175706, type 5
Event Name: CLR20r3
Response: None
Cab Id: 0

Problem signature:
P1: mlhai agent.exe
P2: 3.75.3568.31934
P3: 4ace876d
P4: HAI.Controller
P5: 1.0.0.3
P6: 14
P7: 1d3
P8: 30
P9: System.InvalidCastException
P10:

Attached files:
C:\Users\dbruner\AppData\Local\Temp\1\WER48F6.tmp.version.txt

These files may be available here:
C:\Users\dbruner\AppData\Local\Microsoft\Windows\WER\ReportArchive\Report18938860
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-10-09T22:16:39.000Z" />
<EventRecordID>14145</EventRecordID>
<Channel>Application</Channel>
<Computer>GIGA</Computer>
<Security />
</System>
<EventData>
<Data>763175706</Data>
<Data>5</Data>
<Data>CLR20r3</Data>
<Data>None</Data>
<Data>0</Data>
<Data>mlhai agent.exe</Data>
<Data>3.75.3568.31934</Data>
<Data>4ace876d</Data>
<Data>HAI.Controller</Data>
<Data>1.0.0.3</Data>
<Data>14</Data>
<Data>1d3</Data>
<Data>30</Data>
<Data>System.InvalidCastException</Data>
<Data>
</Data>
<Data>
C:\Users\dbruner\AppData\Local\Temp\1\WER48F6.tmp.version.txt</Data>
<Data>C:\Users\dbruner\AppData\Local\Microsoft\Windows\WER\ReportArchive\Report18938860</Data>
</EventData>
</Event>
Thanks!

Dave Bruner
:shock:

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby CinemarDave » Fri Oct 09, 2009 5:26 pm

It is blowing up inside the HAI.Controller.dll. We'll have to see if the Agent event log has anything in it. The System.InvalidCastException means that it is either getting some strange data from the panel or I'm sending some strange data to it.

User avatar
DaveB
Simply Incredible
Simply Incredible
Posts: 3143
Joined: Sun May 30, 2004 10:57 pm
Location: Mays Landing, NJ
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby DaveB » Fri Oct 09, 2009 5:43 pm

I may have been doing this to myself. I never turned off the restart script and scheduler for the agent. I previously was restarting the agent every half hour to prevent the lock up issue from prior, and it was still running. I will let this thing fly a bit tonight and report back in the morning. Not going to be around this weekend, so I will need to pick it up once more on Sunday night.
Thanks!

Dave Bruner
:shock:

User avatar
DaveB
Simply Incredible
Simply Incredible
Posts: 3143
Joined: Sun May 30, 2004 10:57 pm
Location: Mays Landing, NJ
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby DaveB » Fri Oct 09, 2009 5:45 pm

CinemarDave wrote:It is blowing up inside the HAI.Controller.dll. We'll have to see if the Agent event log has anything in it. The System.InvalidCastException means that it is either getting some strange data from the panel or I'm sending some strange data to it.



OK I will turn aggressive logging on and will let you know.
Thanks!

Dave Bruner
:shock:

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby CinemarDave » Fri Oct 09, 2009 5:46 pm

It's just the Agent's Event log that we'll have to track. MLServer's event log won't have the interesting bits.

ricks
Is there life beyond Cinemar?
Is there life beyond Cinemar?
Posts: 1127
Joined: Wed Oct 27, 2004 7:01 pm
Location: Latham, Massachusetts
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby ricks » Fri Oct 09, 2009 6:02 pm

As a side note, per my post above my install wasn't receiving any data and I HAD shut down the Exit/Restart script before installing. So even though my install was not receiving any data through the serial port it crashed in the same manner described by DaveB.

Rick

User avatar
DaveB
Simply Incredible
Simply Incredible
Posts: 3143
Joined: Sun May 30, 2004 10:57 pm
Location: Mays Landing, NJ
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby DaveB » Fri Oct 09, 2009 6:07 pm

Some other observations so far -

This thing is lightening fast. MLS is picking up my light motion detector status' nearly immediately.

I am still picking my way through your new naming convention. Where do I pick up the Ready/Not Ready and current alarm mode (Day Night Off...) status from? I can not locate those items.
Thanks!

Dave Bruner
:shock:

User avatar
DaveB
Simply Incredible
Simply Incredible
Posts: 3143
Joined: Sun May 30, 2004 10:57 pm
Location: Mays Landing, NJ
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby DaveB » Fri Oct 09, 2009 9:51 pm

Dave;
Going well so far after I stopped the restart script.

A few issues that I noticed all revolving around temperature;

I am back to not having the ability to see any of my auxiliary temperature and humidity sensors. Zone type is correct however, just need the data to appear someplace.

No outside temperature reported via thermostat 1

No way to change between Celsius and Fahrenheit

No arming status by area

No ready/not ready status by area

No current thermostat mode (Run Cool, Run Heat) <--- new capability if you have the latest type of HAI tstat.

I will keep looking for more.
Thanks!

Dave Bruner
:shock:

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: NEW - MLHAI Plugin ALPHA test Agent

Postby CinemarDave » Sat Oct 10, 2009 2:24 pm

As noted in the initial post please do not concern yourself too much with server variables at this time. I am hoping that you can test the commands via the command builder interface and watch how the agent responds in the event log. Look at the various values displayed in the grids and pay close attention to the event log. The HAI dll has a million different events that it can generate. I'm only trapping the ones that I have seen being tripped by my panel. If you see messages in the Agent event log with words like "UNHANDLED" then that is an event I have to process that is current being ignored. I need to know what event that was.


Return to “MLHAI”

Who is online

Users browsing this forum: No registered users and 1 guest