To add or remove units to/from a retranslator, use the command retranslator/update_units:
svc=retranslator/update_units¶ms={"itemId":<long>, "units":[{"a":<text>, "i":<long>, "st":<uint>}, ...], "callMode":<text> }
Use callMode to apply diff or descride all units in “units” array.
Name | Description |
---|---|
itemId | retranslator ID |
units | array of units IDs for retranslation |
i | unit ID |
a | hardware unique ID |
st | time, when retranslation will be stopped (optional parameter) |
callMode | mode: add/remove (optional) |
{ "rtru":[ { "i":<long>, /* unit ID */ "a":<text>, /* hardware unique ID */ "st":<uint> /* time, when retranslation will be stopped */ } ] }