-
Notifications
You must be signed in to change notification settings - Fork 839
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
Wrong State for Samsung #1447
Labels
Comments
crankyoldgit
added a commit
that referenced
this issue
Mar 30, 2021
Need to pass byte length to `IRSamsungAc::setRaw()` to handle normal & **extended** messages. Kudos to @yaroshd81 for finding the bug, and offering the solution. Fixes #1447
Thanks for the bug report and the fix. I concur. I clearly oopsed when I wrote that. I also checked for other Protocols in |
crankyoldgit
added a commit
that referenced
this issue
Mar 30, 2021
…sgs (#1448) Need to pass byte length to `IRSamsungAc::setRaw()` to handle normal & **extended** messages. Kudos to @yaroshd81 for finding the bug, and offering the solution. Fixes #1447
crankyoldgit
added a commit
that referenced
this issue
Apr 17, 2021
_v2.7.17 (20210418)_ **[News]** - The library now supports 100 IR protocols! \o/ **[Bug Fixes]** - Fix `IRAcUtils::decodeToState()` for different length Samsung msgs (#1447 #1448) **[Features]** - Fujitsu: Add support for `ARREW4E` model. (#1455 #1456) - Experimental detailed support for Truma A/Cs. (#1440 #1449) **[Misc]** - Fix Arduino library linter issues. (#1451 #1452 #1453 #1460)
Merged
crankyoldgit
added a commit
that referenced
this issue
Apr 18, 2021
## _v2.7.17 (20210418)_ ### **[News]** - The library now supports 100 IR protocols! \o/ **[Bug Fixes]** - Fix `IRAcUtils::decodeToState()` for different length Samsung msgs (#1447 #1448) **[Features]** - Fujitsu: Add support for `ARREW4E` model. (#1455 #1456) - Experimental detailed support for Truma A/Cs. (#1440 #1449) **[Misc]** - Fix Arduino library linter issues. (#1451 #1452 #1453 #1460)
crankyoldgit
added a commit
that referenced
this issue
Apr 19, 2021
_v2.7.17 (20210420)_ **[News]** - The library now supports 100 IR protocols! \o/ **[Bug Fixes]** - Fix `IRAcUtils::decodeToState()` for different length Samsung msgs (#1447 #1448) - Fix issues with installing the library under the Arduino IDE on Win10 & OSX (#1451 #1464) **[Features]** - Fujitsu: Add support for `ARREW4E` model. (#1455 #1456) - Experimental detailed support for Truma A/Cs. (#1440 #1449) **[Misc]** - Fix Arduino library linter issues. (#1451 #1452 #1453 #1460) - Reduce the library's zip download size. (#1451 #1463) - An experiment in using Github Actions to do some of the CI work. (#1462)
FYI, the changes mentioned earlier have been included in the latest release of the library. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have 2 function for return results state AC:
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, because
Mode: 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
The text was updated successfully, but these errors were encountered: