Skip to main content Skip to search Skip to main navigation

Automate something simple.

Turn on the light in the living room when you get home. Then in the kitchen. Then start the chill-out playlist at volume 20.
If you do this every day, it would be nice to do it all at the touch of a button. And you can do this by setting up macros in trivum that perform several steps at once.

What problem do macros solve?

Macros are helpful for the extended individualization of a trivum solution. They make it possible to define a sequence of several actions as one action (i.e. macro) and then call it up or trigger it via KNX, for example

How does trivum implement macros?

trivum defines macros as a sequence of macro steps that can be any action:
  • Any trivum action (e.g. start source in a zone, grouping, volume etc)
  • Pause for a predefined period of time
  • Sending a KNX telegram
  • Sending an HTTP request
  • Sending a TCP/IP command
  • Sending a UDP command
  • Sending an MQTT message

What are the advantages of macros?

Macros increase the flexibility of the trivum systems and also enable the control of devices in the network thanks to TCP, UDP or MQTT. Macros therefore extend the possibilities of automating a trivum installation.

How can you customize macros?

trivum supports up to 128 macros with up to 32 MacroSteps each. The name can be changed for each macro and the various MacroSteps can be created. The order of the MacroSteps can be changed afterwards and individual MacroSteps can also be deleted. Different properties can be changed depending on the MacroStep:

  • trivum Action
  • Selection of the zone
  • Selection of the action
  • Wait with waiting time in milliseconds
  • KNX group address, e.g. 3/4/5 data type (bool, uint8, uint16, text14)
  • Data to be sent
    AttentionFor the control of a KNX object, it is also possible to create this object in the "Automation" area and there under "Automation Objects". These objects then provide actions that can also be addressed using a "trivum action".
  • UDP
    • IP address (IPV4 address or domain name)
    • Port
    • Data
  • TCP
    • IP Address (IPV4 address or domain name)
    • Port
    • Port data
  • HTTP
    • IP Address (IPV4 address or domain name)
    • Port
    • Port data
  • MQTT
    • Topic
    • Value
    • Option for Retain
  • RS232/IR
    • It is not recommended to use RS232/IR steps in newer installations

What restrictions do macros have?

  1. The possibility to send RS232/IR commands is only possible with trivum RS232 adapters. These adapters are currently not available. If you want to control devices via RS232 or infrared, you can use RS232 or infrared adapters from other manufacturers that can be controlled via TCP, UDP or HTTP.
  2. The individual MacroSteps do not check whether UDP, TCP, HTTP, MQTT or KNX messages have arrived at the receivers.
  3. It is not possible to evaluate any messages received from other network partners.
  4. HTTP commands do not support HTTPS

Automate something simple.

Turn on the light in the living room when you get home. Then in the kitchen. Then start the chill-out playlist at volume 20.
If you do this every day, it would be nice to do it all at the touch of a button. And you can do this by setting up macros in trivum that perform several steps at once.