Most smart home setups require a different app for every brand. One app for Philips lights, another for TP-Link plugs, a third for your temperature sensors. Each has its own interface, its own login, its own way of doing things.
Meggy cuts through that complexity. It discovers devices on your local network automatically, and lets you control all of them with plain English — "turn off the living room lights," "what's the temperature in the garage?", "dim the bedroom to 30%." No extra apps, no cloud dependencies, no subscriptions.
When you enable Smart Devices in settings, Meggy continuously scans your local network for compatible devices using multiple discovery protocols:
| Protocol | Devices Found | How It Works |
|---|---|---|
| mDNS | Chromecast, HomePod, printers, NAS devices | Broadcasts DNS queries on the local network |
| SSDP | Smart TVs, media servers, UPnP devices | Universal Plug and Play discovery with XML service introspection |
| MQTT | Tasmota, ESPHome, custom IoT devices | Subscribes to MQTT broker topics |
| BLE | Bluetooth sensors, beacons, wearables | Scans for Bluetooth Low Energy advertisements |
| Matter | Next-gen smart home standard devices | Matter commissioning and control via QR or pairing codes |
Discovery runs in the background. As devices appear and disappear from your network, Meggy updates its device registry automatically and proactively suggests new devices worth connecting.
Meggy offers three ways to add devices through its guided Setup Wizard:
Scan the QR code on your device's packaging (Matter MT: payloads) or type an 11-digit or 21-digit manual pairing code. Meggy parses the code, commissions the device, and automatically generates a device skill from the cloud catalog.
Let Meggy scan your network and suggest devices to connect. Select a room, and the AI handles the rest — probing capabilities, discovering endpoints, and creating a comprehensive skill document.
Enter a device's IP address and name directly for devices that don't support standard discovery protocols.
Assign devices to rooms — Living Room, Kitchen, Office, Garage — for easy filtering. The room tabs in settings let you quickly jump between locations, and you can ask Meggy things like "turn off everything in the bedroom."
Devices are automatically categorized (light, switch, sensor, thermostat, lock, camera, speaker, plug, and more) with matching icons. You can filter by category to see only your lights, only your sensors, or only your locks.
Once devices are discovered, you can control them by simply talking to your assistant:
Meggy maps your natural language commands to the appropriate device actions. It understands room names, device types, and common commands without requiring you to learn any specific syntax.
The AI has access to 13 dedicated smart device tools:
| Tool | What It Does |
|---|---|
device_discover |
Trigger a network-wide device scan (mDNS + SSDP + BLE) |
device_list |
Show all discovered devices with capabilities and status |
device_probe |
Probe a device's REST APIs for endpoints, auth, and WebSocket channels |
device_connect |
All-in-one: probe → discover channels → attempt WebSocket + pairing |
device_http_request |
Send HTTP requests (GET/POST/PUT/DELETE) to a device |
device_websocket |
Open a WebSocket connection for real-time device communication |
device_upnp_action |
Call UPnP SOAP actions (e.g., SetVolume on RenderingControl) |
device_commission_qr |
Commission a Matter device via QR code or manual pairing code |
device_save_skill |
Save an AI-generated device skill to persist knowledge across sessions |
device_room_assign |
Assign a device to a room for location-based organization |
device_categorize |
Set a device's category (light, sensor, thermostat, etc.) |
device_catalog_lookup |
Search the cloud device catalog by manufacturer, model, or category |
device_install_package |
Install npm packages on demand for device communication adapters |
When Meggy researches a device — probing its APIs, discovering capabilities, testing commands — it can save everything as a Device Skill. This is a knowledge document that persists across sessions, so the AI remembers how to control your TV, your smart plugs, or your temperature sensors without re-discovering them every time.
Skills are auto-generated when commissioning via QR code (using the cloud device catalog), or you can ask the AI to save one manually after it figures out how a device works.
Meggy doesn't just wait for you to ask. It proactively monitors your devices:
Smart devices become even more powerful when combined with Meggy's Hooks system. You can create event-driven automation rules:
deviceDiscovered — Fires when a new device appears on the network. Use it to auto-name devices or send a notification.deviceOnline — Fires when a device comes back online. Use it to restore a scene or trigger a greeting.deviceOffline — Fires when a device goes offline unexpectedly. Use it to send an alert or log the event.For example, you could set up a hook that says: "When the front door sensor goes offline, send me a Telegram message."
All device communication stays on your local network. Meggy talks directly to devices via their native protocols — mDNS, MQTT, BLE — without routing through any cloud service. Your smart home data never leaves your home.
The cloud device catalog is used only for device identification and skill generation — it provides product images, descriptions, and setup instructions. No device data or commands are ever sent to the cloud.
If you use MQTT (popular with Tasmota and ESPHome users), enter your MQTT broker address in settings and Meggy will connect automatically.