This skill controls Daikin air conditioners over local WiFi. It supports multiple devices, automatic discovery, full control, and multi-location setups.
When user specifies a device, match in this order:
id (case-insensitive, spaces→hyphens)name (case-insensitive)If multiple matches found: Ask user to specify location (e.g., "Which one? 'bedroom' at home or beach-house?")
Same device ID/name is allowed in different locations:
living-room @ homeliving-room @ beach-houseThe unique key is locationId:id. When adding, error only if same location + same ID exists.
Follow this step-by-step when user wants to add a device:
Ask for:
Ask: "Do you have multiple houses/locations? (e.g., home, beach-house, office)"
locationId from location name (lowercase, spaces→hyphens)Ask: "Do you have multiple ACs in the same room?"
Ask: "Do you know your device type?"
Show summary, confirm with user, then call daikin_add.
| Type | Description | Authentication |
|---|---|---|
| ------ | ------------- | ---------------- |
| brp069 | Standard WiFi adapter | None |
| brp072C | WiFi adapter with HTTPS | API key required |
| brp084 | Firmware 2.8.0+ adapters | None |
| airbase | Devices with zone support | None |
| skyfi | Legacy SkyFi devices | Password required |
For BRP072C devices, the API key is printed inside the unit:
name (required): Display name (e.g., "Living Room")ip (required): IP addresslocationId (optional): Location key (e.g., "home", "beach-house")locationName (optional): Location display (e.g., "Family Home")type (optional): Device typekey (optional): API key for BRP072Cpassword (optional): Password for SkyFilocationId to specify.All control tools accept optional device and locationId parameters. If only one device matches, use it automatically.
device: Device namelocationId: Location (if needed)power: "on" or "off"mode: "auto", "cool", "heat", "dry", "fan"User: Set up my Daikin AC
Agent: Let's add your AC! What's a name for it? (e.g., living-room, bedroom)
User: Living room
Agent: What's the IP address?
User: 192.168.1.101
Agent: Do you have multiple houses or locations?
User: Yes, at the beach
Agent: What's the location name? (e.g., Beach House)
User: Beach House
Agent: Adding "Living Room" at 192.168.1.101 (Beach House)... Done!
User: Add bedroom at the beach house too
Agent: What's the IP for the beach house bedroom?
User: 192.168.1.201
Agent: Adding "Bedroom" at 192.168.1.201 (Beach House)... Done!
User: Turn off bedroom
Agent: You have "bedroom" at both "Family Home" and "Beach House". Which one?
User: Beach house
Agent: Turning off Bedroom at Beach House...
User: Set living room to 22 degrees
Agent: [Sets Living Room to 22°C]
User: Turn off
Agent: [Turns off default device]
User: What's the temperature in bedroom?
Agent: [Shows bedroom status - if multiple, asks which location]
locationIdConfiguration stored in data/devices.json. Persists across sessions.
共 1 个版本