<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Ticket search results</title><link>https://forge.codesys.com/lib/cobolt/tickets/</link><description>You searched for labels:"Alias"</description><language>en</language><lastBuildDate>Fri, 01 Apr 2022 19:09:30 -0000</lastBuildDate><item><title>Metric Alias</title><link>https://forge.codesys.com/lib/cobolt/tickets/146/</link><description>Hey guys ,

i am fairly new in the MQTT topic. I am trying to replicate a metric structure that other devices already send to an existing server and got quite far with it:

Mine:

{"timestamp":1635884974801,"metrics":[{"name":"output/Z01Power","timestamp":1635884974801,"dataType":"Int16","value":371}],"seq":20}

Existing Devices:

{"timestamp":1635863671694,"metrics":[{"name":"output/Z01Power","alias":330,"timestamp":1635863667777,"dataType":"Int16","value":264}],"seq":141}

I cant figure out how to add the "alias" property/attribute to the message.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vincentger</dc:creator><pubDate>Wed, 03 Nov 2021 17:32:58 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com/lib/cobolt/tickets/146/</guid></item><item><title>EoN, Device, Host, Payload: Optionally and by default, send metrics using Aliases</title><link>https://forge.codesys.com/lib/cobolt/tickets/104/</link><description>It is more data- and processing- efficient to use aliases for metrics than to use the full metric name.
A setting should be available to enable aliases.
1. send xBIRTH will send both the name and alias.
2. send xDATA will send only the alias.
3. receive xCMD should match first on Alias, but if no Alias is in the metric then it should match on Name.

* [x] Edge and Device Alias xBIRTH and XDATA mechanism are implemented. 
* [x] Edge and Device decode xCMD alias implemented,
* [x] CODESYS Host decodes aliases in xBIRTH and xDATA
* [x] CODESYS Host sends alias xCMD

Release note:
For an Edge, the input to the function UseAliases controls whether aliases are generated and used for each metric in the edge and its child devices.
For a Host, the use of aliases is entirely up to the Edge and its Devices - if the edge births with aliases, FB_Host will send NCMDs with aliases.  Similarly if a device is birthed with aliases, FB_Host will send DCMDs with aliases.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">i-campbell</dc:creator><pubDate>Fri, 01 Apr 2022 19:09:30 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com/lib/cobolt/tickets/104/</guid></item></channel></rss>