NI3100 Watchdog
reeco81
Junior Member
in AMX Hardware
Hi all
im hoping to set up a watchdog from a security system to let me know if something happens to the security system,
i currently have the two systems communicating via RS232 so i can send the 3100 a string every 5mins from the security i just need to write the code for the 3100 to send me an email if the other system goes down.
im hoping to set up a watchdog from a security system to let me know if something happens to the security system,
i currently have the two systems communicating via RS232 so i can send the 3100 a string every 5mins from the security i just need to write the code for the 3100 to send me an email if the other system goes down.
Comments
-
Hi all
im hoping to set up a watchdog from a security system to let me know if something happens to the security system,
i currently have the two systems communicating via RS232 so i can send the 3100 a string every 5mins from the security i just need to write the code for the 3100 to send me an email if the other system goes down.
sounds like a plan -
Check out the new built in email command for the latest netlinx firmware:
DEFINE_START SMTP_SERVER_CONFIG_SET(SMTP_ADDRESS,'mail.amx.com') SMTP_SERVER_CONFIG_SET(SMTP_PORT_NUMBER,'25') SMTP_SERVER_CONFIG_SET(SMTP_USERNAME,'john.doe@amx.com') SMTP_SERVER_CONFIG_SET(SMTP_PASSWORD,'mypassword') SMTP_SERVER_CONFIG_SET(SMTP_FROM,'john.doe@amx.com') SMTP_SERVER_CONFIG_SET(SMTP_REQUIRE_TLS,SMTP_TLS_TRUE) DEFINE_EVENT Timeline_Event[TL_SECURITY_REPLY_CHECK] { If(nNoReplyForALongTimeFlag) SMTP_SEND(0:3:0,'jane.doe@acme.com','Security Alert','The security system is offline... again!',NULL_STR) } -
Check out the new built in email command for the latest netlinx firmware:
Which latest, V4 for NI or 1.x for NX? -
I know 4.x had it - haven't tried it on the NX yet, but hopefully they still have it.
-
ericmedley wrote: »sounds like a plan
Any ideas??? -
Check out the new built in email command for the latest netlinx firmware:
DEFINE_START SMTP_SERVER_CONFIG_SET(SMTP_ADDRESS,'mail.amx.com') SMTP_SERVER_CONFIG_SET(SMTP_PORT_NUMBER,'25') SMTP_SERVER_CONFIG_SET(SMTP_USERNAME,'john.doe@amx.com') SMTP_SERVER_CONFIG_SET(SMTP_PASSWORD,'mypassword') SMTP_SERVER_CONFIG_SET(SMTP_FROM,'john.doe@amx.com') SMTP_SERVER_CONFIG_SET(SMTP_REQUIRE_TLS,SMTP_TLS_TRUE) DEFINE_EVENT Timeline_Event[TL_SECURITY_REPLY_CHECK] { If(nNoReplyForALongTimeFlag) SMTP_SEND(0:3:0,'jane.doe@acme.com','Security Alert','The security system is offline... again!',NULL_STR) }
Thanks Greg
I have got the email part working already from inputs changing state, its just the watchdog part im having troubles with -
Any ideas???
The suggestions above will do exactly what you want. That is how you can send yourself an email notice based upon whatever code you write to monitor the security system.
I usually include this feature whenever I write security/fire/medical/access software. I pan on emailing the client, myself or both. -
Ahh yes i missed that bit
cheers
Leave a Comment
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums