"blocked" attribute for teltonika devices

Synergy Dave2 months ago

Hello,
teltonika devices FMB920 doesn't report the blocked attribute because they use digital output to control relays, for example I'm sending "setdigout 1" to stop engine.
After sending this command I'm checking the "blocked" attribute to change car icon so user is aware that car engine is stopped.
I know blocked attribute is not there and I wonder which attribute reflects the digout value.
Hope I was clear,
regards

Anton Tananaev2 months ago

Have you checked Teltonika documentation to see how it's reported by the device first?

Cristian2 months ago

IMG_2425.png

I use it like this, but it depends on how you have the fmb920 configured.

isionsat2 months ago

the correct command is setdigoutm 0 or setdigoutm 0, the letter m was added to the command.

Synergy Dave2 months ago

@cristian you are right, out1 is the correct attribute
just need to force device to report it by sending: setparam 50190:1