Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register
Comfort Automation/ Security System Forums > Products > GSM Module > SMS - Invalid Command - additional useless SMS?

SMS - Invalid Command - additional useless SMS?
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Wednesday Aug 13th, 2014 01:39 am
   PM  Quote  Reply 
1st Post
gimi
Member
 

Joined: Saturday Jun 2nd, 2012
Location:  
Posts: 15
Status: 
Offline

  back to top

Installation:- Comfort II with the latest firmware 7.057 - UCM/GSM2 with the latest firmware 7.029
Problem:- SMS command successfully executed and acknowledged by the system with the right (XXXX) - OK message.- unfortunately after each command I receive an additional SMS with the message "Invalid Command" SMS which means extra costs although I understand that the GSM4 will reply with the status or help after the command.
Is there a way not to receive those extra SMSs (additional cost) for older than GSM4 UCMs?
Cheers,GIMI



 Posted: Wednesday Aug 13th, 2014 02:06 pm
   PM  Quote  Reply 
2nd Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

Can you run the Bus Monitor from Tools before you send the SMS and save it then send it to support@cytech.biz



 Posted: Wednesday Aug 27th, 2014 10:03 pm
   PM  Quote  Reply 
3rd Post
eborges
Member
 

Joined: Tuesday Apr 27th, 2010
Location: Portugal
Posts: 9
Status: 
Offline

  back to top

Is there a solution to this problem already?

Whenever I sent a Home Control SMS message to Comfort I also have the same problem where the message "Invalid command" is received via SMS even though the Home Control command is executed with no problems.

For example I send from mobile phone to Comfort the following SMS

(4010)

then I receive

(4010) - OK

and then a second  SMS message is received on the phone

'Invalid Command'

My firmware versions are the following:

- Confort II Ultra 7.059(beta) - with 7.057 I also had the same problem

- UCM/GSM 7.029 ( I believe my GSM module still is GSM01)

 

 



 Posted: Thursday Aug 28th, 2014 06:36 am
   PM  Quote  Reply 
4th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

we have not heard from the other user about the result of the Bus monitor for his problem

Can you run Bus Monitor in Tools Menu, then send the SMS
The Bus monitor may tell us why the extra Invalid message was sent by Comfort

Last edited on Thursday Aug 28th, 2014 06:51 am by ident



 Posted: Friday Aug 29th, 2014 01:23 am
   PM  Quote  Reply 
5th Post
eborges
Member
 

Joined: Tuesday Apr 27th, 2010
Location: Portugal
Posts: 9
Status: 
Offline

  back to top

I have just sent to support email address the bus monitor extract as well as the project file. Nevertheless see bellow also this same Bus Monitor output ( slightly trimmed)



11: 46: 40: 529 ----< 03 22 3F 32 36 36 34 31 32 02 <--->"?266412
               The analog vale of Slave 02's input 26is 64
11: 46: 47: 904 ----< 03 22 3F 32 36 36 35 31 31 02 <--->"?266511
               The analog vale of Slave 02's input 26is 65
11: 46: 50: 873 ----< 03 13 7C 30 37 30 31 33 33 33 35 33 31 33 39 33 33 33 31 33 36 33 39 33 34 33 30 33 32 33 38 46 33 02 <--->|0701333531393331363934303238F3
               GSM caller ID for verfication
11: 46: 50: 904 ----< 03 13 7C 38 35 30 31 30 37 45 31 02 <--->|850107E1
               GSM caller ID is valid
11: 46: 50: 935 ----< 03 13 7C 30 38 33 34 33 30 33 31 33 30 41 31 02 <--->|0834303130A1
               GSM nemu command
11: 46: 50: 967 ----< 03 12 63 30 32 30 30 30 39 30 31 37 43 02 <--->c020009017C
               Send data to Ucm 02 RS232 port
11: 46: 51: 764 ----< 03 22 3F 32 36 36 34 31 32 02 <--->"?266412
               The analog vale of Slave 02's input 26is 64
11: 46: 52: 248 ----< 03 22 3F 32 38 36 34 31 30 02 <--->"?286410
               The analog vale of Slave 02's input 28is 64
11: 46: 54: 404 ----< 03 13 7C 38 34 34 39 36 45 37 36 36 31 36 43 36 39 36 34 32 30 34 33 36 46 36 44 36 44 36 31 36 45 36 34 34 34 02 <--->|84496E76616C696420436F6D6D616E6444
               Create tect message
