Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

160 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kiri Bridge

CN105 HomeKit controller for Mitsubishi heat pumps.

Kiri Bridge is an ESP32 firmware and hardware kit for bringing supported Mitsubishi heat pumps into Apple HomeKit through the indoor unit's CN105 port. It is local-first, browser-provisioned, and designed to be recoverable without command line tools.

What It Does

  • Full CN105 control for power, mode, temperature, fan, and supported airflow axes.
  • Native local HomeKit without Home Assistant, Homebridge, or a cloud service.
  • Physical-remote state synchronization and confirmed CN105 commands.
  • Configurable single/separate HomeKit airflow presentation, supported modes, tilt services, and independent Swing switches.
  • Responsive local WebUI at http://<device-ip>:8080/ with diagnostics and persistent logs.
  • Guided WiFi setup, validated .kiri OTA, and browser-based USB recovery.
  • Bounded on-device Lua automation with a public editor and local run history.
  • Atom Lite and AtomS3 Lite hardware support.

See FEATURES.md for the complete feature guide, including advanced HomeKit airflow mappings and on-device Lua automation. Scripts can be prepared in the Kiri Automation Editor; the versioned API contract is documented in AUTOMATION.md.

Hardware Kit

The intended user path assumes a prebuilt Kiri Bridge kit:

  • M5Stack ATOM Lite or AtomS3 Lite controller
  • one CN105 cable
  • pre-flashed Kiri Bridge installer or firmware
  • browser-based setup and recovery flow

Order links are not public yet. The website currently shows an order interest modal with a contact email.

For Buyers

If you bought a Kiri Bridge, start with the website:

Buyer-facing setup, recovery, and USB update instructions live on the website so the docs only need to be maintained in one place.

Firmware Releases

Release packages are published as .kiri files:

  • kiri_installer_<version>.kiri: recovery and first-time restore path.
  • kiri_bridge_<version>.kiri: production firmware.

Users should download release packages from https://github.com/DickyT/kiri-homekit/releases/. Building from source is for developers and is not required for normal installation.

Current Status

Kiri Bridge is actively developed. The current ESP-IDF firmware includes:

  • real CN105 UART transport enabled by default
  • Apple HomeKit bridge
  • local WebUI
  • BLE WiFi provisioning
  • installer/recovery firmware
  • browser flasher and provisioning pages
  • SPIFFS-backed diagnostics and logs

Final long-run validation across more Mitsubishi indoor unit models is still ongoing.

Repository Layout

Development Notes

This project targets ESP-IDF and Espressif ESP HomeKit SDK. The production firmware and installer firmware intentionally have separate WebUIs today:

  • production WebUI lives in components/web/pages
  • installer WebUI is embedded in debug_apps/cn105_probe/main/app_main.cpp

When changing settings, OTA, HomeKit pairing, safety copy, or CN105 behavior, check whether both UIs need the same behavior.

Support

For installation and hardware questions, see SUPPORT.md.

For bug reports, please use GitHub Issues and include firmware version, hardware details, Mitsubishi indoor unit model if known, and logs when available.

Contributing

Contributions are welcome. Please read CONTRIBUTING.md before opening a pull request.

License

Kiri Bridge firmware source is licensed under the GNU General Public License version 3. See LICENSE.

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages