Not understanding Macros in Activities

From what I’ve seen Macros are their own type of activity that’s not an activity and can’t be used in Activities. WHAT?

My intuition

I thought the idea of Macros is a way to store sequences so that you don’t have to reprogram them in every single activity.

This is how it works in Harmony. You program the device’s on-off sequence once. Then configure the “setup” sequence (separate from on-off) like setting HDMI2 with a possible delay.

The reason this is effective, you only have to program each device once, not 100% times.

I was trying to use Macros for this purpose.

Sharing sequences in Activities

Since a bunch of my activities are all going to be identical, is there a way to share a set of commands, so I don’t have to re-enter them 100 times just to get them right?

And if the timing is off, I have to update it in 5 places. How do I avoid that?

Hi,

this is exactly what macros can be used!
In opposite to Harmony, where you have to define the same macros twice or tripple in different activities.

This is one of the great advantages of macros by the unfolded circle.

That doesn’t help me figure out how to use them though.

Took a while, but you need to add them as entities:

Although, now I need to know what to put in my macros. Anything special?

Should I add the Delay to my Macro even though I don’t change it to HDMI2 in there or what?

This is what I have in that macro right now:

In coding terms, this is like a function, right? You create a reusable function. The issue is, these functions can’t take args, correct? Or can I add placeholders for:

  1. Turn on TV
  2. Delay 6000
  3. Set Input as PLACEHOLDER

Does that work? If not, what use cases are there for Macros that I’m missing?

(post deleted by author)

Habe Kabel wieder abgezogen,das Dock war in der Fritz Box zu sehen,aber es war keine

Verbindung da. Merkwürdig.

Und zu guter Letzt war das WLAN dann weg. :enraged_face:

Über 1h gefummelt,um das Dock wieder zu verbinden,das muss einfacher gehen.

Das Dock fand mein WLAN nicht,warum auch immer.

Paarmal zurück gesetzt,von vorne wieder. Nervig.

Dann hatte ich es wieder ging trotzdem nicht,musste das Dock dann noch zum Configurator hinzufügen.

Also das geht besser. Aber jetzt geht alles wieder. :+1:

Not sure how that’s related to Macros.


There’s no way to pass in a variable or have a placeholder value from what I’ve seen, but yes, you can use macros to ensure the basics remain the same in every activity. If you use the PC in 2 activities, for instance, Macros let you share the config.

And I think you can use Macros in other Macros, so you can really abstract it out.