Change the relay activation logic via software.

Turbovix5 months 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 Tananaev5 months ago

What protocol? Do you have the protocol documentation?

Turbovix5 months ago

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

Anton Tananaev5 months ago

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

Turbovix5 months ago

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

Turbovix5 months ago

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

Turbovix5 months ago

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

Richard Acosta5 months ago

A custom command with the correct sentence....