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 |
| 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 |
Discovery runs in the background. As devices appear and disappear from your network, Meggy updates its device registry automatically.
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 11 dedicated smart device tools:
| Tool | What It Does |
|---|---|
scan_devices |
Trigger a network-wide device scan |
list_devices |
Show all discovered devices and their status |
control_device |
Send a command to a specific device (on, off, dim, color) |
get_device_state |
Read a device's current status (power, temperature, humidity) |
wake_on_lan |
Wake a sleeping computer on the network |
ble_read |
Read data from a Bluetooth Low Energy device |
ble_write |
Write data to a BLE device |
mqtt_publish |
Publish a message to an MQTT topic |
mqtt_subscribe |
Subscribe to MQTT topics for real-time updates |
matter_commission |
Commission a new Matter device |
matter_control |
Send commands to Matter-compatible 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.
If you use MQTT (popular with Tasmota and ESPHome users), enter your MQTT broker address in settings and Meggy will connect automatically.