Skip to main content

mordomus-homeassistant

Home Assistant custom integration for Mordomus / iThink controllers.

This package depends on the mordomus library and ships the custom_components/mordomus tree plus a small installer CLI.

Install

Option A — pip + CLI (recommended)

On the Home Assistant host (or any machine that can write to the HA config dir):

pip install mordomus-homeassistant
mordomus-ha install /config
# Supervised / Container often uses /config
# Core venv default: ~/.homeassistant
# Or: export HA_CONFIG=/path/to/config && mordomus-ha install

Replace an existing install:

mordomus-ha install /config --force

Show where the bundled component lives:

mordomus-ha path

Restart Home Assistant, then:

Settings → Devices & services → Add integration → Mordomus

Option B — manual copy

pip install mordomus-homeassistant
python -c "import mordomus_homeassistant as m; print(m.COMPONENT_DIR)"
# copy that directory to <config>/custom_components/mordomus

Option C — HACS / symlink (development)

ln -s /path/to/mordomus/home-assistant/custom_components/mordomus \
  /config/custom_components/mordomus
pip install -e /path/to/mordomus   # library

Features

Platform What it maps
Light Illumination devices (dt=1) with brightness 0–100
Cover Blinds / curtains (dt=2) with position 0–100
Switch Equipments, electric valves, HVAC on/off, sirens
Climate Room climate zones (setpoint, mode, on/off)
Sensor Analog sensors, exterior temperature, system version
Binary sensor Alarms (intrusion / technical / tamper), presence
Button Quick-menu actions ($lights, $blinds, …)

Also includes:

  • UI config flow (host, port, user, password, poll interval)
  • Options flow to change poll interval
  • Re-auth + reconfigure flows
  • DataUpdateCoordinator polling (default 10s)
  • Device registry hierarchy (hub → rooms/devices)
  • Diagnostics dump
  • Services: mordomus.refresh, mordomus.set_device_value

Configuration

Field Default Notes
Host Controller IP / hostname
Port 8888 HTTP API port
Username / password Same as web UI
Poll interval 10 s Options flow; min 5, max 300

Services

service: mordomus.refresh
data: {}
service: mordomus.set_device_value
data:
  code: MDO17
  value: 100

Publish

# from repo root
export UV_PUBLISH_TOKEN=pypi-...
./scripts/publish.sh ha
# or
cd home-assistant && uv build && uv publish

PyPI: https://pypi.org/project/mordomus-homeassistant/

Notes

  • The controller is local polling only (no push).
  • Some API areas (multimedia, energy, emap, video) may return permission_denied / license_required depending on the license.
  • Auth uses the reverse-engineered MD5 session login from the web UI.
  • manifest.json requires mordomus>=0.1.0,<0.2.0 so Home Assistant installs the library automatically.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mordomus_homeassistant-0.1.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mordomus_homeassistant-0.1.0-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file mordomus_homeassistant-0.1.0.tar.gz.

File metadata

  • Download URL: mordomus_homeassistant-0.1.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mordomus_homeassistant-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9836f6c9eda44ff87ecff891dc1b5a1a10b660e658e3f80b92c27e252e032f53
MD5 ab42a46173fec227a48ededa6c2d6623
BLAKE2b-256 da7d65642d45ee5f88a2fc4edcd6925b547a1980cc48005e637053437d281a1a

See more details on using hashes here.

File details

Details for the file mordomus_homeassistant-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mordomus_homeassistant-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mordomus_homeassistant-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e2bad287a4c458d9f8fc34ddb71feb5307fd16be66a176eba6f323fcf14f9f6
MD5 24edeaba6dee17c93e49532429043f69
BLAKE2b-256 34c8f1aea8ea3cdfab579ebdfd6bb2e3d2e880f1886b550b438ee97f29837a3f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page