Skip to content

Convert common irsend to specific vendor #1982

Answered by crankyoldgit
beckmx asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, there doesn't exist a convenient method to convert a stdAc::state_t into a specific IRWhirlpoolAC object state. There just hasn't been a pressing need for it, or a practical use case for it.

The best I can suggest is copy the code from:


Lines 2731 to 2768 in e52495f

/// Send a Whirlpool A/C message with the supplied settings.
/// @param[in, out] ac A Ptr to an IRWhirlpoolAc object to use.
/// @param[in] model The A/C model to use.
/// @param[in] on The power setting.
/// @param[in] mode The operation mode setting.
/// @param[in] degrees The temperature setting in degrees.
/// @…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
Comment options

Answer selected by beckmx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants