Thursday, December 30, 2010

********************************************************
If you are a landlord please check this out...
********************************************************

The version v1.1.5 has been released.

I recently purchased a DSC TL150 module and installed it in a DSC 832 PC5010 system. It works OK in local network via a web interface, but it’s difficult to check the system status from outside of your network.

In order to view the system status from anywhere, I built a Windows service application and installed it in my home server. The Windows service running on 24/7 and pulls data from TL150 periodically. It can be configured to sends an alert email when any zone opening is detected. In addition, the service can be configured FTP an HTML to a user specified web server so the system status can be viewed anywhere through a web browser. I use it to check the opening/closing status in my iPhone all the time.

Here are the main features for v1.0:

1. Pull TL-150 data every 15 seconds
2. All data logged in different log files by date and hours for easy searching
3. Send alert email when a zone is triggered (configurable)
4. FTP a HTML to a web server (configurable)
5. Email monitor scheduled by a global setting or by day of week setting

I have tested it on WinXP Pro and Win2003 Server and it works great. Here are some screenshots from my iPhone.



The version v1.1.

The new features in v1.1 are,
1. Send email when the event changes such as arm, disarm and alarm trip.
2. A new nqtWeb package that allow you arm/disarm the system remotely through web browser.

System Requirements:
- DSC Security System with TL150 Internet Communicator installed
- A PC running on 24/7
- Windows XP with Service Pack 2, or Windows 2000/2003 Server
- Microsoft .NET Framework 2.0 with Service Pack 2
- (Optional) Microsoft IIS web server for nqtWeb package




Download

nqtService v1.0
The User Guide (Updated on 1/24/2011)
The Windows package (please use v1.1)

nqtService v1.1
The User Guide (Updated on 2/19/2011)
The Windows package
SMTP Server and Email Testing tool (IIS web server is required)

nqtService v1.1.1 (a patch release)
The patch package (Updated on 3/31/2011)
What's new in v1.1.1:
- Sending email for armed system only

nqtService v1.1.2 (a patch release)
The patch package (Updated on 4/10/2011)
What's new in v1.1.2:
- Fixed a bug so that an email will be sent when system was disarmed

nqtService v1.1.3 (a patch release)
The patch package (Updated on 4/11/2011)
What's new in v1.1.3:
- Fixed a bug for "Not Ready" system status
- Added and produce more debug info

nqtService v1.1.4 (a patch release)
The patch package (Updated on 4/26/2011)
What's new in v1.1.4:
- Improved disarm condition checking so that sending disarm emails more reliable
- Fixed FTP must 'on' problem and make FTP an optional

nqtService v1.1.5 (a patch release including v1.1.(1)(2)(3)(4) bug fixes)
The patch package (Updated on 5/16/2011)
What's new in v1.1.5:
- Added new do-not-monitor zone setting

nqtService v1.1.5Full (full package for new users)
The User Guide (Updated on 5/16/2011)
The Windows package (Updated on 5/16/2011)

nqtService v1.1.6 (a patch release; v1.1.5 is required)(**New**)
The patch package (Updated on 7/12/2011)
What's new in v1.1.6:
- Make email configurable for arm/disarm events

Please leave your questions or comments on this page.

**************************
[Ad] diamond buyer
**************************

149 comments:

Anonymous said...

Please ask questions here.

Thanks,
Eric

Anonymous said...

I am also interested in buying a TL-150, but I am not sure what can it do. Can you post some images with the TL-150 graphical interface in order to see what kind of information does it offer ?

I haven't install my DSC system yet, I just look for the options for communication part now.

I've noticed there are IT-100, IT-120, TL-150, TL-250 and TL-260gs that are available for monitoring and configuring depending on the needs you have.

The IT-120 does WSDL ...

Best regards,
Bogdan

Eric said...

The TL-150 has two pages one for user and one for admin login. This one is user logged in page link, and this is admin (config) page link

Because I have not enough information for admin configuration I did't do anything about it. I think it's more for central office use. I need more info about the protocol if want to do something with it.

What I (the Windows service) did that just pull the user's page information and check the status, send email and rebuild html page for FTP. That works pretty well.

Thanks,
Eric

Anonymous said...

Have you read about IT-100 before purchasing the TL-150 ?

I like your app since it sends messages on changes, which is what most of the users want. But it seems to me that is not the right module for you.

IT-100 is RS232 and as far as I could understand it does all communication needed by a windows service like you have created in order to give all the data you can request. Is very cheap also !

IT-120 is ethernet type and is used to interconnect to the life-ware app, and basicly you can connect to a home automation application via a Web Service on Device (SOAP & stuff)

Best regards,
Bogdan

Anonymous said...

BTW, there is an application that can be used to see what IT-100 / PC5401 can do. Just look for the PC5401.zip in connection with DSC

Anonymous said...

Bogdan,

Thank you for the information.

I only know that DSC provides different type of interfaces but didn't read any except the IP module like TL-150. Actually my friend use TL-150 and tell me it’s good.

My opinion is that the RS232 interfaces is Ok but not as easy as IP interface. The major problem for me is that I have to use a long RS232 cable from alarm box to my PC. I just took a look at the PC5401 Tester video and look very good with many features.

For me in addition the email capability I want the web access/viewing the ststus any time.

Thanks,
Eric

Anonymous said...

Eric

Great Information! I have been thinking about adding the TL-150 to my system. I have a few questions. Does the tl-150 allow you to set a static IP address?
I noticed that you Windows Sevice sends notifications when a zone is tripped. Does it send the email at all times or only when the system is armed?
Do you know if you service will run on Windows 7 (64 bit)?

Thanks,

Chuck

Eric said...

Hi Chuck,

1. There is no way to set a static IP address in tl-150. The IP address is assigned by your DHCP server.

2. The nqtService will monitor the system all the time and can send email all the times (armed or disarmed). Therefore, a scheduler is used to tell the process when you want the email monitoring.

3. I haven’t tried it on Windows 7 system but I guess it should work.

Thanks,
Eric

Anonymous said...

Nice work Eric, I wrote a similar service for the AD2USB device on an Ademco Vista. You should also make a post on http://www.diysecurityforum.com/ as I'm sure there will be many interested people there.

A minor point I can make is that in nqtService.exe.config you could also use the mailSettings element under system.net to define SMTP.

If you're interested I could also share a plugin interface I use that allows others to build custom plugins - maybe we could collaborate to allow modules that could be used interchangably?

Eric said...

Thank you for your suggestions! Do you have website to review your plugin interface?

Thanks,
Eric

Anonymous said...

The only download I have is for the application, but it does contain the plugin class as well.

http://www.tudorlodge.org/Com2Tcp.zip

Once you have the plugin class in your project you would need to add the additional lines of code as described below.

Add this variable to your main class definition:
IPlugin[] plugins;

Then in your class constructor use the following code:
try
{
string path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
plugins = Plugin.LoadPlugins(path);
}
catch (Exception ex)
{
Debug.WriteLine("Load plugins failed: " + ex.Message);
}

After you have that, you need to add this to an event that passes any information to the plugins:

foreach (IPlugin plugin in plugins)
plugin.InputReceived(this.Buffer);

That's pretty much it, but of course it can be expanded upon.

If you have any further questions, you can reach me using details in the readme file.

Anonymous said...

I am running Windows XP Pro, and cannot get the email notification to work. Do I need some sort of Mail service running on the server to send email?

FTP part works great too. Is there a way to put some sort of authentication or username/password protection?

Eric said...

In order to make Email monitoring to work you need the following setup.

1. SMTP server
2. Email monitoring schedule

SMTP server setting:
There is no necessary to run a mail service on your PC to send email. What you have to do is to set SMTP server information in the configuration file. I am using Comcast SMTP server with my Comcast ID. Do you have any free email account? If so you can use their SMTP server to sending email.

In my case,

<add key="smtpServer" value="smtp.comcast.net" />
<add key="smtpServerPort" value="587" />
<add key="enableSsl" value="no" /> (the SSL doesn’t work for me , so I am using none secure server)
<add key="senderUserId" value="myComcastID@comcast.net" />
<add key="senderPassword" value="myComcastID password" /> (the ID and PWD are needed for using Comcast SMTP server)
<add key="emailSubject" value="" />
<add key="sendToEmail" value="put a valid email account here to receive the email" />
<add key="sendToEmail2" value="" />

In addition to the SMTP server setting, the Email monitoring schedule must be set. Otherwise the email function won’t active.

Email monitoring schedule setting:
You can use either global setting, or day of week setting.

Use global setting:
Enter a Start time and End time as below.
<add key="startDateTime" value="2011-01-01 01:00"/>
<add key="endDateTime" value="2011-01-31 23:59"/>
The email monitoring is actived in a whole month. All Day of Week setting will be ignored.

Use day of week setting:
You have to set startDateTime to an empty string to use day of week setting as below.

<add key="startDateTime" value=""/>
<add key="endDateTime" value="2011-01-31 23:59"/> (this value will be ignored when startDateTime is an empty string)

<add key="Sunday" value=""/> (this means no email monitor. If you want, enter a time frame here)
<add key="Monday" value="08:00-20:00"/>
<add key="Tuesday" value="08:45-16:00"/>
<add key="Wednesday" value="08:45-16:00"/>
<add key="Thursday" value="08:45-16:00"/>
<add key="Friday" value="08:45-16:00"/>
<add key="Saturday" value=""/>

Regarding the nqt.html page authentication. The page itself has no authentication. If you FTP the page to your own web server, you can add the Basic authentication to the nqt.html file (that’s what I am doing). It’s not the best but better than nothing. Here is how.

1. Go to your IIS (Control Panel - Administrative Tools – Internet Information Services)
2. Go to your web site and looking for nqt.html file
3. Right click the file, then click the Properties
4. Click the File Security tab
5. Click Edit button in Anonymous access and authentication control section
6. Clear the Anonymous access check box if it was checked
7. Check the Basic authentication check box
8. And make sure the Integrated Windows authentication check box was checked
9. Click Ok button

After you did above a login dialog box will appear when you open the nqt.html page. I suggest you create a user or guest account for this access.

Please let me know if you have more questions.

Thanks,
Eric

Eric said...

Tested SMTP servers:

Comcast
SMTP server : smtp.comcast.net
Port : 587
SSL : no

Gmail
SMTP server : smtp.gmail.com
Port : 587
SSL : yes

Anonymous said...

Hey Eric - have you given any thought to implementing a plugin feature? If so, I'd be happy to collaborate on a mutual interface to work with.

Anonymous said...

Hi Eric,

Tried your nqtservice. Not getting any email because no one is home at the house I am monitoring remotely through the internet. Is there anyway to get the service to send email on arm and disarm events? Also on alarm trip events?

Eric said...

Thank you for the comments. The arm/disarm/alarm trip email notification are good features and not in v1.0. I will add them into next version.

Jpittscell said...

Eric,

I have been looking at doing a similar project with my tl-150 but I want to run it as webpage on my router running ddwrt and have the router send out the e-mails. Can you share your code on how you parsed the webpages of the tl-150 ?

Eric said...

Jpittscell,

