Message handlers on remote tag providers

Hello,

I have 2 edge gateways and 100+ devices connected to a read/write/edit gateway. This read /write/ edit gateway is connected to a read only gateway which is an interface with a couple APIs.

for the 100+ devices that are using Standard Tag Providers, it is easy for me to use a message handler that reaches out to the read only server and and delivers a payload using message handler.

With the 2 edge HMIs, I cannot allow traffic initiated by the edges through the read /write/ edit gateway.

Is there anyway for the message handlers on this tag using the system.util.sendmessage() function to initiate on the read/write/edit gateway instead of locally on the edge?

To summarize, I want to send a payload on tags from edge HMIs to an API on my read only gateway.

Not for scripts defined on the tags. Those only run in the origin gateway.

You should be able to configure a gateway tag change event in a project in your central gateway that performs the sendMessage.

How do refer to associated data on an alarm ?

I have a Boolean that I can have trigger the script in a gateway script.

For example, I am using alarm.getId, alarm.isAcked, etc.

Alarm.getOpsGenie does not work does not work for me, and I am struggling to find documentation.

Have you tried alarm.get("opsGenie") or alarm.opsGenie?