Home Assistant integration with MirAIe air conditioners using NodeRed over MQTT
Since there is no official HA integration with Panasonic MirAIe air conditioners, this node will provide a bridge between the MirAIe MQTT broker and the local MQTT broker receieving updates from the device and updating the state on HA as well as accepting commands from HA to control the device.
Authenticate over http using the registered mobile number and password
Once authenticated, the list of devices is pulled down exposed to HA using MQTT discovery.
- Install the node
- Add the node to a flow and configure
- Search for "climate: entities on HA
- Show debug messages to help with troubleshooting
- The MQTT discovery prefix is hard coded to "homeassisstant", this should be configurable on the node.
- Follow coding standards and best practices
NOTE: Home Assistant HVAC don't have powerful mode option, so using option heat instead of that, setting climate.hvac to heat will turn on powerful mode in the AC.
For UI use HACS library simple thermostat and make a card using below yaml code
type: custom:simple-thermostat
entity: climate.panasonic_ac
layout:
mode:
headings: false
icons: true
names: true
step_size: '1'
control:
hvac:
auto:
name: false
cool:
name: false
dry:
name: false
fan_only:
name: false
heat:
name: false
icon: mdi:snowflake-variant
'off':
name: false
fan:
auto:
icon: mdi:fan-auto
name: false
low:
icon: mdi:fan-speed-1
name: false
medium:
icon: mdi:fan-speed-2
name: false
high:
icon: mdi:fan-speed-3
name: false
swing:
'0':
icon: mdi:autorenew
name: false
'1':
icon: mdi:arrow-left-thin
name: false
'2':
icon: mdi:arrow-bottom-left-thin
name: false
'3':
icon: mdi:arrow-down-thin
name: false
'4':
icon: mdi:arrow-bottom-right-thin
name: false
'5':
icon: mdi:arrow-right-thin
name: false