11: 46: 54: 451 ----< 03 13 7C 38 33 33 39 33 33 33 31 33 36 33 39 33 34 33 30 33 32 33 38 31 31 02 <--->|8339333136393430323811
               Send SMS to number
11: 46: 55: 607 ----< 03 22 3F 32 36 36 35 31 31 02 <--->"?266511
               The analog vale of Slave 02's input 26is 65
11: 46: 59: 248 ----< 03 13 7C 30 36 30 31 36 37 02 <--->|060167
               GSM SMS sent
11: 46: 59: 326 ----< 03 22 3F 32 36 36 34 31 32 02 <--->"?266412
               The analog vale of Slave 02's input 26is 64
11: 46: 59: 779 ----< 03 22 3F 32 38 36 33 31 31 02 <--->"?286311
               The analog vale of Slave 02's input 28is 63
11: 47: 02: 482 ----< 03 22 3F 32 36 36 35 31 31 02 <--->"?266511
               The analog vale of Slave 02's input 26is 65
11: 47: 02: 795 ----< 03 22 3F 32 38 36 34 31 30 02 <--->"?286410
               The analog vale of Slave 02's input 28is 64
11: 47: 03: 373 ----< 03 13 7C 30 35 30 33 36 36 02 <--->|050366
               GSM network stregth of03
11: 47: 04: 889 ----< 03 22 3F 32 35 36 33 31 34 02 <--->"?256314
               The analog vale of Slave 02's input 25is 63
11: 47: 05: 123 ----< 03 22 3F 32 36 36 34 31 32 02 <--->"?266412
               The analog vale of Slave 02's input 26is 64
11: 47: 05: 185 ----< 03 40 41 30 30 30 31 30 30 30 30 37 42 02 <--->@A000100007B
                Request All Keypad  turn off LED1,turn on LED2, turn off LED3, turn off LED4
11: 47: 05: 357 ----< 03 13 7C 30 35 30 34 36 35 02 <--->|050465
               GSM network stregth of04
11: 47: 05: 576 ----< 03 22 3F 32 38 36 33 31 31 02 <--->"?286311
               The analog vale of Slave 02's input 28is 63



 Posted: Friday Aug 29th, 2014 07:28 am
   PM  Quote  Reply 
6th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

Thanks, for the Bus monitor and cclx files. we have found the cause of this problem
It is actually a bug in the Comfort firmware, that happens only when the Control Menu has no feedback. Instead of not sending any reply, it sends "Invalid Command"

This will be fixed in the next firmware. However by not using the  control menu feedback you may be missing out on one of the useful features of the UCM/GSM

The Control Menu has a Feedback Type and Feedback Register for each control key

Eg, if you are controlling KNX eg 1/1/5 group address, you can map a counter to that address so that the state of 1/1/5 is mapped to the counter

In Control menu feedback you can assign Feedback Type = counter and Feedback Register = Counter number.

This allows you to check for the status of the KNX device when you send an SMS eg (401) to check status or when you send (4011) to control the device. It will reply with (401) On or Off to show the actual status

However I have also noticed a potential problem with the programming of your control menu

For your control menu actions, you have used 0 for On and 1 for On. This will give the opposite status as our aplications like GSM and smart phone apps assume that 0 is always for 0ff and 1 is for On
This does not affect you if you do not use any feedback or the Comfort app, but it would be best to use the conventional meanings of 0 and 1




 Posted: Friday Aug 29th, 2014 05:52 pm
   PM  Quote  Reply 
7th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

Comfort firmware 7.063 (beta) should fix the problem, see http://www.comfortforums.com/forum79/3935.html

That means that if  there is no Control Menu Feedback, there will not be an addiitonal SMS  "Invalid Command" after the Action is completed successfully.

However note that it is much better to use feedback in the Control Menu as this allows actual status to be sent by SMS to the mobile phone, and it allows an SMS to  query the actual state of the control device. This should be worth the cost of the additional SMS



 Posted: Thursday Feb 1st, 2018 05:34 pm
   PM  Quote  Reply 
8th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5498
Status: 
Offline

  back to top

Updated  1/2/2018
ULT 7.077 introduced the same "bug" ie if no feedback in the control menu, after sendin a command eg (4001) and the control is executed, there is a reply "Invalid command"

The next firmware (> 7.137) should fix that

It is always Better to have feedback

Last edited on Thursday Feb 1st, 2018 05:35 pm by slychiu



 Current time is 09:30 am
Comfort Automation/ Security System Forums > Products > GSM Module > SMS - Invalid Command - additional useless SMS?
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems