This integration allows you to control your Panasonic MirAIe air conditioners through Home Assistant using the official MirAIe API and MQTT protocol.
- Control multiple Panasonic MirAIe air conditioners
- Set target temperature
- Change operation modes (Auto, Cool, Heat, Dry, Fan Only)
- Adjust fan speed (Auto, Low, Medium, High, Quiet)
- Control swing mode (Off, Vertical, Horizontal, Both)
- Monitor current room temperature
- View and control additional features:
- NanoeTM X (On/Off) - controllable via preset modes and service
- Powerful mode (On/Off) - controllable via preset modes and service
- Economy mode (On/Off) - controllable via preset modes and service
- Monitor filter status:
- Dust level
- Cleaning required indicator
- View device errors and warnings
- Home Assistant version 2024.1.0 or higher
- A Panasonic MirAIe account with registered devices
The easiest way to install the hass-panasonic-miraie is through HACS (Home Assistant Community Store).
If you haven't installed HACS yet, follow the official installation guide to set it up.
-
Open your Home Assistant instance.
-
Navigate to HACS in the sidebar.
-
Click on the Integrations tab.
-
Click on the three-dot menu (⋮) in the top right corner.
-
Select Custom repositories.
-
In the Add custom repository URL field, enter:
https://github.com/chrissmartin/hass-panasonic-miraie
-
In the Category dropdown, select Integration.
-
Click Add.
- After adding the repository, search for Panasonic MirAIe in HACS.
- Click on the integration to view details.
- Click Download to install the integration.
After installation, you need to restart Home Assistant for the integration to be recognized.
- Go to Settings > System > Restart.
- Click Restart and wait for Home Assistant to restart.
If you prefer to install the integration manually, follow these steps:
-
Download the Integration
- Clone or download the
hass-panasonic-miraie
repository from GitHub.
- Clone or download the
-
Copy to Home Assistant
-
Place the
hass-panasonic-miraie
directory inside thecustom_components
directory of your Home Assistant configuration folder. -
Your directory structure should look like this:
└── config/ ├── configuration.yaml └── custom_components/ └── panasonic_miraie ├── __init__.py ├── api.py ├── climate.py ├── config_flow.py ├── const.py ├── icons │ └── logo.png ├── manifest.json ├── mqtt_handler.py └── translations └── en.json
-
If the
custom_components
directory doesn't exist, create it.
-
-
Restart Home Assistant
- After copying the files, restart Home Assistant to recognize the new integration.
- In the Home Assistant UI, go to "Configuration" -> "Integrations".
- Click the "+" button to add a new integration.
- Search for "Panasonic MirAIe" and select it.
- Enter your MirAIe account credentials (user ID/email and password).
- The integration will automatically discover and add your MirAIe devices.
After configuration, your Panasonic MirAIe devices will appear as climate entities in Home Assistant. You can control them through the Home Assistant UI, Lovelace cards, or include them in automations and scripts.
Each MirAIe device will have the following attributes:
current_temperature
: The current room temperaturetarget_temperature
: The set target temperaturehvac_mode
: The current operation mode (off, auto, cool, heat, dry, fan_only)fan_mode
: The current fan speed (auto, low, medium, high, quiet)swing_mode
: The current swing setting (off, vertical, horizontal, both)preset_mode
: The current preset mode (None, Nanoe G, Powerful, Economy, Nanoe + Powerful, Nanoe + Economy)nanoe_g
: Status of NanoeTM X feature (on/off)powerful_mode
: Status of Powerful mode (on/off)economy_mode
: Status of Economy mode (on/off)filter_dust_level
: Current dust level in the filterfilter_cleaning_required
: Indicator if filter cleaning is requirederrors
: Any current device errorswarnings
: Any current device warnings
You can control the special features through preset modes in the climate entity UI:
- None: All special features disabled
- Nanoe G: Only NanoeTM X feature enabled - improves air quality
- Powerful: Only Powerful mode enabled - maximum cooling/heating performance
- Economy: Only Economy mode enabled - energy-saving operation
- Nanoe + Powerful: Both NanoeTM X and Powerful mode enabled
- Nanoe + Economy: Both NanoeTM X and Economy mode enabled
Each preset mode includes an appropriate icon in the UI for easy identification.
Note: Powerful mode and Economy mode cannot be active simultaneously, so attempting to set both will prioritize Powerful mode.
The integration also provides the following services for direct control:
service: panasonic_miraie.set_nanoe
target:
entity_id: climate.your_ac_name
data:
state: true # or false to turn off
service: panasonic_miraie.set_powerful_mode
target:
entity_id: climate.your_ac_name
data:
state: true # or false to turn off
service: panasonic_miraie.set_economy_mode
target:
entity_id: climate.your_ac_name
data:
state: true # or false to turn off
You can also target multiple entities:
service: panasonic_miraie.set_nanoe
target:
entity_id:
- climate.bedroom_ac
- climate.living_room_ac
data:
state: true
- If you encounter connection issues, ensure your Home Assistant instance has a stable internet connection.
- Check the Home Assistant logs for any error messages related to the Panasonic MirAIe integration.
- If you experience authentication problems, try to log out and log in again in the MirAIe mobile app, then reconfigure the integration in Home Assistant.
Contributions to improve the integration are welcome! Please feel free to submit pull requests or open issues for any bugs or feature requests on the GitHub repository.
This project is licensed under the MIT License - see the LICENSE file for details.
This integration is not officially affiliated with or endorsed by Panasonic. Use at your own risk.