-
-
Notifications
You must be signed in to change notification settings - Fork 546
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
Xiaomi Smartmi Fresh Air System XFXTDFR02ZM. upgrade version of XFXT01ZM with heater. #791
Comments
Thanks for your excellent report! The temperature issue can be fixed easily. |
Could you describe the difference of both devices? Is the temperature property of both devices broken? Have both devices am heater? |
I can access the ubuntu server on my local network if necessary. |
var isVa4 = _miot.Device.model === 'zhimi.airfresh.va4'; var ptcValue = value === true ? "on" : "off"; |
@wisesokol Could you provide the output/response of:
I want to know the raw values of "ptc_state" and "temp_dec". |
osboxes@osboxes:~$ miiocli device --ip 192.168.1.78 --token d1111 raw_command get_prop "['power','temp_dec','aqi','average_aqi','co2','buzzer','child_lock','humidity','led_level','mode','motor1_speed','use_time','ntcT','app_extra','f1_hour_used','filter_life','f_hour','favorite_level','led','ptc_state']" |
This is the response of model va2 or va4? It looks like va2 because "ptc_state" is None. |
va4. Now i use only va4 model. |
Ah, the device cannot provide more than 15 properties per request. Please provide the response of:
|
[33.53, None, 141, None, None, None, None, 'off'] |
Perfect! |
By the way, For va2 model- va2 integration is correct work. Temperature shows correct. |
@wisesokol was the temperature already correct before that PR, i.e., it is just the va4 that is reporting the temperature differently? |
temp_dec: isVa4 ? this.state.temp_dec : this.state.temp_dec / 10, |
I will update the PR. |
Repeat. |
Hi. |
Before submitting a new request, use the search to see if there is an existing issue for the device.
Device information:
Use
miiocli device --ip <ip address> --token <token>
.Additional context
Hi. I have XFXT01ZM. I use zhimi.airfresh.va2 model/ Work fine.
Today i am upgrade my fan to XFXTDFR02ZM.
With zhimi.airfresh.va2 setup work fine, but:
The text was updated successfully, but these errors were encountered: