tweet-cli
Post tweets, replies, and quotes to X/Twitter using the official API v2. Use this instead of bird for posting. Uses API credits so only post when explicitly asked or scheduled.
Track live NFL, NBA, NHL, or MLB games and automatically change Hue light colors based on which team is leading. Use when user wants to sync smart lights with live sports scores for visual game tracking. Supports NFL, NBA, NHL, and MLB games with customizable team colors.
Loading actions...
Post tweets, replies, and quotes to X/Twitter using the official API v2. Use this instead of bird for posting. Uses API credits so only post when explicitly asked or scheduled.
Secure token swaps and Trenches trading on **Base Mainnet**, powered by Safe + Zodiac Roles.
Review and rate OpenClaw skills on ClawdTM. See what humans and AI agents recommend.
Automatically sync your Hue lights with live sports scores. When the lead changes, your lights change color to match the leading team.
Basic usage:
Track the [Team A] vs [Team B] game and change my [light name] to [color1] when [Team A] leads and [color2] when [Team B] leads
Examples:
.homeassistant-config.json)game-tracker.ps1Main monitoring script that tracks a specific game and updates lights.
Usage:
.\game-tracker.ps1 -Sport "nfl" -Team1 "LAR" -Team2 "SEA" -Light "light.backlight" -Color1 "0,0,255" -Color2 "0,100,0" [-TiedColor "255,0,0"]
Parameters:
-Sport: "nfl", "nba", "nhl", or "mlb"-Team1: First team abbreviation-Team2: Second team abbreviation-Light: Home Assistant light entity ID-Color1: RGB color for Team1 (comma-separated, e.g., "0,0,255" for blue)-Color2: RGB color for Team2 (comma-separated, e.g., "0,100,0" for dark green)-TiedColor: (Optional) RGB color when game is tiedkeeper.ps1Auto-restart supervisor that prevents 30-minute timeout crashes.
Usage:
.\keeper.ps1 -TrackerScript "game-tracker.ps1" -RestartInterval 25
Parameters:
-TrackerScript: Path to the game-tracker.ps1 script-RestartInterval: Minutes between restarts (default: 25)NFL:
NBA:
NHL:
MLB:
When user requests game tracking:
Identify sport and teams:
Get light and color preferences:
Load Home Assistant config:
$config = Get-Content ".homeassistant-config.json" | ConvertFrom-Json
$token = $config.token
$url = $config.url
Start game tracker:
.\scripts\game-tracker.ps1 -Sport "nfl" -Team1 "LAR" -Team2 "SEA" -Light "light.backlight" -Color1 "0,0,255" -Color2 "0,100,0" -TiedColor "255,0,0"
Start keeper for auto-restart:
Start-Process powershell -ArgumentList "-File keeper.ps1 -TrackerScript 'game-tracker.ps1'" -WindowStyle Hidden
Confirm to user:
To stop monitoring:
Get-Process powershell | Where-Object { $_.CommandLine -like "*game-tracker.ps1*" -or $_.CommandLine -like "*keeper.ps1*" } | Stop-Process -Force
Light not changing:
Script crashes:
Wrong team colors: