Create Macros for Astrion Remote | One-Button Home Assistant Automatio Create Macros for Astrion Remote | One-Button Home Assistant Automation
Skip to Content

What Are Macros?

A Macro is a sequence of actions triggered by a single button press on your Astrion Remote. Instead of performing multiple steps manually, you press one button and everything happens automatically:

  • 🎬 Start Movie → dim lights + warm color + TV on + set input
  • 📺 Normal TV → balanced lighting + TV on
  • 💤 All Off → TV off + lights off

📌 Prerequisites: Before creating Macros, make sure you have:
• Astrion Remote firmware v1.4.0 or newer
• ROSCard v1.4.0 or newer (installed via HACS)
• Home Assistant Scenes already created
• Your device entity IDs (TV, lights) noted down

Finding Your Entity IDs

Before creating Macros, you need the exact entity IDs for your devices. Here's how to find them:

Samsung TV

1 Go to Settings → Devices & Services → Integrations

2 Click your Samsung TV integration

3 Click the TV device → look at the Entities list

You'll see something like:

  • media_player.living_room_samsung_tv
  • media_player.samsung_tv_qn65q80b

That full string is your TV entity ID.

Philips Hue Lights

1 Go to Settings → Devices & Services → Entities

2 Filter by Domain: light

3 Look for entries matching your room/zone names

You'll see entities like:

  • light.living_room (Hue room group)
  • light.cinema_zone (Hue zone group)

For macros, use the group entity (room or zone), not individual bulbs.

💡 Hue Groups: Make sure "Allow Hue groups" / "Import rooms and zones" is enabled in your Hue integration settings. This makes room/zone groups available as single entities.

Step 1 — Open Macro Configuration

1.1 On Your Astrion Remote

Open the Astrion App (main screen application) and navigate to Macros & Automation or Shortcut Configuration.

1.2 Alternative — Via TV Card

Macros can also be created in the TV Card configuration in Home Assistant. In the TV Card settings, select your Astrion remote model (found in Astrion App → Settings → About) to see available physical buttons.

1.3 Add a New Macro

Click Add Macro to create your first automation.

Step 2 — Create "Start Movie" Macro

This macro turns on your TV, sets the correct input, and activates the Movie Night scene.

Setting Value
Macro Name Start Movie
Trigger Button Colored Button 1 — Short Press

Actions (in order):

# Service Target Data
1 scene.turn_on scene.movie_night
2 media_player.turn_on media_player.YOUR_TV_ENTITY
3 media_player.select_source media_player.YOUR_TV_ENTITY source: "HDMI 2"
📋 YAML Template — Start Movie
# Replace YOUR_TV_ENTITY with your actual TV entity ID
- service: scene.turn_on
target:
entity_id: scene.movie_night
- service: media_player.turn_on
target:
entity_id: media_player.YOUR_TV_ENTITY
- service: media_player.select_source
target:
entity_id: media_player.YOUR_TV_ENTITY
data:
source: "HDMI 2" # Change to your movie input source

✅ Macro Created! Button 1 will now start your movie mode.

Step 3 — Create "Normal TV" Macro

This macro turns on your TV with default settings and activates the Normal TV scene.

Setting Value
Macro Name Normal TV
Trigger Button Colored Button 2 — Short Press

Actions (in order):

# Service Target Data
1 scene.turn_on scene.tv_normal
2 media_player.turn_on media_player.YOUR_TV_ENTITY
3 media_player.select_source media_player.YOUR_TV_ENTITY source: "TV"
📋 YAML Template — Normal TV
# Replace YOUR_TV_ENTITY with your actual TV entity ID
- service: scene.turn_on
target:
entity_id: scene.tv_normal
- service: media_player.turn_on
target:
entity_id: media_player.YOUR_TV_ENTITY
- service: media_player.select_source
target:
entity_id: media_player.YOUR_TV_ENTITY
data:
source: "TV" # Change to your default input

Step 4 — Create "All Off" Macro

This macro turns off your TV and lights with a single press.

Setting Value
Macro Name All Off
Trigger Button Colored Button 3 — Short Press

Option A — Using Scene

# Service Target
1 media_player.turn_off media_player.YOUR_TV_ENTITY
2 scene.turn_on scene.all_off

Option B — Direct Light Control

# Service Target
1 media_player.turn_off media_player.YOUR_TV_ENTITY
2 light.turn_off light.YOUR_HUE_GROUP
📋 YAML Template — All Off (Option A)
# Replace YOUR_TV_ENTITY and YOUR_HUE_GROUP
- service: media_player.turn_off
target:
entity_id: media_player.YOUR_TV_ENTITY
- service: scene.turn_on
target:
entity_id: scene.all_off

Advanced: Short Press vs Long Press

Each button can be configured with different actions for short press and long press — doubling your available buttons without adding hardware.

Button Short Press Long Press
Button 1 Start Movie Pause / Resume
Button 2 Normal TV Switch Input
Button 3 All Off (Room) All Off (Whole House)

💡 Tip: In the macro configuration, each button has separate Short Press and Long Press trigger options. Set them up to create a more powerful remote experience.

Global Button Behavior

The Global Button Behavior setting controls how physical buttons behave in different contexts on your Astrion Remote.

Setting Behavior
Enabled Global shortcut mapping works everywhere on the remote
Disabled Inside TV interface → Follows TV Card mappings
Outside TV interface → Follows global shortcut settings

💡 Recommendation: If you want buttons to behave differently when controlling your TV vs. navigating the main interface, disable Global Button Behavior.

Step 5 — Sync to Your Astrion Remote

1 Open Remotios / Sync

On your Astrion Remote, open the Remotios / Sync function.

2 Select Your Dashboard

Select the dashboard you want to sync (e.g., "Astrion Pro" or your custom dashboard).

3 Complete the Sync

Click Sync and wait for the configuration to transfer.

4 Test Your Macros

Press each button to verify the macros work as expected:

  • 🔘 Button 1 → Movie scene + TV on + input set
  • 🔘 Button 2 → Normal TV scene + TV on
  • 🔘 Button 3 → TV off + lights off

✅ All Done! Your Astrion Remote is now configured with one-button automation. Next, learn how to create Activities to combine macros with custom screen layouts.

Troubleshooting

Macro Doesn't Execute

  • Check that the entity IDs are correct
  • Verify that the scene exists in Home Assistant
  • Confirm your TV integration is working in Home Assistant

Button Does Nothing

  • Verify firmware is v1.4.0 or newer
  • Check that ROSCard is v1.4.0 or newer
  • Re-sync the remote after making changes

TV Doesn't Respond

  • Check that the TV entity ID is correct
  • Verify the TV is on the same network as Home Assistant
  • Check the source name in the select_source action

Lights Don't Change

  • Check the light group entity ID is correct
  • Verify the scene is saved in Home Assistant
  • Test the scene manually in Home Assistant first

Sync Fails

  • Check the network connection between the remote and Home Assistant
  • Restart Home Assistant and try again
  • Check the official support thread for known issues

🔧 Still Not Working? Please create a forum post and include:
• Your firmware version
• Your ROSCard version
• The exact macro configuration
• Any error messages

Next Steps

Need help creating your macros?

Our support team and community are here to help you build your automations.