An alias can be assigned to each object. This means that the object can be accessed not only with the page number and ID (pXbY) but also by alias. The advantage of this is that the position of the object does not have to be known. For example, it is possible to change the status of a button on several plates with a single command via MQTT, even though the button has a different position on different plates.
When using the alias, the command must be preceded by an '@', for example "@Alpha.text"
To be able to use alias, USE_OBJ_ALIAS must be greater than zero when compiling.
An alias can be assigned to each object. This means that the object can be accessed not only with the page number and ID (pXbY) but also by alias. The advantage of this is that the position of the object does not have to be known. For example, it is possible to change the status of a button on several plates with a single command via MQTT, even though the button has a different position on different plates. When using the alias, the command must be preceded by an '@', for example "@Alpha.text"
To be able to use alias, USE_OBJ_ALIAS must be greater than zero when compiling.
#define USE_OBJ_ALIAS 1
Example :
pages.jsonl
MQTT :
Topic : hasp/plates/command/@bravo.bg_color Payload : #888800