Sari la conținutul principal

meaning of isRelayOn in TextMessage of messageContent.

MGenu-1832
Poster original

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?

 

Alăturați-vă conversației

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

Cele mai bune răspunsuri

EishiFUN
Administrator comunitar

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 Replies

EishiFUN
Administrator comunitar

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
Poster original

@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
Administrator comunitar

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
Poster original

@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
Administrator comunitar

No, none that I am aware of.

Mai aveți întrebări?