Change the relay activation logic via software.

Turbovix2 years ago

Hello everyone, I have a problem that is not exactly with Traccar, but with the way the customer asked the module to activate the relay. So, when sending the command to block, it actually does the unlocking, and sending the command to unlock it does the blocking. Is there a way to change the logic via software? I don't know if the calculated attributes would solve this. I appreciate any help.

Anton Tananaev2 years ago

What protocol? Do you have the protocol documentation?

Turbovix2 years ago

Hi Anton, I just forgot to mention this. The protocol is H02. I don't have the documentation. Responds to port 5013

Anton Tananaev2 years ago

Without documentation it won't be possible to know the right format for the commands.

Turbovix2 years ago

I'll see if I can find it on the internet.

Turbovix2 years ago

If I see the protocol code on Github, I can't see that information?

Turbovix2 years ago

It's possible, and it's even easy. However, I have to compile again in addition to assembling a Docker image. LOL

Richard Acosta2 years ago

A custom command with the correct sentence....