-
Notifications
You must be signed in to change notification settings - Fork 889
Closed
Labels
Description
You have 2 function for return results state AC:
- IRAcUtils::resultAcToString
- IRAcUtils::decodeToState
If used 1 function after recived command, we have nice result:
resultAcToString:Power: On, Mode: 1 (Cool), Temp: 22C, Fan: 4 (Med), Swing: Off, Beep: Off, Clean: Off, Quiet: Off, Powerful: Off, Breeze: Off, Light: Off, Ion: Off
But if used 2 function, we have bad results, becauseMode: 0 (Auto), Temp: 16C, Fan: 0 (Auto)(All parameters have 0, because Temp: 16C = (int)0)
I fixed problem when analize 1 function with 2:
ac.setRaw(decode->state, decode->bits / 8);//This code in 1 function where all good working //ac.setRaw(decode->state);//This code in 2 function where not working
crankyoldgitcrankyoldgitcrankyoldgit