Skip to content
Home Assistant TestFlight
Lighting

mega

andvikt/mega_hacs · vv1.1.7

HACSConnection not stated

MegaD HomeAssistant integration

In Apple Home through HomeKit Bridge

What HomeKit Bridge makes of each kind of entity this integration creates, read from its source code. A device only gets the ones that apply to it.

EntityShows up asNote
lightLight
switchSwitch or outlet
binary_sensorSensor (motion, contact, leak, smoke…)
sensorSensor (temperature, humidity, air quality…)

What people report

Russian MegaD controllers work through the integration, but the maintainer is mostly inactive. Binary-sensor invert and expander input states are recurring complaints.

  • Works1
  • Partly works2
  • Requested1
  • Won’t be supported1
DeviceIn Home AssistantIn Apple HomeWhat they saidSource
MegaD-2561 controllerWorks LocalWorks with 16I-XT expander ports once the INT port is configured
Saved copy
Описание MegaD 2561 + расширитель MegaD-16I-XT. Датчик движения подключен к порту 6 расширителя. При включении, датчик движения находится в состоянии ON, при обнаружении движения переходит в состояние OFF. Значения корректны в интерфейсе меги, но не отражаются в Hass: 1. При инициализации, состяние binary_sensor'а - off 2. При обнаружении движения, равно как и по таймауту - состояние не меняется. Версии систем Enviroment: Hass OS + Raspberry HA version: core-2021.8.8 mega_hacs version: 1.0.8 megad firmware version: 4.51b7 используется mqtt: false Ожидаемое поведение Исходное состояние сенсора …

Excerpt saved from GitHub on 2026-10-23.

Issue #54 · 2021-08
MegaD-16I-XT input expanderPartly works LocalPort states wrong at startup unless the INT port notifies the server
Saved copy
Описание К 2561 подключены 2 расширителя 16I-XT к портам 31 и 32. Интеграция неверно определяет состояние сенсоров. Версии систем Enviroment: raspberry/linux/windows/macos/docker HA version: 2023.7.3 mega_hacs version: 1.32.1 megad firmware version: 4.59b7 используется mqtt: false Screenshots LOG 2023-07-27 13:46:38.227 DEBUG (MainThread) [custom_components.mega.mega-43] poll 2023-07-27 13:46:38.228 DEBUG (MainThread) [custom_components.mega.mega-43] request: http://192.168.1.43/sec/?pt=31&cmd=get 2023-07-27 13:46:38.253 DEBUG (MainThread) [custom_components.mega.mega-43] response …

Excerpt saved from GitHub on 2026-10-23.

Issue #150 · 2023-07
MegaD-16U-XT PWM expanderPartly works LocalPWM ports imported as dimmable even if set otherwise; PWM-off PR still open
Saved copy
Столкнулся с такой проблемой - порты универсальных расширителей с поддержкой ШИМ, в моем случае MegaD-16U-XT импортировались в home assistant с поддержкой диммирования, а настроены в самом MegaD они были как switch (Type - SW), т.к. установлены туда модули с обычными реле. При этом из HA было невозможно ими управлять, т.к. включение даже на 100% посылало команду с максимальным значением для ШИМ порта (4095 вроде), вместо 1. Поэтому MegaD не реагировала на эти команды Я добавил возможность выключить вручную поддержку ШИМ у портов через кастомизацию в конфиге для доменов light и switch путем …

Excerpt saved from GitHub on 2026-10-23.

PR #172 · 2024-03
OPT3001 I2C light sensor and access-control readersRequestedAsked to be added; still open
Saved copy
Возможно ли добавить - Датчик освещенности OPT3001 (цифровой интерфейс I2C), и считыватели СКУД.

Excerpt saved from GitHub on 2026-10-23.

Issue #154 · 2023-09
MegaD binary sensor invert (motion sensor on P31)Won’t be supportedInvert only works on relays, not binary sensors; owner has no time
Saved copy
Описание Не могу понять причину по которой не инвертируются значения с бинарных датчиков. Проблема с датчиком движения на порту P31 ID:200 Версии систем Enviroment: linux HA version: 2022.9.2 mega_hacs version: 1.1.4 megad firmware version: 4.56b9 используется mqtt: false Ожидаемое поведение При получении значения ON, при invert: true должно выставляться off в HA Screenshots ``` 2022-09-13 21:41:40.002 DEBUG (MainThread) [custom_components.mega.200] poll 2022-09-13 21:41:40.002 DEBUG (MainThread) [custom_components.mega.200] request: http://192.168.100.200/sec/?cf=7&stime=21:41:40 2022-09-13 …

Excerpt saved from GitHub on 2026-10-23.

Issue #126 · 2022-09

Gathered from GitHub issues, pull requests, discussions and docs, and from r/homeassistant. These are individual reports, so check the linked thread and the date before you buy.

How it connects

Connection not stated

The integration doesn’t declare how it connects.

Details

Installs (analytics)45 (0.01%)
GitHub stars135
Latest versionv1.1.7 (2024-03-12)
Set up in the UIYes
Maintainers@andvikt

Notable forks

Forks with stars, or with code pushed at least 90 days after the original’s last push. Useful when the original goes quiet.

ForkStarsLast pushDescription
Pshatsillo/mega_hacs Newer code★ 222025-09-16MegaD HomeAssistant integration
stas251/mega_hacs Newer code★ 42026-03-13MegaD HomeAssistant integration - для тех у кого престала работать интеграция после обновления 2026.3.1
anpavlov/mega_hacs Newer code★ 12024-10-22MegaD HomeAssistant integration
volodymyr-matyash/mega_hacs Newer code★ 12026-08-16MegaD HomeAssistant integration
den-dmitriev/mega_hacs Newer code★ 02026-05-25MegaD HomeAssistant integration

In ReReHome

Whatever HomeKit Bridge shares reaches Apple Home as normal HomeKit accessories behind your Home Assistant bridge, so ReReHome shows and controls them like any other.

Bridges get their own settings page listing the accessories behind them.