In my case I just access the tl-150 'programmlly', parse the response contents and rebuilt the status page. I think we have same concept because we don't have much API info for this product and I even thinking the DSC doesn't provide any API for tl-150. (another possibility is use the Central Office protocal but again I/we don't have much info about it). BTW I am using Tomato on a ASUS router.

aprsfl said...

Eric,

Software for web monitoring control works great. Allows me to run SSL on the webserver with better authentication than just exposing the unsecure TL-150 to the internet.

I am having problems with e-mail though with 1.1. I run my own Linux based sendmail server, and it never even shows a connection trying to come in on the logs. No username/password required. Logs show e-mail enabled, but I just never get anything on any activity.

Ideas?

Thanks!
Dave

Eric said...

Dave,

Please make sure the Email monitoring schedule is right. A simple way to set schedule is set a value to startDateTime and endDateTime, and make sure it cover the current time. Bounce the nqtService.

If you have a gmail account please try use it first and make sure the email works (see my comments here about gmail smtp settings). The email will be sent out when zone opening is triggerd (regardless the system state).

For Linux I am not sure what's going on but I will upload a email testing tool (a web page) later here. You can use it to try your Linux mail server. The tool will output more exceptions in error condition.

Thanks,
Eric

Eric said...

Dave,

I just did a test and looks like the .Net MailMessage does not allow empty sender/password. So please use username/pssword in your Linux mail server and try it again.

Thanks,
Eric

Jey said...

Excellent solution. Thank you for sharing it.

I'm using it in a PC1565 equipped with TL-150 and my server is XP-SP3 with no-ip dynamic DNS server.

I would be great if you could add it the feature to only send zone activity emails if system has armed status.

Best regards, Julián.

Eric said...

Julián,

I will update it soon.

Thanks,
Eric

Lester said...

I would like to second Julian's comment about adding an option so that the system sends emails only when the system is armed. I would like to add that the system should always email both the armed and disarmed events in addition to the intervening zone events.

Eric said...

Hi Julian/Lester,

The email will be sent in both armed and disarmed system if the Email monitoring schedule was set.

The patch (v1.1.1) will send email in armed system only if the new feature is turned on (regardless the Email monitoring schedule settings).

Thanks,

Lester said...

Hi Eric,

Excellent! Thank you for the update. If I have any problems I'll let you know

Lester said...

Hi Eric,

I tried v1.1.1 and I can't get it to work. I have the new parameter set as follows:


With this setting no emails and no ftp updates. When I switch back to v1.1 using exactly the same config file then everything works normally. Can you check this when you get a chance?

Thanks
Lester

Lester said...

Hi Eric,

The parameter setting did not show in the last post. It should be:
key="autoEmail4ArmedSystemOnly" value="Off"

Thanks
Lester

Jey said...

Thanks a millon Eric.
I'll try it soon.
Cheers, Julián.

Eric said...

Lester,

I am not sure why it's not working but I have another copy here, which was compiled with VS2005 (the v1.1.1 was compiled with VS2008). Please download it and give it a try.

I have used both v1.1 and v1.1.1 in my Win2003 server without any problems.

Pleas let me know if it's still not working.

Thanks,
Eric

Lester said...

Hi Eric

That alternate version did nor work either. When I revert to v1.1 it starts working again. If you're comfortable with releasing the source code to me then I can try and debug it on my end (I have VS2005 and 2008). Otherwise hopefully you can reproduce the issue based on my symptoms.
Let me know if you find anything. I'd really like this to work with the system in armed mode only.

Thanks
Lester

Eric said...

Lester and Julián,

Please redownload v1.1.1 and it should work.

The problem was that I forgot to change the 'release' tag so a 'testing' version was released. Sorry about that.

Thanks,
Eric

Lester said...

Thanks for the updated software Eric. This version works like a charm!

One thought for a future update is that I'd like to be notified of all disarm events as well as arm events with the autoEmail4ArmedSystemOnly key set to "On". Right now it looks like you send notifications on the arm events but when the unit is disarmed I get no notification that a disarm has occurred. This event would be useful if, for instance, the unit is disarmed unexpectedly in the middle of the day when no one should be home (perhaps a burglar has acquired the arm code somehow).

Thanks for the great work on this software!

Regards
Lester

Eric said...

Lester,

Good to hear it's working. Noted and will get it improved in next update.

Thanks,
Eric

Jey said...

Well, it isn't working for me.
From the logs it's not recognizing system is armed. Then, no emails sent when open zones.
On the other hand, logs are showing "Email was sent 45 seconds ago" line every 15s while it is no any email sent.
May be the part of code reporting this should be after condition of system armed that filter email activity.
Finally, I'll second Lester in his last suggestion and adding the option to report activity in a particular zone disregarding if armed in on. For instance 24hs monitoring sabotage zones.
Thank you for all your effort to build up this excellent solution.
Regards, Julián.

Eric said...

Julián,

Can you explain more dtatils for the problem - is it totally not working, or some functions are not working?

Thanks,
Eric

Jey said...

Sorry Eric.

No emails sent since new version installed.
Logs are being genrated ok, so it is recording system activity.
But with system armed I opened one zone and no email was received.

Cheers, Julian.

Eric said...

Julian,

Can you confirm that your email setting is right and you received email before? Also have you added the new config line

<add key="autoEmail4ArmedSystemOnly" value="On" />

into the nqtService.exe.config file?

I just tested system and everything works (except the problem that Lester pointed out)

Thanks,
Eric

Jey said...

Hi Eric,

Yes, I was receiving emails before and after update no more.
Even my system is armed, on logs this line appears recurrently:
... : autoEmail is [On] and autoEmail4ArmedSystemOnly is [On] and sysStatus is []
... : System is not armed. No alert email.

Let me know what I could touch/try. Thank you.

Julián.

Jey said...

Hi Eric,

I was doing some tests today.

1) I changed autoEmail4ArmedSystemOnly to [Off] and started receiving emails.
2) I back to autoEmail4ArmedSystemOnly to [On] and didn't receive any more emails.

From the logs it is clear that even the system is armed, the nqtService daemon is not recognizing that state as it is showing this line always:

... : autoEmail is [On] and autoEmail4ArmedSystemOnly is [On] and sysStatus is []
... : System is not armed. No alert email.

Any ideas?
Thank you to bother.
Regards, Julián.

Eric said...

Lester/Julián,

I am so busy these days at work so my response is delayed...

Anyway, I have a bug fix for sending email when the system was disarmed. I have tested it and everything is working. Please give it a try to see if your problems are still there.

Julián, if it is still not working for you, I want to ask you that how old of your TL-150 card?

Thanks,
Eric

Jey said...

Hi Eric,

I appreciate your effort in developing this service. Don't worry about times.

Unfortunately, this new version it's not working for me either.

My TL-150 unit is brand new, brought just 3 or 4 month ago.

Here it is the Firmware Version:
001.012 MAC: 001C2A001502

I don't know how I could help for debugging.

Thank you,
Julián.

Eric said...

Julián,

I think you have two problems here:
1. If you set autoEmail4ArmedSystemOnly to "On" and you want to receive alert email, your system MUST be armed - means enter the code on the keypad (or from nqtWeb page) then open your main door and go (that's 'away armed'). If you don't arm your system and autoEmail4ArmedSystemOnly="On" you won't get any email even you open any door or windows.

2. I noticed that your log shows the sysStatus is [] (empty), that's not good. Please download v1.1.3 and send me the log file. Your log should have lines like this,

4/11/2011 9:39:29 PM : recorded every 15 seconds...
4/11/2011 9:39:30 PM : DayOfWeek Email Monitoring is off.
4/11/2011 9:39:30 PM : 2011-04-11 20:36 - System Time
4/11/2011 9:39:30 PM : ftp is on.
4/11/2011 9:39:30 PM : The system status is [Ready].
4/11/2011 9:39:30 PM : 1 CLOSED: 47 Minutes Ago

Thanks,
Eric

Unknown said...

Hi Eric,

Thanks very much for addressing the issue where there was no notification when the system was disarmed. I want to reiterate that I definitely appreciate the hard work you are putting into this software. I'll test this new version and let you know how it goes.

Thanks
Lester

Jey said...

Hi Eric,

I fully agree with Lester.
You are doing a great job here.

I'm aware about having system armed to test email sent activity.

May be because my alarm is too old (PC1585) it is sending different report code for armed/disarmed status.

With the new version this is what I get on logs:

13/04/2011 17:00:57 : sStatus_1 is [Unknown]
13/04/2011 17:00:57 : autoEmail is [On] and autoEmail4ArmedSystemOnly is [On] and sysStatus is [Unknown]
13/04/2011 17:00:57 : sysStatus is [Unknown]. Sending alert email...

And of course service in bombing me with emails...

I’ll arm the system and I’ll send you same screen grab with details.

Thank you once more.
Julian.

Eric said...

Julian,

Please make sure to set 'yes' for systemStatus in the config file.

key="systemStatus" value="yes"

Then stop/start the service. Please let me know the results.

Thanks,
Eric

Jey said...

Hi Eric,

I checked that it was:
key="systemStatus" value="yes"

I also tried using admin instead of user to login to TL-150. No luck either.

Thanks, Julián.

Eric said...

Julián,

How about ftp settings? Please set it on,

key="ftp" value="on"

Thanks,
Eric

Jey said...

Hi Eric,

Congratulations! Selecting ftp "on" makes daemon to recognize system status now.

There is any way to solve this as I don't need/want the service to send data to my ftp server?

Thank you!
Julián.

Eric said...

Julián,

That's a good news!

Actually it's a bug. The ftp=on shouldn't be a required setting. But for now you can set it 'on' with a fake ftp account. The ftp uploader will fail and doesn't hurt.

Thanks,
Eric

Jey said...

No problem Eric,

I'm using my ftp site but with fake user so no big issue.

Let me know if I could be of any help for future updates.

Cheers, Julián.

Unknown said...

Hi Eric,

I've been running the latest version (1.1.3) for a few days now and it is working well. I now get both arm and disarm events. This solution, coupled with a couple of surveillance cameras that I also run gives me a very nice self monitoring solution.

Thanks
Lester

Jey said...

After some days testing:
"It works brillant".
Thank you Eric.
Regards, Julián.

Eric said...

I am glad to hear it worked for you.

Thanks,
Eric

Love from Claudia said...

Hi there,

I am trying to figure out if the DSC Wireless Alexor System with the DSC TL265GS IP/cellular alarm communicator or the TL-260gs is able to be setup same way as using the TL-150?

I don't want to use a monitoring service, I would like to self monitor. I would also like to use my iphone as I have seen the app for this. Is this possible?

If anyone can break it down in lamens terms I would be forever greatful :)

