connect_bulb
Connect to a smart bulb by IP address, supporting both real Yeelight bulbs and mock bulbs for local testing. Specify the bulb type and optional port to establish a connection.
Instructions
Connect to a smart bulb at a given IP address. Supports both real Yeelight bulbs and mock bulbs for testing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | The IP address of the smart bulb (e.g., '192.168.1.15' or '127.0.0.1') | |
| port | No | Optional TCP port. Defaults to 55443 for Yeelight and 9999 for mock. | |
| type | No | The bulb driver type. Use 'mock' for local simulation testing, and 'yeelight' for actual Yeelight WiFi bulbs. | mock |