Jag har haft kontakt med Milesight support och fått följande från dom.
In summary, the overall process is as follows: On the IoT open platform, code is written to assign the values of certain UC300 fields to text variables and construct a JSON fields. This JSON fields is then sent to ChirpStack, where the encoder file parses the JSON into a hex command, which is subsequently transmitted to the DS3604.
For example, you need to write code to assign the values of certain UC300 fields to variables such as text_1, text_2, and text_3. Then, you construct a JSON and send it to ChirpStack. On ChirpStack, the encoder file parses the JSON into a hex command, which is then transmitted to the DS3604.
{
"refresh_display": "yes",
"template_1": {
"text_1": "1", // UC300 uploads the value of Modbus channel 1.
"text_2": "2", //UC300 uploads the value of Modbus channel 2.
"text_3": "3" //UC300 uploads the value of Modbus channel 3.
}
}