Pāriet uz galveno saturu

meaning of isRelayOn in TextMessage of messageContent.

MGenu-1832
Oriģināls plakāts

What is the meaning of isRelayOn in TextMessage of messageContent, if I do call api Add with get TextMessage as example:

api.call("Add", {

"typeName": "TextMessage",

"entity": {

"device": {

"id": "***"

},

"messageContent": {

"contentType": "IoxOutput",

"isRelayOn": false

},

"isDirectionToVehicle": true

}

}, function(result) {

console. log("Done: ", result);

}, function(e) {

console. error("Failed:", e);

});

what would happen?

 

Pievienojieties sarunai

You need to be logged in to reply to this post and participate in the Geotab Community discussions.

Populārākās atbildes

EishiFUN
Kopienas administrators

Hello @MGenu-1832​ ,

 

Thank you for asking your question in our community. The IOX Output and IOX NFC Reader both have a built in electronic relay switch. It's basically an 'on / off' switch for whatever it is hardwired to on installation. That property tells you the current status of that switch.

 

If you have any other questions about this feel free to reach out. We are here to help.

 

Have a great day!

Eishi FUN

5 Atbildes

EishiFUN
Kopienas administrators

Hello @MGenu-1832​ ,

 

Thank you for asking your question in our community. The IOX Output and IOX NFC Reader both have a built in electronic relay switch. It's basically an 'on / off' switch for whatever it is hardwired to on installation. That property tells you the current status of that switch.

 

If you have any other questions about this feel free to reach out. We are here to help.

 

Have a great day!

Eishi FUN

MGenu-1832
Oriģināls plakāts

@EishiFUN​ 

Thank you for your answer.If i send an Add/TextMessage call with :"messageContent": {

"contentType": "IoxOutput",

"isRelayOn": false

},

it will cut the relay and extend or stop the vehicle??

 

EishiFUN
Kopienas administrators

No it would set the device IOX-OUTPUT relay to off. Any outcome would be specific to function with the connected IOX device (if any), with no inherent relationship to the operation of the vehicle itself.

 

Let me know if you have other questions about this.

MGenu-1832
Oriģināls plakāts

@EishiFUN​ 

Thank you for your answer. So is there a way to turn on or off the engine of a vehicle with an api call?

 

EishiFUN
Kopienas administrators

No, none that I am aware of.

Joprojām ir jautājumi?