lametric-hass-local
A local Home Assistant integration for LaMetric devices. Communicates directly with your device over the local network — no cloud required after setup. Supports automatic discovery and provides full control over display, apps, notifications, and pixel streaming.
10 Entity Platforms
Button, Light (SKY), Notify, Number, Scene, Select, Sensor, Switch, Text, and Update — each representing a controllable aspect of your LaMetric device.
Services
Send messages and charts directly to your device from any Home Assistant automation
using show_message and show_chart.
Entity Services
Screensaver control (set_screensaver) and widget action dispatch
(activate_action).
Pixel Streaming
Push raw RGB888 frames over UDP via the LaMetric Streaming Protocol (LMSP) — SKY devices only.
Auto-Discovery
Devices are found automatically via Zeroconf (_lametric-api._tcp.local.),
SSDP, and DHCP hostname matching.
Manual Setup
Enter the local device host and API key directly. Discovery can pre-fill the host, so only the API key remains.
Installation
Via HACS recommended
- Open HACS in Home Assistant.
- Click the three-dot menu → Custom repositories.
- Enter
https://github.com/ElectroAttacks/lametric-hass-local, select category Integration, and click Add. - Search for LaMetric Local and click Download.
- Restart Home Assistant.
Manual installation
- Download the latest release and extract it.
- Copy the
custom_components/lametric_hass_local/folder into your Home Assistantcustom_components/directory. The folder name must be exactlylametric_hass_local. - Restart Home Assistant.
lametric-py ≥ 1.3.13 is
installed automatically as a dependency.
Configuration
Go to Settings → Devices & Services → Add Integration and search for LaMetric Local. Setup is done locally with the device host and API key.
Manual setup recommended
Enter the device's IP address and API key directly. The API key is available in the LaMetric mobile app under Device → Settings → Wi-Fi, or in the developer portal at developer.lametric.com/user/devices.
Discovery
Three discovery handlers detect LaMetric devices on the local network automatically. When a device is found, the config flow pre-fills the IP address and only asks for the API key.
| Protocol | Match criteria | Notes |
|---|---|---|
| Zeroconf | Service type _lametric-api._tcp.local. |
Primary method; most reliable on most networks. |
| SSDP | UPnP device type urn:schemas-upnp-org:device:LaMetric:1 |
Fallback when multicast DNS is blocked. |
| DHCP | Hostname prefix lametric-* or registered MAC |
Last resort; relies on hostname propagation from the DHCP server. |
Each discovered device is registered as a separate config entry, so multiple LaMetric devices on the same network are fully supported.
For the full discovery mechanism, see the LaMetric Device Discovery reference.