thanks,

Claudia

Unknown said...

Hi Eric,

After leaving the system running for a few days I am noticing that there are still some situations where I do not get a disarmed notification. I have copied a section of the log file where this recently happened below:


26/04/2011 5:56:23 PM : 2017-04-26 17:56 - System Time
26/04/2011 5:56:23 PM : ftp is on.
26/04/2011 5:56:23 PM : The system status has been changed from [Away Armed] to [Not Ready].
26/04/2011 5:56:23 PM : autoEmail is [On] and autoEmail4ArmedSystemOnly is [On] and sysStatus is [Not Ready]
26/04/2011 5:56:23 PM : System is not armed. No alert email.
26/04/2011 5:56:23 PM : 1 OPEN"
26/04/2011 5:56:23 PM : sStatus_2 is [Not Ready]
26/04/2011 5:56:23 PM : autoEmail is [On] and autoEmail4ArmedSystemOnly is [On] and sysStatus is [Not Ready]
26/04/2011 5:56:23 PM : System is not armed. No alert email.
26/04/2011 5:56:23 PM : 2 CLOSED: More than 1 hour ago
26/04/2011 5:56:23 PM : 3 CLOSED: More than 1 hour ago
26/04/2011 5:56:23 PM : 4 CLOSED: More than 1 hour ago
26/04/2011 5:56:23 PM : 5 CLOSED: More than 1 hour ago
26/04/2011 5:56:23 PM : 6 CLOSED: More than 1 hour ago
26/04/2011 5:56:23 PM : 7 CLOSED: More than 1 hour ago
26/04/2011 5:56:23 PM : 8 CLOSED: More than 1 hour ago
26/04/2011 5:56:23 PM : 9 CLOSED: More than 1 hour ago
26/04/2011 5:56:23 PM : 10 CLOSED: More than 1 hour ago
26/04/2011 5:56:23 PM : 11 CLOSED: More than 1 hour ago
26/04/2011 5:56:23 PM : 12 CLOSED: More than 1 hour ago
26/04/2011 5:56:23 PM : 13 CLOSED: More than 1 hour ago


When you have a chance can you check into this?

Thanks very much
Lester

Eric said...

Lester and Julián,

I have v1.1.4 available now. Please give it a try.

Thanks,
Eric

Jey said...

Brillant Eric,

I had installed it last night.
I'll let you know if any issues after few days testing.

Thank you once more for all you effort.
Regards, Julián.

Jey said...

Hi Eric,

After a short testing period I'll say that it seams to work ok.

Even that, I had a situation that may be it is not contemplated in current version.
I armed the system with away/arm but leaving one zone open.
To do that I just excluded the zone using *1(zone)# option.
Because the zone was open while system was armed I was receiving an email every 15s.
This could be avoiding if the condition to send emails is when a zone change of status only.
I know this will be adding more and more complexity to your develop.

Best regards, Julián.

Eric said...

Julián,

Yes, there is no such features in current release. One possibility is to support an exceptional list that hold none-monitor-zone numbers. It works only if these openning zones are not frequently changed. If none-monitor-zone(s) changes from time to time, the current model (configuration file model) is not good. A database driven model will work better for the configuration changes in real time.

Thanks,
Eric

Anonymous said...

hello - does this work with the TL-250? or is it 150 only
Thanks

Anonymous said...

I don't have TL250. I don't know it work or not. I guess it will not.

Thank,
Eric

Anonymous said...

Hello.
Thanks for this good job.
But i have a problem.
When i try to connect by my brownser with this adress:
C:\Documents and Settings\cachousam\Mes documents\serveur web pour dsc\nqtWeb\dsclogin.aspx

I have this display




<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="dsclogin.aspx.vb" Inherits="nqtWeb.dsclogin" %>





Login Page




<..><.. align=center>DSC MySecurity Login
<..><.. align=center BGCOLOR=red>

Eric said...

You need put the nqtWeb files to your web server's home and bin (nqtWeb.dll) directory. The ASP.NET 2.0 is required setting for your web site.

Thanks,
Eric

Anonymous said...

Hello,
That still does not work.
I am running vista with IIS7.
I do not know how to check the version of asp.net.
I am attaching the screen of my tests.


http://img7.imageshack.us/img7/1589/iis4.png
http://img88.imageshack.us/img88/846/iis3.png
http://img850.imageshack.us/img850/7681/iis2.png
http://img40.imageshack.us/img40/889/iis1.png

Unknown said...

Hi Eric,

Sorry, been busy at work the last little while and just got a chance to install 1.1.4. I'll let you know how the disarm notification works after letting it run for a few days.

Thanks
Lester

Eric said...

Looks like blogger.com has problems now...

