JMan7777
(Markus Jessl)
April 18, 2020, 12:43am
1
Hi,
I was looking around for a device handler to simply control my Mitsubishi air conditioners direct via the SmartThings Classic app while also still being able to use my IR remote as well.
Unfortunately I couldn’t find any solution without using MQTT.
So I finally created my own:
https://github.com/JMan7777/Mitsubishi-Aircon-SmartThings
How it works:
Basically you need an ESP32 board connected to your Mitsubishi air conditioner’s CN105 port.
The device handler than communicates via hubAction’s with the ESP32 which than talks to the air conditioner.
Hope this will help some of you too.
The project is still in an early development stage, so feel free to give feedback for further improvements.
Cheers,
JMan7777
Thanks for sharing. I am looking for a way to control my mitsubishi duct unit with smartthings. I am wondering if the automations work? I have already asked for all the material to start it up I will comment if everything works ok when I receive it and start it up thanks again
Hi, just wondering if this is designed for Mitsubishi Electric or Mitsubishi Heavy Industries units? They are separate companies (actually competing with each other) both producing A/C units and as far as I can tell have different control systems.
Thanks.
JMan7777
(Markus Jessl)
February 9, 2022, 8:46am
4
Hi,
basically the used HeatPump project need to support your AC.
Cheers
JMan7777
(Markus Jessl)
February 9, 2022, 8:52am
5
Hi,
Unfortunately I still did not have the time to implement this project fully in Home Assistant.
At the moment basic on/off functionality and monitoring works with the following example configuration.yaml entries:
switch:
- platform: rest
name: Mitsubishi Aircon Livig Room Power Switch
resource: http://192.168.xxx.xxx/ChangeAirconSettings
state_resource: http://192.168.xxx.xxx/GetAirconSettings
timeout: 30
body_on: '{"POWER": "ON"}'
body_off: '{"POWER": "OFF"}'
is_on_template: '{{ value_json.POWER == "ON" }}'
headers:
Content-Type: application/json
verify_ssl: false
sensor:
- platform: rest
resource: http://192.168.xxx.xxx/GetAirconSettings
name: Mitsubishi Aircon Living Room
json_attributes:
- POWER
- MODE
- TEMP
- FAN
- V_SWING
- H_SWING
- ROOM_TEMP
- OPERATING
- COMP_FREQ
- platform: template
sensors:
mitsubishi_aircon_living_room_power:
friendly_name: 'Power'
unique_id: mitsubishi_aircon_living_room_power
value_template: '{{ states.sensor.mitsubishi_aircon_living_room.attributes["POWER"] }}'
mitsubishi_aircon_living_room_mode:
friendly_name: 'Mode'
unique_id: mitsubishi_aircon_living_room_mode
value_template: '{{ states.sensor.mitsubishi_aircon_living_room.attributes["MODE"] }}'
mitsubishi_aircon_living_room_temp:
friendly_name: 'Temperature'
unique_id: mitsubishi_aircon_living_room_temp
value_template: '{{ states.sensor.mitsubishi_aircon_living_room.attributes["TEMP"] }}'
unit_of_measurement: "°C"
device_class: "temperature"
mitsubishi_aircon_living_room_fan:
friendly_name: 'Fan'
unique_id: mitsubishi_aircon_living_room_fan
value_template: '{{ states.sensor.mitsubishi_aircon_living_room.attributes["FAN"] }}'
mitsubishi_aircon_living_room_vswing:
friendly_name: 'Vertical Swing'
unique_id: mitsubishi_aircon_living_room_vswing
value_template: '{{ states.sensor.mitsubishi_aircon_living_room.attributes["V_SWING"] }}'
mitsubishi_aircon_living_room_hswing:
friendly_name: 'Horizontal Swing'
unique_id: mitsubishi_aircon_living_room_hswing
value_template: '{{ states.sensor.mitsubishi_aircon_living_room.attributes["H_SWING"] }}'
mitsubishi_aircon_living_room_roomtemp:
friendly_name: 'Room Temperature'
unique_id: mitsubishi_aircon_living_room_roomtemp
value_template: '{{ states.sensor.mitsubishi_aircon_living_room.attributes["ROOM_TEMP"] }}'
unit_of_measurement: "°C"
device_class: "temperature"
mitsubishi_aircon_living_room_compfreq:
friendly_name: 'Compressor Frequency'
unique_id: mitsubishi_aircon_living_room_compfreq
value_template: '{{ states.sensor.mitsubishi_aircon_living_room.attributes["COMP_FREQ"] }}'