{"id":85,"date":"2026-02-05T12:26:34","date_gmt":"2026-02-05T12:26:34","guid":{"rendered":"https:\/\/www.myuremote.com\/website\/?page_id=85"},"modified":"2026-02-18T09:55:09","modified_gmt":"2026-02-18T09:55:09","slug":"macros","status":"publish","type":"page","link":"https:\/\/www.myuremote.com\/website\/docs\/how-to\/macros\/","title":{"rendered":"Macros"},"content":{"rendered":"\n<section style=\"max-width:1000px;margin:0 auto;padding:26px 18px;line-height:1.6;\">\n\n  <header style=\"margin-bottom:18px;\">\n    <h1 style=\"font-size:clamp(26px,4vw,38px);line-height:1.15;margin:0;\">\n      Macros \u2013 Advanced Automation in MyURemote\n    <\/h1>\n    <p style=\"margin:10px 0 0 0;max-width:920px;\">\n      In MyURemote, a <strong>Macro<\/strong> is a programmable action that executes a sequence of commands.\n      Macros allow installers and integrators to create powerful automation:\n      turn on devices, switch inputs, set volume, activate surround modes,\n      trigger lighting scenes, control domotics platforms, and more \u2014\n      all with a single action.\n    <\/p>\n  <\/header>\n\n  <hr style=\"opacity:.25;margin:18px 0;\" \/>\n\n  <!-- 1. TWO TYPES OF MACROS -->\n  <section style=\"margin:18px 0;\">\n    <h2 style=\"margin:0 0 8px 0;\">1. Two types of macros<\/h2>\n\n    <p style=\"margin:0 0 10px 0;\">\n      MyURemote supports two powerful macro concepts:\n    <\/p>\n\n    <div style=\"border:1px solid rgba(0,0,0,.15);border-radius:14px;padding:14px;\">\n      <h3 style=\"margin:0 0 8px 0;font-size:16px;\">A. Manual Macros (button-based)<\/h3>\n      <p style=\"margin:0;\">\n        These macros appear as dedicated buttons in the zone interface.\n        The user taps the macro button to execute the programmed sequence.\n      <\/p>\n    <\/div>\n\n    <div style=\"border:1px solid rgba(0,0,0,.15);border-radius:14px;padding:14px;margin-top:12px;\">\n      <h3 style=\"margin:0 0 8px 0;font-size:16px;\">B. Input-Triggered Macros (automatic)<\/h3>\n      <p style=\"margin:0 0 10px 0;\">\n        These macros run automatically when a specific input is selected in a zone.\n      <\/p>\n      <p style=\"margin:0;\">\n        If a macro has <strong>exactly the same name as a zone input<\/strong>,\n        it will automatically execute when that input is pressed.\n      <\/p>\n    <\/div>\n  <\/section>\n\n  <!-- 2. INPUT-TRIGGERED MACROS EXPLAINED -->\n  <section style=\"margin:18px 0;\">\n    <h2 style=\"margin:0 0 8px 0;\">2. Automatic macros linked to inputs (power feature)<\/h2>\n\n    <p style=\"margin:0 0 12px 0;\">\n      When a macro is named exactly like a zone input (for example <strong>input1<\/strong>),\n      it will automatically run when that input is selected.\n    <\/p>\n\n    <div style=\"border:1px solid rgba(0,0,0,.12);border-radius:14px;padding:14px;\">\n      <h3 style=\"margin:0 0 8px 0;font-size:16px;\">Example<\/h3>\n      <ul style=\"margin:0 0 0 18px;\">\n        <li>Create a macro named <strong>input1<\/strong><\/li>\n        <li>Select <strong>Input 1<\/strong> in the zone<\/li>\n        <li>The macro executes automatically<\/li>\n      <\/ul>\n    <\/div>\n\n    <div style=\"border:1px solid rgba(0,0,0,.12);border-radius:14px;padding:14px;margin-top:12px;\">\n      <h3 style=\"margin:0 0 8px 0;font-size:16px;\">Why this is extremely powerful<\/h3>\n      <ul style=\"margin:0 0 0 18px;\">\n        <li>When switching amplifier inputs, automatically switch the TV to the correct HDMI input.<\/li>\n        <li>Activate a specific surround preset per source.<\/li>\n        <li>Trigger lighting or domotics scenes per input.<\/li>\n        <li>Keep the entire AV system synchronized automatically.<\/li>\n      <\/ul>\n    <\/div>\n\n    <p style=\"margin:12px 0 0 0;opacity:.85;\">\n      This allows full system automation without requiring extra user interaction.\n      The user only presses an input \u2014 the rest happens automatically.\n    <\/p>\n  <\/section>\n\n  <!-- 3. HOW TO CREATE A MACRO -->\n  <section style=\"margin:18px 0;\">\n    <h2 style=\"margin:0 0 8px 0;\">3. Creating a macro<\/h2>\n\n    <p style=\"margin:0 0 10px 0;\">\n      Go to <strong>Settings \u2192 Macros<\/strong> and tap the <strong>+<\/strong> icon.\n    <\/p>\n\n    <div style=\"border:1px solid rgba(0,0,0,.15);border-radius:14px;padding:14px;\">\n      <h3 style=\"margin:0 0 10px 0;font-size:16px;\">Macro properties<\/h3>\n      <ul style=\"margin:0 0 0 18px;\">\n        <li><strong>Label<\/strong> \u2013 the macro name (important for input-triggered macros).<\/li>\n        <li><strong>Sequence number<\/strong> \u2013 optional display order.<\/li>\n        <li><strong>Zone<\/strong> \u2013 determines where the macro is active.<\/li>\n        <li><strong>Icon<\/strong> \u2013 for manual macros displayed in the interface.<\/li>\n      <\/ul>\n    <\/div>\n  <\/section>\n\n  <!-- 4. ADDING COMMANDS -->\n  <section style=\"margin:18px 0;\">\n    <h2 style=\"margin:0 0 8px 0;\">4. Adding commands<\/h2>\n\n    <ol style=\"margin:0 0 0 18px;\">\n      <li>Select a device.<\/li>\n      <li>Select the command.<\/li>\n      <li>Optionally define a delay (milliseconds).<\/li>\n      <li>Repeat as needed.<\/li>\n    <\/ol>\n\n    <div style=\"border:1px solid rgba(0,0,0,.12);border-radius:14px;padding:14px;margin-top:12px;\">\n      <h3 style=\"margin:0 0 8px 0;font-size:16px;\">Delay between steps<\/h3>\n      <p style=\"margin:0;\">\n        Use delays only when required (for example when devices need boot time).\n        Example: 500 = half a second.\n      <\/p>\n    <\/div>\n  <\/section>\n\n  <!-- 5. DEVICE SELECTION LOGIC -->\n  <section style=\"margin:18px 0;\">\n    <h2 style=\"margin:0 0 8px 0;\">5. Which devices are available in macros<\/h2>\n\n    <p style=\"margin:0 0 10px 0;\">\n      By default, only devices linked to the active AV setup of the zone are shown.\n    <\/p>\n\n    <div style=\"border:1px solid rgba(0,0,0,.15);border-radius:14px;padding:14px;\">\n      <h3 style=\"margin:0 0 8px 0;font-size:16px;\">Using additional systems (domotics, gateways, etc.)<\/h3>\n      <ol style=\"margin:0 0 0 18px;\">\n        <li>Go to <strong>Settings \u2192 Zones<\/strong><\/li>\n        <li>Open the relevant zone<\/li>\n        <li>Scroll to <strong>External devices used in macros for this zone<\/strong><\/li>\n        <li>Add the additional devices<\/li>\n      <\/ol>\n    <\/div>\n  <\/section>\n\n  <!-- 6. BEST PRACTICES -->\n  <section style=\"margin:18px 0;\">\n    <h2 style=\"margin:0 0 8px 0;\">6. Best practices<\/h2>\n\n    <div style=\"border:1px solid rgba(0,0,0,.12);border-radius:14px;padding:14px;\">\n      <h3 style=\"margin:0 0 8px 0;font-size:16px;\">For manual macros<\/h3>\n      <ul style=\"margin:0 0 0 18px;\">\n        <li>Use clear names like <strong>Watch TV<\/strong>, <strong>Music<\/strong>, <strong>All Off<\/strong>.<\/li>\n        <li>Choose recognizable icons.<\/li>\n      <\/ul>\n    <\/div>\n\n    <div style=\"border:1px solid rgba(0,0,0,.12);border-radius:14px;padding:14px;margin-top:12px;\">\n      <h3 style=\"margin:0 0 8px 0;font-size:16px;\">For input-triggered macros<\/h3>\n      <ul style=\"margin:0 0 0 18px;\">\n        <li>The macro name must exactly match the input name.<\/li>\n        <li>Create the macro in the same zone as the input.<\/li>\n        <li>Use this feature for system synchronization, not for user-visible buttons.<\/li>\n      <\/ul>\n    <\/div>\n  <\/section>\n\n<\/section>\n\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Macros \u2013 Advanced Automation in MyURemote In MyURemote, a Macro is a programmable action that executes a sequence of commands. Macros allow installers and integrators to create powerful automation: turn on devices, switch inputs, set volume, activate surround modes, trigger lighting scenes, control domotics platforms, and more \u2014 all with a single action. 1. Two [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":43,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-85","page","type-page","status-publish","hentry"],"blocksy_meta":{"has_hero_section":"disabled","styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/www.myuremote.com\/website\/wp-json\/wp\/v2\/pages\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.myuremote.com\/website\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.myuremote.com\/website\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.myuremote.com\/website\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myuremote.com\/website\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":4,"href":"https:\/\/www.myuremote.com\/website\/wp-json\/wp\/v2\/pages\/85\/revisions"}],"predecessor-version":[{"id":174,"href":"https:\/\/www.myuremote.com\/website\/wp-json\/wp\/v2\/pages\/85\/revisions\/174"}],"up":[{"embeddable":true,"href":"https:\/\/www.myuremote.com\/website\/wp-json\/wp\/v2\/pages\/43"}],"wp:attachment":[{"href":"https:\/\/www.myuremote.com\/website\/wp-json\/wp\/v2\/media?parent=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}