[ To get Blogger back to normal, all posts since 7:37am PDT on Weds, 5/11 have been temporarily removed. We expect everything to be back to normal soon. Sorry for the delay.

Posted by at 04:25 PDT
-- http://status.blogger.com ]

Eric said...

I have a setup guide for Windows 7 IIS here. Anyone who don't know how to install nqtWeb on Win7 IIS can take a look. (I am also a newcomer for Win7)

Thanks,
Eric

Unknown said...

Hi Eric,

The Disarm changes you made for v1.1.4 are working well. No Disarm events have been missed since I implemented this version. I'll try v1.1.5 over the weekend and let you know my results on that version.

Thanks
Lester

Anonymous said...

Hello,
I'm really sorry but I greatly need your help.
when I want to browse the site with iis i have this screen

http://img836.imageshack.us/img836/1218/iis5.png

When I connect the TL150 I have good screens:

http://img155.imageshack.us/img155/1788/iis6.png
http://img821.imageshack.us/img821/4695/iis7.png

when I connect with the address I h++p://localhost/nqtWeb/dsclogin.aspx this screen:

http://img835.imageshack.us/img835/9972/iis8.png
and
http://img684.imageshack.us/img684/8918/iis9.png
and
http://img577.imageshack.us/img577/385/iis10.png

Where is the problem or the wrong value in which file?

Thanks for advance

Eric said...

Hi,

It's normal error when you point you browser to http://localhost/nqtWeb because your IIS Default Document setting only auto open default/index.htm, default.asp and index.html from your nqtWeb directory. If you want to auto open dsclogin.aspx you can manually created a default.htm file and redirect the page to dsclogin.aspx. Or add a new Default Document file name (dsclogin.aspx) from IIS properties setting.

Hope this help.
Thanks,
Eric

Anonymous said...

Eric, great job putting this all together. I've installed your service and configured IIS. I also just ordered the TL-150 module and I'll let you know once I've get everything working. Thanks for all your efforts on this project.
Greg

Eric said...

Greg,

Glad to hear that you will try it. Please let me know if you have any questions.

Thanks,
Eric

Anonymous said...

Hi Eric,

I installed the TL-150 plus all your latest code from the 1.1.5 package. I've been able to get everything working except email notifications. The logs are indicating emails are sent but wireshark proves otherwise. I just tested email origination via your smtp server test tool and it was successful. I'm pretty sure I've tried all possibilities in the service config file (nqtService.exe.config). I've also tried uninstalling and re-installing down to version 1.1. Do you have any ideas why emails are not getting out? I'm using smtp.gmail.com with ssl on port 587

Thanks for your efforts on this project. We all owe you one!

Greg

Anonymous said...

Hi Eric,

Just an update: I received my first emails from the house just now! It seems that the "Global Email Monitoring" feature may not work as I expected. I'll do a bit more investigating and let you know what I find.

Thanks again!

Greg

Eric said...

Greg,

If you installed v1.1 you have to download v1.1.5 and follow the readme to replace the executable and add some configuration key/values to the config file.

I suggest you just use v1.1.5Full package.

Please check these settings (case sensitive):
1. set "autoEmail" to 'On'
2. the SMTP server settings are right
3. Email mornistring schedule are right. Please use this setting for your testing.
"startDateTime" value="2011-06-01 01:00"
"endDateTime" value="2011-06-30 23:59"

There is a bug in v1.1.4 and older version that the "ftp" must set to "on" in order to make email working. It was fixed in v1.1.5.

Please let me know if you checked everything and still not working.

Thanks,
Eric

Eric said...

Greg,

I just saw your update.

The service always check the schedule. If you don't use Global schedule - the value of "startDateTime" is an empyt string - then you have to fill out all time frame for DayOfWeek. The empty value for any day in DayOfWeek setting means no email monitoring for that day.

Thanks,
Eric

Anonymous said...

Hi Eric, Thanks for your help again. I think I have everything working but is there a way to configure the service only to send emails for zone violations while the system is armed? What I mean is that I don't want to get an email for a disarm or arm events. The reason for this is because I'm not using a third party monitoring service, thanks to your great work! Perhaps I can use a previous version that didn't send alerts for arm and disarm state changes. What do you think?

Thanks from Vancouver,

Greg

Anonymous said...

Greg,

I am glad to hear it worked for you.

The current design is to send emails for all events plus the zone activities when autoEmail4ArmedSystemOnly = 'Off' and armed system only when it's 'On'. But in both cases the system events are included.

The v1.1 will send zone activities email regardless the system states, but again the armed/disarmed events are also included.

I will think about your situation and maybe add it to next update.


Thanks,
Eric

Anonymous said...

Eric,
It's still working perfectly. It's a good solution for me. I've worked around the email issue by using filters in outlook to forward armed zone violations to SMS. Everything else goes to an alarm folder. Unfortunately this is client side forward which only works when the client is running. Thanks for your work on this project!
Greg

Eric said...

Greg,

Please try v1.1.6. Let me know if you have any questions.

Thanks,
Eric

Hernan said...

Eric,

I just found your blog and the application is very interesting. I will try it this week.

I will give you a feedback of how it goes.

Thank you for sharing your work.

Jey said...

Hi Eric.

Thank you as always for the work on this excellent project.
I had just installed version 1.1.6 from 1.1.4. So far everything is ok.

If you have any chance to make the mayor upgrade accounting for deliberate excluded open zone configuration when arming system, avoiding sending zillions of emails when this happens, it will be much appreciated.

I know it’s lot work as to accomplish this it is necessary to hold a memory state for each available zone and only sending emails when zone change from close to open.

By the way, I was 1 month 12000km away from home and one night alarm was shot. My neighbors had key and they entered home, checked everything was ok and left mistaking arming the system. Whit your nqtservice I managed to monitor this entire situation remotely and acting in consequence (arming the system using web interface). Very useful having this for self monitoring DSC. Thank you.

Best regards,
Julián.

Anonymous said...

Hi Eric,

I just noticed you've updated the service to 1.1.6. Everything seems to be working great but I did the update remotely so I'll have to get home and trigger an event before testing. Thanks very much for your efforts on this project. I'm sure you're helping many grateful people become independent from the greedy alarm monitoring companies!
Thanks again for adding the arm/disarm email switch.

Greg

Anonymous said...

Hi Eric,

Version 1.1.6 is installed and working well.

Thanks for all your work on this!

Lester

Chefboyrd said...

Hi Eric ... I am very interested in trying your software but I can not seem to get to the keepandshare location where your files (download or user guide) are stored.

It tells me: "You (user name chefboyrd) have just tried to access a document in another KeepandShare account. To view it you need to ask the owner of the other account to set the Sharing controls to give your KeepandShare user name "chefboyrd" rights to view the document.").

Could you please friend me (or whatever the process is) so that I can take a look. Thanks

Anonymous said...

Hi Chefboyrd,

Are you trying to download from this blog page, or somewhere else? I just downloaded software package and user guide from this blog, everything works OK. Please give it a try and let me know if it still doesn't work for you.

Thanks,
Eric

Eric said...

Hi Chefboyrd,

I think I know your problem. Please download v1.1.5Full, not v1.1 (I have removed link anyway).

