Any way to send SMS from netlinx controller?
adys
Posts: 395
Hi
I am looking for a solution to send SMS and Email from netlinx controller.
Thanks,
Ady
I am looking for a solution to send SMS and Email from netlinx controller.
Thanks,
Ady
0
Comments
Both are pretty easy using the !EquipmentmonitorOut.axi and there's now the built in SMTP function in Netlinx but I don't know if that's working yet.
What is the !EquipmentmonitorOut.axi and where can I found it?
And how is the SMS working?
thanks!
I found this example in their site, how can I post it in netlinx?
can someon give me a direction how to post it this?
POST /1/messages.json
Host: api.pushover.net
Content-Type: application/x-www-form-urlencoded
Content-Length: 180
token=KzGDORePKggMaC0QOYAMyEEuzJnyUi&user=e9e1495ec75826de5983cd1abc8031&device=droid4&title=Backup+finished+-+SQL1&message=Backup+of+database+%22example%22+finished+in+16+minutes.
https://github.com/nickmil/BoxeeBox
If you have any questions, I'll be happy to answer them.
http://www.amx.com//assets/manuals/0332549.pdf
The SMTP function that's now part of the Netlinx system should do this just by calling the built in functions and passing in the appropriate paremeters. Last time I tried it it didn't work and since I've been using i! equipmentmonitor for email I just gave up on the new functions and stuck with that. I think it's been fixed in the current Netlinx firmware so you could try it or maybe review threads about it and see where it stands.
Edit:
I looked at the link and it doesn't have the .axi code just instructions and snippets. Search around and you should find it or post again for someone to link it for you.
Sorry for publicity but I think its pretty relevant to your question
No English in the site?
It's sort of the predecessor to the equipment monitor file they are talking about.
You could purchase an old phone from eBay. Remove the keypad and wire it to your relays then use these to activate the key actions. Place all code to drive this in rube_goldberg_sms_gateway.axs.
That solution is too "one off". If the phone fails then you're stuck with a complicated rewrite. I say build a jig that holds the phone (any phone) and use solenoid actuators to actually push the keys.
Here again code and pictures must be posted.
This definitely needs old school M2M. Use the first master to click a relay, sending the digits morse code to an I/O port on the processor/phone/solenoid rig.
I have done it from a serial port talking to a Sierra AirLink GX400 modem.
The modem housed a sim card and I just had to send serial strings to it.
The protocol was easy too: "'Phone <mobile number> <message>',$0d,$0a"
Incoming SMS was the same format.
I'd love to get a router that supports a USB 4G LTE modem and talk IP directly to it but trying to google how to do it hasn't been successful.
This is a very good idea. Nice!
Did you ever Get this to work?
I get an error Bad Command when trying to POST To the site.
Does anyone have the !EquipmentmonitorOut.axi with all of the files intact?
I'd like to try it out.
Nevermind. I just looked at the PDF. I thought it had SMS capabilities. I was more interested in the SMS portion.
List per carrier.
http://www.emailtextmessages.com
Verizon would be:
10digitphonenumber@vtext.com
Yes, I guess I knew you could that. Just thought there might be a more direct way of doing it.
Thanks for the compiled list though. Very helpful!
You mean like this.
http://www.arocom.ch/arocom/media/arocom2011_produkte/documents/ARO-SMS-GSM_E.pdf
Can't get much more direct.
Pros
- Can still send alerts for critical systems if the failure cause is the network going down.
Cons
- You'll need to pay ongoing costs for a mobile data plan and get a SIM card for it.
Hi, I am trying to use the i!-EquipmentMonitorOut with a ME260/64 in a NXI controller to send SMS alerts. It works fine in a NI-3100 or NI-4100 , but not with the ME260/64 (latest firmware installed) in either NXI or NXF frame. I don't have enough rack space for a 2RU device so I was trying to use a NXI controller with a ME260/64 processor.
Any ideas on what is happening?
Thanks,
You might try the older email include I posted earlier in the thread. It was the progenitor of the iEqupment Monitor version. But, I know no reason why it shouldn't work on the ME260/64. It's not duet and there's nothing magical about it. It may have to do with the limited memory available and however much your program is hogging. You can also run a telnet session to the master and run MSG ON and watch to see if you are getting any errors when the !i-Equipment tries to send an email. that might give you a clue.
I have tried downloading the i!-EmailOut.axi include file, but it only shows as an attachment.php which does not open a webpage? A search of the AMX website comes up blank. Can you send me the file at bcd@wucf.org. Thanks, Bruce