hillaliy / homebridge-midea-air

Homebridge plugin for Midea units
MIT License
70 stars 22 forks source link

update value on current humidity work so so #108

Open hardlock75 opened 1 year ago

hardlock75 commented 1 year ago

if a start my deshumidifier the value of curent humidity work well and target humidity work well what does't work is the polling current humidity at 30 second, the refresh does't work. I try to change de refresh at 15 sec or 1 min but no effect.

in my NetHome plus the value of curent humidity is 40% in my HomeKit is 48% exemple.

when I stop the déshumidifier the value of curent humidity updating well. if my dehumidifier is on, and I change fan speed, current humidity value updating well. In my Nethome plus and HomeKit curent humidity is same.

[14/12/2022, 23:57:12] [midea-air] Triggered SET Active To: 0 [14/12/2022, 23:57:12] [midea-air] [sendUpdateToDevice] Generated a new command to set targetHumidity to: 40 [14/12/2022, 23:57:12] [midea-air] [sendUpdateToDevice] Header + Command: [90,90,1,16,90,0,32,0,1,0,0,0,189,179,57,14,12,5,20,20,29,129,0,0,0,16,0,0,0,4,2,0,0,1,0,0,0,0,0,0,170,33,161,0,0,0,0,0,3,2,72,0,1,60,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,120,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] [14/12/2022, 23:57:13] [midea-air] Send command to: Déshumidificateur (147334558322406) [sendUpdateToDevice] attempt 1/2 success!

At this point a stop deshumifier

[14/12/2022, 23:57:13] [midea-air] Current Humidity: 40 [14/12/2022, 23:57:13] [midea-air] Target humidity set to: 40 [14/12/2022, 23:57:13] [midea-air] Water level at: 0 [14/12/2022, 23:57:13] [midea-air] Power State set to: 0 [14/12/2022, 23:57:13] [midea-air] Operational Mode set to: 1 [14/12/2022, 23:57:13] [midea-air] Fan Speed set to: 60 [14/12/2022, 23:57:13] [midea-air] Full data: 11001000,0,1,111100,1111111,1111111,0,101000,0,10000,0,0,0,0,0,110010,101000,1011000,0,0,0,0,0,0,1,1001001,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 [14/12/2022, 23:57:13] [midea-air] [sendUpdateToDevice] Send command to device: Déshumidificateur (147334558322406) [14/12/2022, 23:57:13] [midea-air] [sendUpdateToDevice] Fetching again the state of the device after setting new parameters... [14/12/2022, 23:57:13] [midea-air] Updating accessory: Déshumidificateur (147334558322406) [14/12/2022, 23:57:13] [midea-air] [updateValues] Header + Command: 90,90,1,0,89,0,32,0,1,0,0,0,39,36,17,9,13,10,18,20,218,73,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,170,32,161,0,0,0,0,0,0,3,65,129,0,255,3,255,0,2,0,0,0,0,0,0,0,0,0,0,0,0,11,36,164,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 [14/12/2022, 23:57:17] [midea-air] Triggered SET Active To: 1 [14/12/2022, 23:57:17] [midea-air] [sendUpdateToDevice] Generated a new command to set targetHumidity to: 40 [14/12/2022, 23:57:17] [midea-air] [sendUpdateToDevice] Header + Command: [90,90,1,16,90,0,32,0,1,0,0,0,189,179,57,14,12,5,20,20,29,129,0,0,0,16,0,0,0,4,2,0,0,1,0,0,0,0,0,0,170,33,161,0,0,0,0,0,3,2,72,1,1,60,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,119,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] [14/12/2022, 23:57:17] [midea-air] Send command to: Déshumidificateur (147334558322406) [sendUpdateToDevice] attempt 1/2 success!

At this point a start dehumidifier

[14/12/2022, 23:57:17] [midea-air] Current Humidity: 40 [14/12/2022, 23:57:17] [midea-air] Target humidity set to: 40 [14/12/2022, 23:57:17] [midea-air] Water level at: 0 [14/12/2022, 23:57:17] [midea-air] Power State set to: 1 [14/12/2022, 23:57:17] [midea-air] Operational Mode set to: 1 [14/12/2022, 23:57:17] [midea-air] Fan Speed set to: 60 [14/12/2022, 23:57:17] [midea-air] Full data: 11001000,1,1,111100,1111111,1111111,0,101000,0,10000,0,0,0,0,0,110010,101000,1011000,0,0,0,0,0,0,10010011,10110110,0,0,0,0,0,0,0,0,0,0,0,0,0,0 [14/12/2022, 23:57:17] [midea-air] [sendUpdateToDevice] Send command to device: Déshumidificateur (147334558322406) [14/12/2022, 23:57:17] [midea-air] [sendUpdateToDevice] Fetching again the state of the device after setting new parameters... [14/12/2022, 23:57:17] [midea-air] Updating accessory: Déshumidificateur (147334558322406) [14/12/2022, 23:57:17] [midea-air] [updateValues] Header + Command: 90,90,1,0,89,0,32,0,1,0,0,0,39,36,17,9,13,10,18,20,218,73,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,170,32,161,0,0,0,0,0,0,3,65,129,0,255,3,255,0,2,0,0,0,0,0,0,0,0,0,0,0,0,11,36,164,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 [14/12/2022, 23:57:23] [midea-air] Send command to: Déshumidificateur (147334558322406) [updateValues] attempt 1/2 returned error: The asyn reply does not exist (3176) [14/12/2022, 23:57:25] [midea-air] Updating accessory: Déshumidificateur (147334558322406) [14/12/2022, 23:57:25] [midea-air] [updateValues] Header + Command: 90,90,1,0,89,0,32,0,1,0,0,0,39,36,17,9,13,10,18,20,218,73,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,170,32,161,0,0,0,0,0,0,3,65,129,0,255,3,255,0,2,0,0,0,0,0,0,0,0,0,0,0,0,11,36,164,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 [14/12/2022, 23:57:27] [midea-air] Send command to: Déshumidificateur (147334558322406) [updateValues] attempt 1/2 returned error: The asyn reply does not exist (3176)

hillaliy commented 1 year ago

https://github.com/hillaliy/homebridge-midea-air#-dehumidifier-relative-humidity

hardlock75 commented 1 year ago

https://github.com/hillaliy/homebridge-midea-air#-dehumidifier-relative-humidity

the problem is the reporting humidity sensor.. look NetHome Plus

IMG_0773

and look HomeKit

Capture d’écran, le 2022-12-31 à 03 48 06

IMG_0774

but if i stop humidifier and restart humidifier with apple HomeKit updating curent humidity work well.

Capture d’écran, le 2022-12-31 à 03 27 55

in think the problem ils polling humidity on the room. he doesn't pull automatically

Capture d’écran, le 2022-12-31 à 03 48 06
patrickross2412 commented 1 year ago

This happens to me as well. Current Relative Humidity doesn't update on Homebridge or the Apple Home app unless I turn off/turn on the dehumidifier.