Thanks,
Eric

Chefboyrd said...

I was able to get everything working ... I had a couple of problems that I ran into and was able to work thru ... I thought would pass back (to help others):

FTP
- If IIS doesn't install ftp you you will have to install it manually (Control Panel > Add or Remove Programs > Add/Remove Windows Components > Application Server (Details) > IIS (Details) > FTP (add)
- Then I found that the easiest way was to create a new users (Local Users and Groups > Users) ... Add a user "ftp_user" (give him "User" access). Then make sure that he has (modify) permissions to both the nqtWeb directory your created and "C:\Inetpub\ftproot"). Then Default FTP Site make sure that the local path is the nqtWeb directory you created.

SMTP
- Google worked for SMTP (port 587)... make sure you open 587 on both the Server and the Router (should go without saying ... but I forgot)

A couple of items that I have questions about:

- Is there anyway to shorten the format of the email message to allow for sms (it gets hacked off)?
- Couldn't get the smtp debugger to work ... not sure why ... (but was able to work around)?
- Would like to turn off the send message for "Exit/Entry Delay" and "Alarm Status Disarmed and Armed" would like it to be for "Alarm System is Tripped" only ... Or another email address for this (so I can set an emergency notification sound)?
- Why does my system go into "Stay Armed" every time unless I arm it from the Keypad Pad (then I can get "Armed Away"?
- I added a redirect to go to the nqt.html page ... it just made things easier to navigate.
- I have a couple more ideas (of improvements) and was wondering if I might be able to get the soucecode ... I would gladly like to contribute to the effort

Great work Eric and much appreciated !!

Chefboyrd said...

Sorry, I just realized that you made the change for the ARM/DISARM with version 1.1.6 (I just installed to 1.1.5 ... will install patch later and see how that part works :-) ... Again great Job

Eric said...

Chefboyrd,

Thank you for your comments. Here are some answers for your questions,
1. The email messages are hard coded and I will try to move them to the configuration file in next release.
2. Can you explain more about smtp debugger issue?
3. Have you tried v1.1.6 to turn off the email for 'arm/disarm' events?
4. Did you open the main door when/after you armed system? My system working well - if I am inside of house and armed system without open main door the system will go into 'Stay Armed'.

Thanks,
Eric

Chefboyrd said...

Thanks Eric:
1. Moving the meassage to be configurable would be great.
2. Version 1.1.6 'arm/disarm' works great ... No more emails :-)
3. As for the SMTP debugger issue (emailtesting.aspx). I'm getting
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'nqtWeb.emailtesting'.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="emailtesting.aspx.vb" Inherits="nqtWeb.emailtesting" %>
Line 2:
Line 3:

*** I find an increased importance of being able to check your email due to the fact that the 'arm/disarm' email is being disableded. This would provide a sanity check to make sure the email system is functioning correctly without having to login to the server and change settings ... or physically trip the system.
4. Is there a way to set 'Alarm Away' without opening a door?

5. It would also be nice to add a configuable link (like to a webcam or something 'if people have one' so they can check on the house in case of a false alarm)
6. It would also be nice to maybe have a configurable list of contacts 'police' .. 'neighbor' .. 'relative' so that if the system is tripped you can have someone check the house (this would avoid the extra step of looking the data up)
7. This one is a personal thing ... we tend to leave our garage door open at night ... it would be nice if we could configure a setting to send an alert for something like "If zone 7 is open for 1 hour after 20:00 - 7:00am then send an alert), this would be with or without the system enabled.
*** I could write something to look a the logs ... but it kinda make sense to do it within the tool)

As I said ... I am willing to help out ... just limited in what I can currectly see. Great application and changes !!!

Eric said...

Chefboyrd,

1. SMTP debugger issue - Please copy/move nqtWeb.dll file to your web server's bin directory. I have reproduced error here if I moved it somewhere else.
2. for your question #4 - I don't think we can do it.
3. Your #5 and #6 are very good suggestions I will add such features in next release.
4. Your #7 suggestion is a 'complicated' one, let me think about it.

I'm glad to know it works for you!

Thanks,
Eric

Helen White said...

So nice information over alarm monitoring. I did read the blog three times because I liked it so much. Thanks for sharing.

Crile said...

Eric,

This is a wonderful tool. I was beginning work on something simular and found that you had already completed the task... Thanks for the hard work.

A couple questions:

1) Is there a way to turn logging off? Once the setup is complete, email is working, alarm is monitoring, ftp is in place etc, it seems a waste to keep dumping constant infomation to disk. If a problem presents, logging can be turned back on and the issues reviewed. This should make background performance a bit better over the long haul. I might have missed it in the config file, but I didn't see a flag to disable logging.

2) Have you considered combining the nqt.html and dscact.aspx files??? It might be a nice option to be able to control the system and display current system status. Of course it would have to remain as two files as they are today, but with asp it is simple to read the contents of the html file into the aspx. Once that is done, it would allow for some new features of views to advance your system. This might allow for sessions to stay open and reduce the number of logins and code entries. You could set things up to enter things once and then for the duration of the session you have full control of the system-- just a thought.

As a side note, when I arm my system I am getting an Action Failed despite successful arming. Not sure the cause, but the code is working flawlessly-- just throwing a failure code or getting a failure from the tl150.

Great work. I am really glad to have stumbled across your site.

Crile said...

I forgot to make one other feature suggestion:

Connection Monitoring- if the services stops hearing from or being able to properly contact the tl-150 for xxx amount of time, that should be treated as if the alarm were going off for a connection tamper / failure. This would help to ensure that communication errors will be caught and addressed in a timely fashion without a false sense that the house is being monitored.

Eric said...

Crile,

Thank you for your comments.

1. There is not a switch to turn off the logging. It was designed in that way so the log file can be reviewed when error happens, or no email received but opening events were happened.

2. The nqt.html file can be FTP to any host, not just your own web server. The dscact.aspx, however, must be ran from your web server. I haven't think to combing them together.

3. Your 'Connection Monitoring' suggestion is a good one. I will think about it.

Thanks,
Eric

Anonymous said...

Has anyone tried this package on the 64-bit version of Windows 7? I'd really like to set up a server for this, but I'd hate to drop $150 on a TL-150 and find out that Win7 64bit chokes on it.

Thanks for the good work on developing this!

-Steve

Anonymous said...

Will this work with the envisalink 2DS module? I can't seem to find a TL-150 in stock and the envislink 2DS is half the price. It was mentioned on a HA forum as a replacement for the TL-150.

I too would like to use this with Windows 7 64-bit.

Brian

Eric said...

1. I don't think it will work with envisalink 2DS.
2. I haven't try it on a 64-bit PC. I will post a result when I get a chance.

Thanks,
Eric

Anonymous said...

