Voice assistants: Alexa, Google Home, Apple Home and Siri
Add CasaTorch once in your Alexa, Google Home, Apple Home or SmartThings app and switch your lights, plugs, blinds and thermostats by voice - plus "Hey Siri, Ask CasaTorch" for your Home AI Agent. Locks, garage doors, gates and alarms are never shared.
Voice assistants lets you talk to your home through the assistant you already have. CasaTorch acts as a Matter bridge: you add it once in your assistant's app, and the devices CasaTorch shares show up there with their names. Say "turn off the kitchen lights" to your assistant, switch a plug in its app, or tap it in CasaTorch - all of them stay in step. It's in Settings › Voice assistants. Pro
Works with Amazon Alexa, Google Home, Apple Home and SmartThings, through Matter. One bridge works with several of them at once.
Before you start
- A Matter hub at home for your assistant: an Echo speaker (most 4th generation and newer), a Nest speaker or display, a HomePod or Apple TV, or a SmartThings hub. Your phone alone isn't enough.
- The same home network for CasaTorch, your phone and that hub. Matter doesn't cross separate guest or device networks unless your router passes it on.
- IPv6 turned on on the computer that runs CasaTorch and on your home network. IPv6 from your internet provider isn't needed - your home network uses its own. Most routers and computers have it on already.
- Docker: run CasaTorch with host networking (
network_mode: host, as in the example compose file). Docker's own network hides the bridge from your phone and speakers. Docker Desktop on a Mac or Windows PC usually can't pass it through - use a Linux computer, a Raspberry Pi or the Home Assistant add-on. - Home Assistant add-on: nothing to do - the add-on already uses the host's network.
The bridge uses UDP port 5540 on your home network (5541-5549 if 5540 is taken) and announces itself the standard way (mDNS). Nothing is opened to the internet.
Set it up
- Open Settings › Voice assistants and turn on Share with voice assistants.
- A QR code and an 11-digit setup code appear. Leave the page open.
- Add it in your app (below). When it's added, CasaTorch shows Working with Alexa (or the app you used).
Amazon Alexa
- In the Alexa app, tap Devices, then +, Add Device, Other, Matter.
- Scan the QR code, or type the 11 digits.
- Alexa finds the shared devices. Put them in groups if you like, then say "Alexa, turn off the kitchen lights".
Alexa shows at most 50 devices from one bridge. If CasaTorch shares more, choose the ones you talk to most (see What's shared).
Google Home
- CasaTorch's bridge isn't certified by the Matter standards group (that costs a fee per product). Google Home asks for a one-time step for such devices: in the Google Home Developer Console, create a project and add a Matter integration with vendor ID 0xFFF1 and product ID 0x8000. Use the same Google account as your Google Home app.
- In the Google Home app, tap Devices, Add, Matter-enabled device, and scan the code.
- Pick a room for each device, then say "Hey Google, turn on the porch light".
If an Android phone stops with "Something went wrong", add CasaTorch from an iPhone with the Google Home app instead.
Apple Home
- In the Home app, tap +, then Add Accessory, and scan the code (or tap More options and type the 11 digits).
- It says Uncertified Accessory - tap Add Anyway. (See Google Home above for why.)
- Pick rooms, then say "Hey Siri, turn off the bedroom fan".
SmartThings
- In the SmartThings app, tap +, then Device, then Scan QR code.
- Scan the code. The shared devices show up in SmartThings.
Add a second app
Once one app has CasaTorch, the code is hidden. To add another (say Apple Home as well as Alexa), tap Add another app: the code shows again for 15 minutes. Added to lists every app that has CasaTorch; Remove takes CasaTorch out of that app.
What's shared - and what never is
To start with, CasaTorch shares:
- Lights - on/off, brightness, and color or white temperature where the light has them
- Plugs and switches - on/off
- Fans - on/off and speed
- Blinds, shades, curtains and awnings - open, close and position
- Thermostats - the set temperature, heat/cool/off, and the room temperature
- Sensors - temperature, humidity, door and window (open/closed), motion and water leaks. From Home Assistant, the ones in a room.
- Scenes - as a switch: turning it on runs the scene, then it turns itself back off
Tap Choose… to add or take off any of them. Names are the ones you gave in CasaTorch (Settings › Names). Matter doesn't carry rooms to every app: Alexa, Google Home and Apple Home ask you to pick a room when you add CasaTorch. Turn on Put the room in front of each name if you'd rather say "Kitchen ceiling" than "Ceiling".
Never shared
These are never shared with a voice assistant, whatever you pick - the list in Choose… shows them with a shield and the reason:
- Locks
- Garage doors, gates and doors (any cover that isn't a blind, shade, curtain, shutter or awning), and water valves
- Alarm panels and sirens
- Switches, plugs, fans and scenes whose name says they open, unlock or disarm something ("Garage door opener", "Gate", "Disarm") - in every language CasaTorch speaks. If a name was caught by mistake, an owner can allow that switch in Settings › Safety.
- Scenes that include a lock, an alarm or a garage door, and Home Assistant scripts and buttons (they could do anything)
It's the same rule as everywhere in CasaTorch: voice and automation never unlock a door, open a garage door or gate, or disarm an alarm. Every command from an assistant is checked again when it arrives, and goes through the same safety check as a tap in the app.
"Hey Siri, Ask CasaTorch"
Ask your Home AI Agent a question by voice and hear a short answer: "Hey Siri, Ask CasaTorch" - "is the garage door closed?", "how much power are we using?", "what's on the calendar tomorrow?". You can also say "turn off the kitchen lights" or "open the living room blinds". It uses an Apple Shortcut and a key for each phone. Pro (questions need an AI connected in Settings › Connections & AI).
- In Settings › Voice assistants, under Siri: "Ask CasaTorch", tap Set up a phone…. Name the phone and pick Ask questions, Switch things or both. Tap Make the key.
- Copy the key and the address. CasaTorch shows the key only this once.
- On the iPhone, open Shortcuts, tap + and name the shortcut Ask CasaTorch - that's what you'll say to Siri.
- Add the action Dictate Text.
- Add Get Contents of URL and paste the address. Tap Show More: Method POST; under Headers add Authorization with the key (it starts with "Bearer") as its value; Request Body JSON, with a text field question set to Dictated Text.
- Add Speak Text and pick Contents of URL.
- Say "Hey Siri, Ask CasaTorch", then your question.
The answer is kept short and plain for speaking. The full answer - with charts and buttons - is in that person's chats in Home AI Agent. The key only opens these two things: asking, and switching what's shared with voice assistants. It can't open the dashboard, change settings or see cameras. Remove a phone's key any time; it stops working at once.
At home the shortcut works with the address CasaTorch gives you. Away from home it works through Secure Remote Access once that is on.
"Alexa, ask CasaTorch..." Coming
Asking your Home AI Agent questions through Alexa needs an Alexa skill, which is on the way. Switching devices with Alexa works now, through the bridge.
If something doesn't work
- The app can't find CasaTorch. Check that your phone is on the home Wi-Fi (not a guest network) and that your assistant's hub is on. On Docker, use host networking. Make sure a firewall on the computer allows the local network (UDP 5540 and mDNS, UDP 5353).
- Health says IPv6 is turned off. Turn IPv6 on in the computer's network settings (on a Raspberry Pi it's on unless someone turned it off), then turn Voice assistants off and on.
- Health says the ports are in use. Another Matter program on the same computer (a second bridge) is using them. Stop it, or run it on another computer.
- Devices show "Not responding". CasaTorch can't reach that device right now (Home Assistant restarting, a bulb switched off at the wall). It keeps the device in your app for 7 days so its room and routines aren't lost.
- Pairing got stuck, or you're giving the computer away. Open Reset the bridge in Settings › Voice assistants. CasaTorch leaves every app and makes a new code.
- Several network adapters (Wi-Fi and Ethernet, or a VPN): set
CASATORCH_MATTER_INTERFACEto the one on your home network.
Settings › Health shows how the bridge is doing in plain words, and what to do about it. The bridge keeps its keys and pairings encrypted in CasaTorch's data folder; if the bridge stops, the rest of CasaTorch carries on.
Amazon, Alexa, Google, Google Home, Apple, Siri, HomePod, Apple TV, Samsung and SmartThings are trademarks of their owners. CasaTorch isn't made or endorsed by them; it works with their apps through the Matter standard.
Something unclear or wrong? E-mail [email protected] and we'll fix the page, or ask in our Discord community.