Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add zhimi.aircondition.ma1 support #39

Open
Uptobillion opened this issue Nov 18, 2018 · 9 comments
Open

Add zhimi.aircondition.ma1 support #39

Uptobillion opened this issue Nov 18, 2018 · 9 comments

Comments

@Uptobillion
Copy link

Uptobillion commented Nov 18, 2018

I get some useful data from my new xiaomi aircondition on wireshark
So upgrade it and thanks lot!
The temperature's range is from 16.0℃ to 32.0℃
the display brightness level is from 0to5

zhimi_aircondition.txt
img_4297
img_4296
img_4298

@Uptobillion
Copy link
Author

Uptobillion commented Nov 18, 2018

it's a new device from xiaomi
i changed the temperature from 32℃to 31.8 31.6....
and i cant use python at all

@syssi
Copy link
Owner

syssi commented Nov 18, 2018

Plesse provide the model name of the device!

@Uptobillion
Copy link
Author

Uptobillion commented Nov 18, 2018

On my router:”zhimi_aircondition”
Card in mijia app:”MIJIA Smart Air Conditioner (Energy Efficiency Level 3)”

@syssi
Copy link
Owner

syssi commented Nov 18, 2018

Please use miiocli of python-miio to retrieve the model name by: miiocli device --ip IP --token TOKEN info

@Uptobillion
Copy link
Author

Uptobillion commented Nov 19, 2018

that's it!
Model: zhimi.aircondition.ma1
Hardware version: ESP32
Firmware version: 1.3.2
default

@syssi syssi changed the title I get some useful data from my new xiaomi aircondition on wireshark Add zhimi.aircondition.m1 support Nov 19, 2018
@syssi
Copy link
Owner

syssi commented Nov 19, 2018

Properties (max. 16 per request): "mode", "lcd_auto", "lcd_level", "volume", "idle_timer", "open_timer", "power", "temp_dec", "st_temp_dec", "humidity", "speed_level", "vertical_swing", "ptc", "ptc_rt", "silent", "vertical_end", "vertical_rt", "ele_quantity", "ex_humidity", "remote_mac", "htsensor_mac", "speed_level", "vertical_swing", "ht_sensor", "comfort", "ot_run_temp", "ep_temp", "es_temp", "he_temp", "ot_humidity", "compressor_frq", "motor_speed"

{'mode': 'cooling',
'lcd_auto': 'off',
'lcd_level': 1,
,'volume': 'off',
'idle_timer': 0,
'open_timer': 0,
'power': 'on',
'temp_dec': 244,
'st_temp_dec': 320,
'humidity': null,
'speed_level': 5,
'vertical_swing': 'on',
'ptc': 'off',
'ptc_rt': 'off',
'silent': 'off',

'vertical_end': 60,
'vertical_rt': 19,
'ele_quantity': null,
'ex_humidity': null,
'remote_mac': null,
'htsensor_mac': null,
'speed_level': 5,
'vertical_swing': 'on',
'ht_sensor': null,

'comfort': 'off',
'ot_run_temp': 7,
'ep_temp': 27,
'es_temp': 13,
'he_temp': 39,
'ot_humidity': null,
'compressor_frq': 0,
'motor_speed': 1000}

Methods:

set_mode ["heat"]

set_temperature [318]
set_temperature [317]
set_temperature [316]

set_spd_level [0]
set_spd_level [1]
set_spd_level [2]
set_spd_level [3]
set_spd_level [4]
set_spd_level [5]
set_spd_level [5]
set_spd_level [5]

set_ver_range [0,20]
set_ver_range [0,40]
set_ver_range [0,40]
set_ver_range [0,40]
set_ver_range [0,60]

set_vertical ["off"]

set_ver_pos [17]
set_ver_pos [40]

set_ptc ["on"]
set_ptc ["off"]

set_idle_timer [1800]
set_idle_timer [2100]
set_idle_timer [0]

set_volume_sw ["on"]
set_volume_sw ["off"]

set_silent ["on"]
set_silent ["off"]

set_lcd [2]
set_lcd [3]
set_lcd [3]
set_lcd [3]
set_lcd [4]
set_lcd [4]
set_lcd [4]
set_lcd [5]
set_lcd [0]

set_mode ["wind"]
set_mode ["arefaction"]

set_comfort ["on"]

set_power ["off"]

@Uptobillion Uptobillion changed the title Add zhimi.aircondition.m1 support Add zhimi.aircondition.ma1 support Nov 22, 2018
@syssi
Copy link
Owner

syssi commented Jan 2, 2019

@Uptobillion Could you provide some details:

  • Can the eletric auxiliary heating be enabled by set_ptc?
  • Can the night mode be enabled by set_silent?
  • What's the command/paramter for adjust wind speed: auto?
  • Could you provide the command for lcd_auto on/off? What does it mean?
  • Do you know the meaning of the properties: ptc_rt, ot_run_temp, ep_temp, es_temp, es_temp?

@Uptobillion
Copy link
Author

Uptobillion commented Jan 9, 2019

@syssi here is the anwser:

  1. Yes
  2. Yes
  3. the value 0-4 means level 1-5, the value 5 means auto.
  4. I could't find this option on my app. but when I open the night mode option, the lcd level will set to 1.
  5. ptc_rt “on” means eletric auxiliary heating is working. ot_run_temp, ep_temp, es_temp Maybe equipment temperature? estimate temperature? I dont know...I cant find them on my app.

I know there is a temperature but not a humidity(null) in the air condition.

@Uptobillion
Copy link
Author

Uptobillion commented Jan 9, 2019

@syssi here is the anwser:

1. Yes

2. Yes

3. the value 0-4 means 1-5, the value 5 means auto.

4. I could't find this option on my app. but when I open the night mode option, the lcd level will set to 1.

5. ptc_rt “on” means eletric auxiliary heating is working. ot_run_temp, ep_temp, es_temp Maybe equipment temperature? estimate temperature? I dont know...I cant find them on my app.

I know there is a temperature but not a humidity(null) in the air condition.

the operation:

night mode: close→open→close
wind speed: auto→5→auto
lcd: 5→4→...1
aircondition: off→on
eletric auxiliary heating: close→open→close

default
default

新建文本文档 (2).txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants