Send command through computed attribute

Mega Box Brasil2 years ago

is it possible to SEND A COMMAND to a device via a computed attribute?

for example, there is a device that never updates the last position, and when it turns off, you have to send a command for it to update the last position

Could I solve it by creating an attribute that identifies the ignition off and send this command?

Anton Tananaev2 years ago

Not possible.

jafar habibi2 years ago

you can send data to a custom script and then send the command to device

Anton Tananaev2 years ago

Yes.

Eng9 months ago

Hello Anton Tananaev, can you now send a command using a calculated attribute?

Anton Tananaev9 months ago

Not directly, but you can create an alarm, which can trigger a command.

Eng9 months ago

Excuse me for my ignorance, could you give me an example?