www.homeseer.com    
 

Go Back   HomeSeer Message Board > Telephone,Text and Email Plug-ins > Telephone,Text and Email Integration Discussion > SMS Gateway (3P)

SMS Gateway (3P) Discussions related to the SMS Gateway third party plugin.

Reply
 
Thread Tools Display Modes
  #1  
Old April 3rd, 2016, 06:43 AM
petez69's Avatar
petez69 petez69 is offline
Seer Master
 
Join Date: Oct 2005
Location: Alice Springs, Australia
Posts: 789
Error message using SIM900 Aurduino device

BeeryGaz

I've connected an Arduino SIM900 via the USB/ttl device and I've got the device working reasonably well. I had all sorts of issues with the Wavecom modem on a USB dongle so I've tried this instead.... Any chance you could have a look at this ? Thankyou

When I have HS send a message I get the message twice, here is the detailed debug, it appears a command isnt supported ?

2016.04.03-08.15.54: Sending watch dog message
2016.04.03-08.15.54: Sending: AT
2016.04.03-08.15.55: Response: <cr><lf>OK<cr><lf>
2016.04.03-08.15.57: Sending message to 61409839735
2016.04.03-08.15.57: Content: Virtual alarm is activated
2016.04.03-08.15.57: Sending: AT+CSCA?
2016.04.03-08.15.57: Response: <cr><lf>+CSCA: "+61418706275",145<cr><lf><cr><lf>OK<cr><lf>
2016.04.03-08.15.57: Sending: AT+CMGS=37
2016.04.03-08.15.57: Response: <cr><lf>>
2016.04.03-08.15.57: Sending: 07911614786072F511600B811604899337F50000A71AD6B49C5E0FB34161 7658DE06A5E7A0F0989EB687E96532
2016.04.03-08.16.03: Failed to send message: Unsupported feature: SendSmsFeature: Send SMS (Error in sending command 07911614786072F511600B811604899337F50000A71AD6B49C5E0FB34161 7658DE06A5E7A0F0989EB687E96532: )
2016.04.03-08.16.03: Trace: at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.SendMessage (Sms message)
at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.ProcessMess ageQueue()
2016.04.03-08.16.03: Base exception: at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.SendMessage (Sms message)
at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.ProcessMess ageQueue()
2016.04.03-08.16.04: Sending message to 61409839735
2016.04.03-08.16.04: Content: Virtual alarm is activated
2016.04.03-08.16.04: Sending: AT+CMGS=37
2016.04.03-08.16.14: Failed to send message: Unsupported feature: SendSmsFeature: Send SMS (Error in sending command AT+CMGS=37 : +CMGS: 159 OK )
2016.04.03-08.16.14: Trace: at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.SendMessage (Sms message)
at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.ProcessMess ageQueue()
2016.04.03-08.16.14: Base exception: at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.SendMessage (Sms message)
at MessagingToolkit.Core.Mobile.BaseMobileGateway`1.ProcessMess ageQueue()
2016.04.03-08.16.15: Sending message to 61409839735
2016.04.03-08.16.15: Content: Virtual alarm is activated
2016.04.03-08.16.15: Sending: AT+CMGS=37
2016.04.03-08.16.15: Sending watch dog message
2016.04.03-08.16.15: Response: <cr><lf>>
2016.04.03-08.16.15: Sending: 07911614786072F511A00B811604899337F50000A71AD6B49C5E0FB34161 7658DE06A5E7A0F0989EB687E96532
2016.04.03-08.16.19: Response: <cr><lf>+CMGS: 160<cr><lf><cr><lf>OK<cr><lf>
2016.04.03-08.16.19: Firing async MessageSent event.
2016.04.03-08.16.19: Sending: AT
2016.04.03-08.16.19: Ending async MessageEventHandler call
2016.04.03-08.16.20: Response: <cr><lf>OK<cr><lf>
2016.04.03-08.16.30: Sending watch dog message
2016.04.03-08.16.30: Sending: AT
2016.04.03-08.16.30: Response: <cr><lf>OK<cr><lf>
2016.04.03-08.16.40: Sending watch dog message
2016.04.03-08.16.40: Sending: AT
2016.04.03-08.16.40: Response: <cr><lf>OK<cr><lf>
2016.04.03-08.16.50: Sending watch dog message
2016.04.03-08.16.50: Sending: AT
2016.04.03-08.16.50: Response: <cr><lf>OK<cr><lf>

Last edited by petez69; April 3rd, 2016 at 07:05 AM.
Reply With Quote
  #2  
Old April 3rd, 2016, 06:51 AM
beerygaz's Avatar
beerygaz beerygaz is offline
Super Seer
 
Join Date: Mar 2006
Location: Johannesburg, South Africa
Posts: 1,611
Can you stop the plugin and connect via a terminal emulator to the device and send AT+CMGF=0 and post the response from the modem please?


Sent from my iPhone using Tapatalk
__________________
Author of Highpeak Plugins
SMS-Gateway Plugin
Blue Iris Plugin
Paradox (Beta) Plugin
Modbus Plugin
Yamaha Plugin
Reply With Quote
  #3  
Old April 3rd, 2016, 08:12 AM
petez69's Avatar
petez69 petez69 is offline
Seer Master
 
Join Date: Oct 2005
Location: Alice Springs, Australia
Posts: 789
Gives me an OK so it is ok with that command..

I was able to set it to PDU mode and Txt mode....

at+cmgf=1

OK
Attached Images
 
Reply With Quote
  #4  
Old April 3rd, 2016, 09:56 AM
beerygaz's Avatar
beerygaz beerygaz is offline
Super Seer
 
Join Date: Mar 2006
Location: Johannesburg, South Africa
Posts: 1,611
Ok so we know it's not a PDU issue. In the \logs directory there should be a HSPI_SMSGW_Modem.log file. Can you mail it to me at gavin(at)highpeak.co.za


Sent from my iPhone using Tapatalk
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Build 147 Error message + Device Names mjhelliwell HS3/PRO Beta Releases 0 December 1st, 2014 07:53 AM
Error Message - Add Device - Fixed! Markrat UltraMon HSPI 2 December 22nd, 2011 01:17 PM
Error in StatName error message dgruehn BLStat (3P) 6 October 7th, 2011 04:01 PM
Buildpage Error Message: Error in LINEStatus: Value cannot be null simonog Jon00's plugins and scripts 5 January 26th, 2008 08:06 PM
Help with Error Message, Script error in file: CH and HW Control temp.txt 0: in line 0 nigelgiddings Script & Plug-In Development 1 August 2nd, 2002 04:20 PM


All times are GMT -4. The time now is 04:25 PM.


Copyright HomeSeer Technologies, LLC