It works fine within a 64 bit environment. I'm running windows 7 pro 64bit.

Greg

Anonymous said...

Hi Eric

You may really want to check-out the Eyez-On EnvisaLink 2DS. It is a lot cheaper than a TL150 and it already does nearly everything you do here.

Also they are releasing an API that will allow it to work like an IT-100 except right over a TCP/IP port. No serial required. The put a request for beta developers on their forum.

Would probably be a really simple port for you and give you a lot more options on functionality.

Jeff

Anonymous said...

Downloaded lastest full version and service works fine, email etc. New log file everyday. Problem with web service. Have a webserver on Win XP. Installed files in intpub\wwwroot\nqtweb. For the life of me cannot connect to nqt.html. Where does this file come from. Is it created by the aspx files? If I try to connect to the aspx files from a web browser it tells me I do not have permission to do so. Any thoughts. Read the pdf file over again and doubled checked the config files.

Eric said...

The nqt.html is generated by nqtService every 15 seconds. The file location is defined by your FTP settings in section 5.8 of nqtService Guide. After you see the nqt.html page, there is ARM button on the top of page. Click it, you will see a login page (dsclogin.aspx).

Anonymous said...

Eric
Thanks, got the web page going, missed the steps in 5.8 :) Was not interested in FTP so just skipped it.
Question. My local ISP want the "From" field in emails filled in. Is this a key I can create in the service config or is ther more to it. Thanks

Anonymous said...

Figured out the from field from previous blog posts. works great. Nice job on the software.

Anonymous said...

I am having issues starting the service. Everytime I start it, it stops right away. I checked the monitoring schedule and every option I can think of.

Its running on windows server 2003.

thanks

Marc

Eric said...

My process is running on Windows server 2003 without problem. Is anything in log file? Have you installed TL-150 before start the service?

Anonymous said...

The TL-150 is installed and I'm even running it with a DSL iphone app.

There is no log file. the folder is empty. The service just doesn't seem to want to start.

I uninstalled and reinstalled and the problem is the same.

any suggestions?

Marc

Unknown said...

Hi Eric, I'm Henry and I have tried your solution.
There's any possible way that you can share the source code with me? the main reason is that I would like to create a webservice to achieve remotely the same you did, and in addition, I would like to use it to integrate many TL-150 modules access, and become it multilingual, if you think this could be interesting, I could put the source code in some kind of sourceforge.net or suvversion to share it with you, that way as a way to thank you, you could get the same source code that I'm developing, and even improve it...
Please, take a time to answer me to my email if possible, and if you have certain conditions for share/sell the source code, please let me know, I'm very interested and I think I can also give you a good extended solution...
Thanks in advance and hope you can answer me asap.

Henry

Anonymous said...

ndyfromCan you have 2 instances of nqt service running on the same server, differnet directories, two monitor 2 different DSC alarm panels on the same network.Realize can't connect to both using netbios but need to use ip address.

Eric said...

I think it's worth a try. Make sure you installed nqtService and everything is working by use IP address of first TL-150. Then copy whole directory ~/nqtServiceSetup to a different floder ~/nqtServiceSetup2. Next, create a user-defined service (http://support.microsoft.com/kb/137890) for second nqtService.

Unknown said...

Can anyone help me what is the next process i should take.
best home alarm system

Unknown said...

Hi - I am having trouble witht he service. I start it and it stops immediately. I tried installing the s/w on 2 machines, one running XP Pro and the other Runing Windows Server 2003 - both with the same results.

Can someone help?

Thanks, Nick

Unknown said...
This comment has been removed by the author.
Unknown said...

Got it working - looks like I had something screwed up in the config file.

Works well but I'd love to be able to see arm/disarm events ALONE via email. It is unfortunate that the zone o/c closings, although cool are really are grouped in there. The o/c zone events not pertinent for email monitoring but would be cool for home automation triggers.

I'd be willing to donate to the cause if it would help things!

Thanks, Nick

Eric said...

Nick,

You mean you want to receive email for arm/disarm events, but no zone open/close events? Is it an normal usage in home alarm system? Also, what you mean "grouped in there"?

Thanks,
Eric

Unknown said...
This comment has been removed by the author.
Unknown said...

Hi Eric:

What I would like to see is if someone arms or disarms the system, I get an email notifying me of the event. The code should also be associated to a user name (like the zone definitions) so that I know who it is. This function should have the ability to be turned off.

I never checked but are the keypad functions like PANIC, MEDICAL and FIRE also transmitted?

What I meant by "grouped in there" was that the arm/disarm events were grouped in with all the other "non-alarm" events like zone open/close events.

You asked if this is normal usage of a home alarm system? The answer is yes. I am *sure* many of the users of your fine software would make good use of this function to know when the cleaning lady leaves or when your kids get home from school. I have this setup on my system at home (for over 10 years) using the DTMF dialer function calling my pager. I have a smart phone now so it's time to upgrade!

So in summary, I'd like alarm & arm/disarm events to be forwarded via email.

Speaking of email, mine is rfe@sympatico.ca if you want to connect direct.

Thanks, Nick

Unknown said...

Eric:

I was thinking that these events could also be forwarded to my cell as a text. Most cellular carries allow email to text so that would be a great feature as well.

Any progress?

Nick

Jey said...

Hi Eric!
Hope you are doing well.
2 years now since I happily installed your service. Still working perfect.
Thank you a million.
Best regards,
Julian.

Eric said...

Nick,

Thank you for your comments. I will keep in mind about you and others suggestions and try to build them into the future update.

Julian,

You're welcome! Yes, it's already 2 years since the first release. It's monitoring my house in 24/7 except the power outage during the hurricane sandy.

In past year or so, I have finished 2 other projects

- a Arduino house power monitoring system (including solar panel power monitoring and house main power monitoring)
- a online rental property management system.
I am a rental property owner. I used to use Excel to record the rental information and daily/monthly tracking for many years. It's not easy to search and manage information when the data became larger. I have checked some online property management website, they are either lack the functions I want or have the limitation on property numbers and unit counts, etc. Therefore, I decided to build one to reach my goal - a centralized location for all my rental purpose.

If you or anyone interested in these projects please leave a message here so I can provide you more about the projects and link to access.

federiken said...

Hi Eric. I'm a friend oj Julia, he told me about this program, great work!
I've been having some trouble with the emails, but I've just changed smtp settings to use google and now it works (interesting it didn't work before, with a local smtp server).
Anyway, I have a minor issue now: time display is wrong...

2/26/2013 10:24:35 PM : nqt.html has been uploaded to the FTP server.
2/26/2013 10:24:49 PM : recorded every 15 seconds...
2/26/2013 10:24:50 PM : Global Email Monitoring is on.
2/26/2013 10:24:50 PM : 2019-02-26 22:25 - System Time
2/26/2013 10:24:50 PM : ftp is on.
2/26/2013 10:24:50 PM : The system status is [Ready].
2/26/2013 10:24:50 PM : 1 CLOSED: 24 Minutes Ago
2/26/2013 10:24:50 PM : 2 CLOSED: More than 1 hour ago
2/26/2013 10:24:50 PM : 3 CLOSED: More than 1 hour ago
2/26/2013 10:24:50 PM : 4 CLOSED: More than 1 hour ago
2/26/2013 10:24:50 PM : 5 CLOSED: More than 1 hour ago
2/26/2013 10:24:50 PM : 6 CLOSED: 47 Minutes Ago

So even though the server time is ok, and the alarm time is ok, nqt always displays 6 years ahead! (on 2012 it said 2018). Any idea what can be going on? No major issue, it's just the year, all the other parameters are fine... :)
Thanks a lot,

Fed

federiken said...

sorry, by "Julia" I meant "Julian", the one that wrote you lots of time before... :)

Eric said...

Fed,

This time is from your TL-150 and it's your alarm system time. You can check it by login to your TL-150 admin page.

Thanks,
Eric

Anonymous said...

Hello,

I love your program. Thank you so much. Is there any plans in the near future to add the suggested features mentioned in other posts?

Thanks,
Chris

Dhillon said...

This is perfect! just what I was looking for. I really hope you continue to work on this and add more functionality & updates.

Anonymous said...

Hi Eric!

My question is:does your program work with more Partitions??
I want to operate and check a 3-partition system (DSC 1864).
TL-150 already installed. It's working.

THX Zsolt

Anonymous said...

Answers for the questions:
1. The partition is not supported.
2. I am busy for other things now but I will do updates in the future.

Thanks,
Eric

Anonymous said...

hello, the application works ok. i want to send mail only when a alarm occurs, when the sistem is armed. now i receive mails with zones even in sistem disarmed

Anonymous said...

I tested the application and it's has a bug in my opinion. I dezactivated to send email on arming and disarming but nu effect, it sends email, also it's send email on opening/closing zones even the sistem is dezarmed, i dezactiated that line but no result. I instaled the ultimated version and the patch. please help

Eric said...

"hello, the application works ok. i want to send mail only when a alarm occurs, when the sistem is armed. now i receive mails with zones even in sistem disarmed"

Answer: Set autoEmail4ArmedSystemOnly to "On" if you want to receive alert email for armed system only. You need to stop and then start the nqtServices to make the setting active.

"I tested the application and it's has a bug in my opinion. I dezactivated to send email on arming and disarming but nu effect, it sends email, also it's send email on opening/closing zones even the sistem is dezarmed, i dezactiated that line but no result. I instaled the ultimated version and the patch. please help"

Answer: You need to stop and then start the nqtServices to make the setting active.

Anonymous said...

i do all the setting you just say. no effect

Anonymous said...



















Anonymous said...



















Anonymous said...

6/22/2013 8:54:00 PM : autoEmail is [On] and autoEmail4ArmedSystemOnly is [on] and sysStatus is [Ready]
6/22/2013 8:54:00 PM : Sending alert email...

Anonymous said...

this is in dezarmed mode, its sending email on opening/closing. tested on 2 computers winxp and win7

Eric said...

Please change value to "On" - capital 'O'. The value is case sensitive.

Anonymous said...

ok, i did that, it's not sending mail on disarmed sistem, but now it's not sending mail on armed sistem. when i modifi to mail on disarmed sistem it's working, i receive mails corectly. i'm lost

Chefboyrd said...

For those with Android phones. I found a cool way to force your phone to alarm if your system is tripped.

First setup C:\Program Files\NQT\nqtServiceSetup\nqtService.exe.config to send an email to your phone based on alarm. Example:


Make sure that works.

Now from the Google PlayStore download the app "SMS Alarm" by TwoM Tools.

Now in the SMS Alarm app
- Just "ADD Alarm".
- Number of Terms/Alarm input: I used "ALARM SYSTEM"
- Alarm Type - Alarm tone.
Connect it to a Tone (I downloaded a Siren wave).
- Set it to Repeat alarm - Check repeated until"

Now, when your system is tripped a sms is sent to your phone(since the email alert that NQT sends contains the words "ALARM SYSTEM") this trips the "Sms Alarm" app which and will cause your phone to alarm.

You can probably make this work with iphone also ... but I only have android.

Hope that makes sense.

Chefboyrd said...

Sorry here is the example that

add key="sendToEmail" value="phonenumber@messaging.sprintpcs.com"

Jey said...

Hi Eric,

Hope you are doing well.
I was your service running perfect since years.
But sudenly it stopped working 1 week ago and I'm abroad, so there was nothing happening at server.
The services log only report lines like this and nothing else:
11/09/2014 15:52:15 : recorded every 15 seconds...
Any ideas?
Thanks,
Julian

Eric said...

Julian,

Sorry about that. I had problem once a year ago on Windows 2003 server. The problem was the service won't even start. At same time the system running very slow and seems like the other problems exist. I had to reinstalled OS, since then the nqtService also working well.

Did you try to install neqService on other PC?

Unknown said...

Hi Eric, I just installed 1.15 then patched with 1.16, setup config file, created log directory. Service won't start.

Any ideas? windows 8 64.

Thanks,
Arthur

Eric said...

Arthur,

I didn't do any testing on 64-bit OS. I will try it and let you know the results.

Thanks,
Eric

Jey said...

Hi Eric,

The same way it came it went.
I tried stopping service, changing from auto to manual, etc. but no luck. I left it not working and after few hours (on top of few days not working) it back working again.
Yes, I think it is related to something else on OS rather your script.
I had no much "feeling" and control of the server PC when abroad so don´t know much about this incident.
The good thing is it is working again and as perfect as always.

Thank you and best regards,
Julian.

Anonymous said...

Hi there,

Can you show an example of how to write .net code to access TL-150? I just need to be able write my own application and incorporate a few download functions.

I can also pay for the help provided.

Thanks in Advance.

Jack

Unknown said...

Hello Eric,

I want to say thank you for developing this service. I have been running it for more than 8 years now. Right from the start I ran it on an AWS EC2 server, as I did not want to have a PC running this full time (and also because I only have Macs at home). I ran it on Windows Server 2008 all the time until now. I have been getting worried about supportability, and made the plunge to upgrade it to Windows Server 2019 this weekend - and it is working perfectly fine.

I improved the security of my setup over time by having NQT authenticating against nginx reverse proxy running on a Raspberry PI on prem to serve the TL-150 pages with better authentication.

I am also running filebeat on the NQT server to ship the logs to an Elastic Cloud instance. I am planning to use the alarm events to correlate to my router events (such as DHCP address assigning).

All made possible due to your service. Thank you.