--- name: tasmota-tailscale version: 1.0.0 --- # Tasmota Remote Access via Tailscale ## Why Tailscale (for Tasmota control) - No router port-forwarding required - Works over internet as if plug were on LAN - Encrypted connection via the Tailscale mesh VPN ## Setup steps ### 1. Install Tailscale on controlling device ```bash # macOS/Linux brew install tailscale # Or download from tailscale.com # Authenticate tailscale up ``` ### 2. Find the plug's Tailscale IP ```bash tailscale ip list ``` - Look for the device name you assigned (or the MAC address if known) - Typical format: `100.xx.xx.xx` ### 3. Send HTTP commands to the Tailscale IP ```bash # Example: turn on the plug curl -s 'http://100.103.XX.XX/?cmnd=Power%20ON' # Example: check status curl -s 'http://100.103.XX.XX/' ``` ### 4. Verify Tailscale is active on both ends - Both the controlling device AND the network where the plug lives must have Tailscale running - If the plug is a standalone Tasmota device (not behind another router), it needs Tailscale installed too - Or: flash Tasmota with Tailscale integration (see tasmotaucp or third-party firmwares) ## Troubleshooting - **Plug not visible in `tailscale ip list`**: Check that the plug is powered and on the same local network as the Tailscale-enabled router/gateway - **Connection timed out**: Verify the plug's local IP is reachable first (`ping `), then check Tailscale status - **Best practice**: Reserve a static local IP for the plug via DHCP lease, then Tailscale will consistently map to the same Tailscale IP ",