Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
We want to send data of all the tags to iot gateway only when value for 1 of the tags changes using kepserverex 6.15 version. We've tried combinations of publishing on intervals(wide format as well as narrow format) and on data change using Every Scan and On Data Change option for each iot gateway tag. How can this be achieved using advanced tags(linked tag or derived tag) or is there any other alternative to this?
Greetings,
Identify the agent you are using for the MQTT or REST server/client. It’s essential for optimizing your implementation.
Regards,
Mohit
Hello,
we're using MQTT Client to send data to iot hub. What we're trying to achieve is that if we have 5 tags in iot gateway - Tag1, Tag2, Tag3, Tag4, Tag5 and value for Tag1 is changed after a scan. We want all the 5 tags to go to iot hub i.e Tag1 with the updated value and Tag2 to Tag5 with the previous values. Is there a way this can be achieved in kepserver?
thank you.
Hello,
Thank you for the clarification. Unfortunately, there doesn't seem to be a way to meet your requirement. I tried, but after changing tag 1, I was able to send tag 2 to tag 5 with the old value and tag 1 with the new value in 5 publishes, not in 1 as required. Additionally, there are some limitations: the tag defined in the Trigger field (tag 1) is monitored for a zero to non-zero transition only. I have attached the OPF file for your reference. You just need to change extension from txt to opf.
Hi, thank you for your response. I don't see the attachment with your reply. Could you please share it again?