Mobilogix Mt2000 does not accept custom command

Beto Silvaa year ago

Hello everyone,
I have some MT2000 units, but they don't accept a custom command.
It gives no error or response.
Only the command appears in the log, but without effect.
The command I need is to enable/disable output 1.
The command would be:
SET RELAY=1 (activate)
SET RELAY=0
(disable)
Has anyone gone through this?
Anton, can you help?

Anton Tananaeva year ago

What are you sending exactly? Are you sure the format is correct?

Beto Silvaa year ago

I am sending one command at a time.
The command SET RELAY=1 for example.
In SMS the command works.
However, in my log, only the command appears in HEX, it does not appear that it is a custom command.

2023-04-29 12:00:51  INFO: [T69ecdaac: mobilogix > 34.73.28.175] 5345542052454c41593d31
Anton Tananaeva year ago

For most devices the format is different for SMS and data commands. That's why I asked if you're sure that the format is correct.

Beto Silvaa year ago

Got it, Anton.
Do you have documentation for this device?
Does the documentation say anything about output 1 or relay1 somewhere?

Anton Tananaeva year ago
Beto Silvaa year ago

Thanks Anton.
Now it works.
However, is there a way to make the command get the date and time from the server?
So the correct command looks like this:

[2023-04-29 12:38:00,S6,RELAY=1]

Is there a possibility of setting it as blocking and unblocking for this protocol, without being a custom command?

Anton Tananaeva year ago

It needs to be implemented in the code. If you manage to implement it, please send us a PR. If you need help with the implemented and interested in sponsoring the work, send us an email.