Why do you need a computed attribute for it?
Hi Anton thank you for your quick reply, I thought the way was using a computed attributed could you please advise? the idea is when i get alarm power cut send a GPRS command to disable the engine command (9400000).
Do you already receive the alarm?
Yes, please see the below evidence:
Then you don't need computed attributes. You can just enable command channel in the notifications.
How can i create the alarm and trigger the command? I don't see the option on alarm panel.
<!-- Notification config-->
<entry key='notificator.types'>web,sms,email</entry>
<entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
<entry key='sms.http.url'>https://api.telegram.org/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsendMessage?</entry>
<entry key='sms.http.user'>7550473191</entry>
<entry key='sms.http.password'>xxxxxxxxxxxxxxx</entry>
<entry key='sms.http.template'>
chat_id={phone}&text={message}
</entry>
Hi Anton, I added command to notificator.types and i am available to send the command now, thank you so much for your help and support.

The problem is with notificator.types. You're missing command type there.
Hi, can you help me to find the way to configure a computed attribute to send GPRS command (9400000) when i get alarm power cut ?