The pairing with your bridge didn't complete. Try running the pairing tool again:
~/Library/Python/3.9/bin/lap-pair YOUR_BRIDGE_IP
Make sure to press the black button on the bridge when prompted!
Features we're growing for you
Control your Lutron Caseta smart lights with voice commands through your Apple Watch. Say things like "turn on the living room lights" or "dim the bedroom to 50%".
Control lights with natural voice commands from your watch or phone
Organize lights by room and control entire rooms at once
Create and activate lighting scenes for different moods
Instant response with local relay for zero cloud latency
The Lutron Caseta Smart Bridge only accepts connections from your local network. To control your lights from anywhere (including through Peas on your watch), you need a small relay program running on a computer in your home.
โโโโโโโโโโโโโโโโโโโ WebSocket โโโโโโโโโโโโโโโโโโโ โ peas.watch โโโโโโโโโโโโโโโโโโโโโบโ Local Relay โ โ (Cloud) โ โ (Your Mac/PC) โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโฌโโโโโโโโโ โ Local โ Network โโโโโโโโโโผโโโโโโโโโ โ Lutron Bridge โ โ 192.168.x.x โ โโโโโโโโโโโโโโโโโโโ
Your Lutron bridge needs a static IP address. Find it in one of these ways:
๐ก Tip: Set a static IP for your bridge in your router settings so it doesn't change.
The Lutron bridge requires certificate authentication. Install the pairing tool:
# Install the Python pairing library
pip3 install pylutron-caseta
Run the pairing tool (replace with your bridge IP):
# On Mac
~/Library/Python/3.9/bin/lap-pair 192.168.0.6
# On Linux
~/.local/bin/lap-pair 192.168.0.6
# On Windows
python -m pylutron_caseta.cli pair 192.168.0.6
โ ๏ธ Important: When prompted, you have 30 seconds to press the small black button on the back of your Lutron bridge. This authorizes the pairing.
After successful pairing, you'll have certificate files in:
~/.pylutron_caseta/%USERPROFILE%\.pylutron_caseta\Download the Peas Lutron Relay from GitHub:
# Clone the relay
git clone https://github.com/peas-watch/lutron-relay.git
cd lutron-relay
# Or download directly
curl -L https://peas.watch/downloads/lutron-relay.zip -o lutron-relay.zip
unzip lutron-relay.zip
cd lutron-relay
Create a configuration file lutron-config.json:
{
"bridgeIp": "192.168.0.6",
"peasToken": "YOUR_AUTH_TOKEN"
}
To get your auth token:
document.cookie.split("; ").find(c => c.startsWith("authToken="))?.split("=")[1]
Copy the token that appears and paste it in your config file.
# Install Node.js dependencies
npm install
# Start the relay
npm start
โ Success! You should see:
๐ซ Peas Lutron Relay v1.0.0
๐ Loaded config for bridge at 192.168.0.6
๐ Loading certificates from pylutron_caseta config...
๐ Connecting to Lutron bridge at 192.168.0.6:8081...
โ
Connected to Lutron bridge
๐ Connecting to Peas.watch...
โ
Connected to Peas.watch
๐ Relay is running! Lights can now be controlled from peas.watch
To have the relay start automatically when your Mac boots:
# Create a Launch Agent
cat > ~/Library/LaunchAgents/com.peas.lutron-relay.plist << 'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.peas.lutron-relay</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/node</string>
<string>relay.js</string>
</array>
<key>WorkingDirectory</key>
<string>/Users/YOUR_USERNAME/lutron-relay</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>/tmp/peas-lutron-relay.log</string>
<key>StandardErrorPath</key>
<string>/tmp/peas-lutron-relay.log</string>
</dict>
</plist>
EOF
# Replace YOUR_USERNAME with your actual username
# Load the service
launchctl load ~/Library/LaunchAgents/com.peas.lutron-relay.plist
# Check if running
launchctl list | grep peas
# View logs
tail -f /tmp/peas-lutron-relay.log
Once the relay is running:
The pairing with your bridge didn't complete. Try running the pairing tool again:
~/Library/Python/3.9/bin/lap-pair YOUR_BRIDGE_IP
Make sure to press the black button on the bridge when prompted!
ping 192.168.x.xnc -zv 192.168.x.x 8081npm startThe relay will automatically reconnect. If it keeps disconnecting:
Features currently in development:
Set alerts for specific keywords or sounds. Get notified when someone says your name or a baby cries.
Share your location with family. See where your loved ones are in real-time.
AI-powered email summaries. Know what's important without reading every message.
AI voice coaching during your runs. Real-time pace guidance and motivation.
Automatic photo journaling. Capture moments with context from your day.
Track what you're listening to. Build your musical diary automatically.
We love hearing from you! If you have an idea for a feature that would make Peas more useful, let us know.