Smart Home Control

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.

How Device Discovery Works

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.

Natural Language Control

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.

Device Tools

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

Automation with Hooks

Smart devices become even more powerful when combined with Meggy's Hooks system. You can create event-driven automation rules:

For example, you could set up a hook that says: "When the front door sensor goes offline, send me a Telegram message."

Privacy First

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.

Getting Started

  1. Open Settings → Smart Devices
  2. Toggle Enable Device Discovery
  3. Wait a few seconds for Meggy to scan your network
  4. Start asking: "What devices are on my network?"

If you use MQTT (popular with Tasmota and ESPHome users), enter your MQTT broker address in settings and Meggy will connect automatically.